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

Add the ability to change the NSIDE of a HealPix object #59

Open
AdamGoldstein-USRA opened this issue Aug 11, 2024 · 0 comments
Open

Add the ability to change the NSIDE of a HealPix object #59

AdamGoldstein-USRA opened this issue Aug 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@AdamGoldstein-USRA
Copy link
Collaborator

Propose to add an object method HealPix.to_nside(nside), that will change the resolution of an existing HealPix object and return a new HealPix object with the requested nside. This would be called in the following way:

# convert a NSIDE=64 HealPix object to NSIDE=128
hpx128 = hpx64.to_nside(128)
@AdamGoldstein-USRA AdamGoldstein-USRA added the enhancement New feature or request label Aug 11, 2024
@AdamGoldstein-USRA AdamGoldstein-USRA self-assigned this Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant