mGetHdr¶
-
montage_wrapper.commands.
mGetHdr
(in_image, img_header, debug=False, hdu=None, status_file=None)[source] [edit on github]¶ Reads in the header from a FITS image and prints it out to a text file.
Parameters: in_image : str
Path to FITS image from which to retrieve the header.
img_header : str
Path to text file where FITS header should be written.
debug : bool, optional
Turns on debugging.
hdu : int, optional
Retrieve the header from the Fits extention given by hdu. “0” indicates the primary FITS extension, and is the default used by mGetHdr.
status_file : str, optional
Output and errors are sent to status_file instead of to stdout