bundles / astropy latest / astropy / io / fits / convenience / info
function
astropy.io.fits.convenience:info
source: /astropy/io/fits/convenience.py :803
Signature
def info ( filename , output = None , ** kwargs ) Summary
Print the summary information on a FITS file.
Extended Summary
This includes the name, type, length of header, data shape and type for each HDU.
Parameters
filename: path-like or file-likeFITS file to obtain info from. If opened, mode must be one of the following: rb, rb+, or ab+ (i.e. the file must be readable).
output: file, bool, optionalA file-like object to write the output to. If
False, does not output to a file and instead returns a list of tuples representing the HDU info. Writes tosys.stdoutby default.**kwargsAny additional keyword arguments to be passed to astropy.io.fits.open. Note: This function sets
ignore_missing_end=Trueby default.
Aliases
-
astropy.io.fits.info