bundles / astropy latest / astropy / io / fits / hdu / hdulist / HDUList / close
function
astropy.io.fits.hdu.hdulist:HDUList.close
source: /astropy/io/fits/hdu/hdulist.py :1049
Signature
def close ( self , output_verify = exception , verbose = False , closed = True ) Summary
Close the associated FITS file and memmap object, if any.
Parameters
output_verify: strOutput verification option. Must be one of
"fix","silentfix","ignore","warn", or"exception". May also be any combination of"fix"or"silentfix"with"+ignore",+warn, or+exception" (e.g. ``"fix+warn"). Seeastropy:verifyfor more info.verbose: boolWhen
True, print out verbose messages.closed: boolWhen
True, close the underlying file object.
Aliases
-
astropy.io.fits.HDUList.close