get_header#
- sunpy.io._fits.get_header(afile)[source]#
Read a fits file and return just the headers for all HDU’s.
- Parameters:
afile (
strorastropy.io.fits.HDUList) – The file to be read, or HDUList to process.- Returns:
list– A list ofsunpy.io._header.FileHeaderheaders.