copy_jwst_keywords

grizli.jwst_utils.copy_jwst_keywords(header, orig_keys=['TELESCOP', 'INSTRUME', 'DETECTOR', 'FILTER', 'PUPIL', 'EXP_TYPE', 'GRATING'], verbose=True)[source]

Make copies of some header keywords that may need to be modified to force the pipeline / astrodrizzle to interpret the images in different ways

Parameters
headerHeader

FITS header to modify.

orig_keyslist

List of keywords to copy with a prefix of “O” (e.g., “OTELESCOP”).

verbosebool

Print status messages.