apply_zero_point_correction

jwst.wavecorr.wavecorr.apply_zero_point_correction(slit, reffile)[source]

Apply the NIRSpec wavelength zero-point correction.

Parameters:
slitSlitModel or CubeModel

Slit data to be corrected.

reffilestr

The wavecorr reference file.

Returns:
completedbool

A flag to report whether the zero-point correction was added or skipped.