get_soss_traces
- jwst.extract_1d.soss_extract.pastasoss.get_soss_traces(pwcpos, order, subarray='SUBSTRIP256', refmodel=None)[source]
Get the SOSS traces for a given input model and spectral order.
- Parameters:
- pwcposfloat
The pupil wheel position angle provided in the FITS header under keyword PWCPOS. Values are expected to be within +/- 0.25 degrees of the commanded position (245.76 degrees).
- orderint
The spectral order for which to retrieve the traces.
- subarraystr
Name of subarray in use, typically ‘SUBSTRIP96’ or ‘SUBSTRIP256’.
- refmodelPastasossModel, optional
The reference model for the SOSS extraction. If not set, it will be fetched from CRDS.
- Returns:
- orderstr
The spectral order for which a trace is computed.
- xndarray
The x coordinates of the rotated points.
- yndarray
The y coordinates of the rotated points.
- wavelengthsndarray
The wavelengths associated with the rotated points.