get_slit_coordinates¶
- msaexp.utils.get_slit_coordinates(slit, trace_with_ypos=False, **kwargs)[source]¶
Get wavelength and cross-dispersion coordinate arrays for a 2D slitlet
- Parameters
- slit
SlitModel Slitlet data object
- trace_with_yposbool
Include source y position in trace calculation
- slit
- Returns
- wavearray-like
Wavelengths, microns
- slit_frame_yarray-like
slit_framecross dispersion coordinate- yslitarray-like
Pixel offset relative to the trace center