nod_pair_location
- jwst.extract_1d.source_location.nod_pair_location(input_model, middle_wl)[source]
Estimate a nod pair location from the WCS.
For MIRI, it will guess the location from the dither offsets. For NIRSpec, it will guess from the slit position. For anything else, or if the estimate fails, it will return NaN for the location.