The centering of the drizzled 2D wcs still doesn't always come out right, so this update includes a function msaexp.utils.build_slit_centered_wcs to realign the output WCS on the target. The script drizzles a dummy 2D gaussian centered on the source_ypos and calculates a shift between the result and the array center.
The centering of the drizzled 2D wcs still doesn't always come out right, so this update includes a function
msaexp.utils.build_slit_centered_wcs
to realign the output WCS on the target. The script drizzles a dummy 2D gaussian centered on thesource_ypos
and calculates a shift between the result and the array center.