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

pass vectors of RA and DEC #11

Merged
merged 2 commits into from
Jan 25, 2022
Merged

pass vectors of RA and DEC #11

merged 2 commits into from
Jan 25, 2022

Conversation

xzackli
Copy link
Collaborator

@xzackli xzackli commented Jan 25, 2022

In Julia, it's more likely that you have two separate vectors of RA and DECs instead of a 2D array. This PR provides a utility function sky2pix(enmap, ra::Vector, dec::Vector), that returns a tuple of RA and DEC pix. A similar pix2sky is also provided.

@xzackli xzackli merged commit 08bdf52 into main Jan 25, 2022
@xzackli xzackli deleted the enmap_skyops branch February 15, 2022 05:21
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