fixed_rectified_slit_header¶
- msaexp.utils.fixed_rectified_slit_header(slit_wcs, rectified_wcs)[source]¶
Merge 2D WCS header from a slit WCS to a rectified WCS, e.g., from
build_slit_centered_wcs.Something gets lost in the transformation of the latter, so assume the
slit_wcsis correct, derive the cross-dispersion WCS based on theslit_framecoordinate frame there and then propagate to therectified_wcs.- Parameters
- slit_wcs
gwcs.wcs.WCS WCS object of a slitlet
- rectified_wcs
gwcs.wcs.WCS Rectified WCS
- slit_wcs
- Returns
- header
Header Fits header with spectral WCS.
- header