read_image_wl
- jwst.flatfield.flat_field.read_image_wl(flat_model, quadrant=None)[source]
Read wavelengths for the image planes.
This function should only be called if the SCI array in
flat_modelis 3-D. The purpose is to get the wavelength for each of the planes in the SCI array.- Parameters:
- flat_model
NirspecFlatModelorNirspecQuadFlatModel Flat field for the current component.
- quadrant{0, 1, 2, 3} or None, optional
The quadrant of the micro-shutter array. This is only needed for fore-optics for MSA (MOS) data.
- flat_model
- Returns:
- wavelengthndarray
A 1D array of wavelengths, one for each plane of the SCI array.