do_correction_fixedslit

jwst.pathloss.pathloss.do_correction_fixedslit(data, pathloss, inverse=False, source_type=None)[source]

Path loss correction for NIRSpec fixed-slit modes.

Data are modified in-place.

Parameters:
dataJwstDataModel

The NIRSpec fixed-slit data to be corrected.

pathlossJwstDataModel

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.

Returns:
correctionsMultiSlitModel

The pathloss corrections applied.