read_fits

hcipy.util.read_fits(filename)

Read an array from a fits file.

Parameters
filenamestring

The filename of the file to read. This can include a path.

Returns
ndarray

The ndarray read from the fits file.