extend_wavelengthrange

msaexp.pipeline_extended.extend_wavelengthrange(ref_file='jwst_nirspec_wavelengthrange_0008.asdf', ranges={'CLEAR_PRISM': [0.5, 5.6], 'F070LP_G140H': [0.6, 3.3], 'F070LP_G140M': [0.6, 3.3], 'F100LP_G140H': [0.9, 3.3], 'F100LP_G140M': [0.9, 3.3], 'F170LP_G235H': [1.5, 5.3], 'F170LP_G235M': [1.5, 5.3], 'F290LP_G395H': [2.6, 5.6], 'F290LP_G395M': [2.6, 5.6]})[source]

Extend limits of wavelengthrange reference file

Parameters
ref_filestr

Filename of wavelengthrange asdf reference file. If not provided as an absolute path starting with /, will look for the file in ./ and $CRDS_PATH/references/jwst/nirspec.

rangesdict

Extended ranges by grating / filter

Returns
statusbool

True if completed without exception

Writes a file ref_file.replace(".asdf", "_ext.asdf").