bundles / astropy latest / astropy / io / fits / hdu / nonstandard / FitsHDU / fromfile
classmethod
astropy.io.fits.hdu.nonstandard:FitsHDU.fromfile
source: /astropy/io/fits/hdu/nonstandard.py :41
Summary
Like FitsHDU.fromhdulist(), but creates a FitsHDU from a file on disk.
Parameters
filename: strThe path to the file to read into a FitsHDU
compress: bool, optionalGzip compress the FITS file
Aliases
-
astropy.io.fits.FitsHDU.fromfile