do_correction_mos
- jwst.pathloss.pathloss.do_correction_mos(data, pathloss, inverse=False, source_type=None)[source]
Path loss correction for NIRSpec MOS.
Data are modified in-place.
- Parameters:
- data
JwstDataModel The NIRSpec MOS data to be corrected.
- pathloss
PathlossModelor None The pathloss reference data.
- inversebool
Invert the math operations used to apply the pathloss correction.
- source_typestr or None
Force processing using the specified source type.
- data
- Returns:
- corrections
MultiSlitModel The pathloss corrections applied.
- corrections