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

Healpix Range to MOC #31

Open
mcoughlin opened this issue Nov 24, 2021 · 6 comments · May be fixed by #45
Open

Healpix Range to MOC #31

mcoughlin opened this issue Nov 24, 2021 · 6 comments · May be fixed by #45
Assignees

Comments

@mcoughlin
Copy link
Contributor

I am wondering if some convenience code or doc example of how to go from the healpix range sets to a MOC might be useful.

@lpsinger
Copy link
Collaborator

lpsinger commented Dec 1, 2021

In the current design, this could be a classmethod like healpix_alchemy.Point.to_moc.

@bparazin would you like to take this one?

@bparazin
Copy link
Contributor

bparazin commented Dec 1, 2021

Sounds good

@bparazin
Copy link
Contributor

bparazin commented Dec 9, 2021

Looking at this in more detail, I think MOC.from_healpix_cells is mostly what you want, just maybe wrapping it in a function that converts the given range sets, resolution and index scheme into the input correct format for the method?

@lpsinger
Copy link
Collaborator

lpsinger commented Dec 9, 2021

Yes.

@bparazin bparazin linked a pull request Dec 9, 2021 that will close this issue
@guynir42
Copy link

@mcoughlin what's the status of this?

@mcoughlin
Copy link
Contributor Author

Waiting on @lpsinger #45 I think.

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 a pull request may close this issue.

4 participants