bundles / astropy 7.0.1 / astropy / io / fits / hdu / hdulist / HDUList / __init__
function
astropy.io.fits.hdu.hdulist:HDUList.__init__
source: /astropy/io/fits/hdu/hdulist.py :245
Signature
def __init__ ( self , hdus = [] , file = None ) Summary
Construct a HDUList object.
Parameters
hdus: BaseHDU or sequence thereof, optionalThe HDU object(s) to comprise the HDUList. Should be instances of HDU classes like ImageHDU or BinTableHDU.
file: file-like, bytes, optionalThe opened physical file associated with the HDUList or a bytes object containing the contents of the FITS file.
Aliases
-
astropy.io.fits.HDUList.__init__