Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix: Datacube WCS fix + adopt East-West convention #1871

Merged
merged 10 commits into from
Nov 21, 2024
Merged

Conversation

rcooke-ast
Copy link
Collaborator

Fixed a long-term bug associated with the WCS. With the help of some data collected by @RaymondRemigio, we identified the bug, which was due to incorrectly evaluating the WCS. With this PR, we also update the WCS to adopt the East/West convention of East to the left.

Below is a series of 8 white light images with their WCS locked to the same value. The green circle is the "true" value of the star coordinate. Regardless of the position angle, the WCS of all frames is close to equal. The remaining offsets is possibly the result of not centering the star on REFA and base was not marked during the observations.

image

@rcooke-ast rcooke-ast changed the base branch from develop to dev2rel November 16, 2024 21:00
@rcooke-ast rcooke-ast changed the base branch from dev2rel to release November 16, 2024 21:02
@rcooke-ast rcooke-ast changed the base branch from release to dev2rel November 16, 2024 21:03
# Conflicts:
#	doc/releases/1.17.1dev.rst
Base automatically changed from dev2rel to develop November 18, 2024 16:28
Copy link
Collaborator

@kbwestfall kbwestfall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Copy link
Collaborator

@profxj profxj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this!

pypeit/core/datacube.py Show resolved Hide resolved
@rcooke-ast rcooke-ast merged commit 8f3648b into develop Nov 21, 2024
18 checks passed
@rcooke-ast
Copy link
Collaborator Author

Thanks! Merging...

@rcooke-ast rcooke-ast deleted the kcwi_wcs_fix branch November 21, 2024 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants