{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / hdu / hdulist / HDUList / filename

function

astropy.io.fits.hdu.hdulist:HDUList.filename

source: /astropy/io/fits/hdu/hdulist.py :1129

Signature

def   filename ( self )

Summary

Return the file name associated with the HDUList object if one exists. Otherwise returns None.

Returns

filename : str

A string containing the file name associated with the HDUList object if an association exists. Otherwise returns None.

Aliases

  • astropy.io.fits.HDUList.filename