pypeit / PypeIt

The Python Spectroscopic Data Reduction Pipeline
BSD 3-Clause "New" or "Revised" License
161 stars 104 forks source link

KCRM datacube WCS is rotated by 180 degrees #1677

Closed ddobie closed 1 year ago

ddobie commented 1 year ago

KCRM datacubes appear to have a 180 degree rotation relative to KCWI datacubes. The below screenshot shows KCRM (left) and KCWI (right) cube slices from observations of a standard star with locked WCS.

image

From a brief investigation the KCWI datacube has the correct WCS (other than #1674) and it is the KCRM data that is rotated.

rcooke-ast commented 1 year ago

Thanks @ddobie - As discussed on the Users Slack, this is because KCRM has an extra mirror (so the image is flipped relative to KCWI). This issue is resolved in the branch kcrm_Sep23, and will be merged into the development branch shortly after a few more quality controls. You are one of the first to be reducing KCRM data!