Open mcoughlin opened 2 years ago
In the current design, this could be a classmethod like healpix_alchemy.Point.to_moc
.
@bparazin would you like to take this one?
Sounds good
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?
Yes.
@mcoughlin what's the status of this?
Waiting on @lpsinger https://github.com/skyportal/healpix-alchemy/pull/45 I think.
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.