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

convert sky2pix and pix2sky to radians only #15

Merged
merged 1 commit into from
Jan 26, 2022
Merged

Conversation

xzackli
Copy link
Collaborator

@xzackli xzackli commented Jan 26, 2022

Follow pixell and have sky2pix and pix2sky always operate with radian angles. This is accomplished by determining the unit of the WCS header variables (CRVAL, CDELT) using the WCS CUNIT, and then making the appropriate unit changes.

@xzackli
Copy link
Collaborator Author

xzackli commented Jan 26, 2022

This will break #14

@xzackli xzackli merged commit 659a7a6 into main Jan 26, 2022
guanyilun pushed a commit that referenced this pull request Jan 26, 2022
@xzackli xzackli deleted the pix2sky_radians branch February 1, 2022 02:04
guanyilun pushed a commit that referenced this pull request Feb 2, 2022
guanyilun pushed a commit that referenced this pull request Feb 22, 2022
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.

1 participant