do_correction_ifu
- jwst.pathloss.pathloss.do_correction_ifu(data, pathloss, inverse=False, source_type=None)[source]
Path loss correction for NIRSpec IFU.
Data are modified in-place.
- Parameters:
- data
JwstDataModel The NIRSpec IFU data to be corrected.
- pathloss
JwstDataModel 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
JwstDataModel The pathloss corrections applied.
- corrections