This begins the removal of the save_primary_header and inherit_primary_header attributes and kwargs from AstroImage.
The saving of the primary header is done when loading an image through the io_fits module and it is merged when include_primary_header==True in the AstroImageget_header() method.
The two kwargs issue a deprecation warning if used when creating an AstroImage.
This begins the removal of the
save_primary_header
andinherit_primary_header
attributes and kwargs from AstroImage. The saving of the primary header is done when loading an image through theio_fits
module and it is merged wheninclude_primary_header==True
in theAstroImage
get_header
() method.The two kwargs issue a deprecation warning if used when creating an AstroImage.