healpix_geo.nested.zoom_to#
- healpix_geo.nested.zoom_to(ipix, depth, new_depth, num_threads=0)#
Change the resolutions the given cell ids
- Parameters:
ipix (
numpy.ndarray) – The HEALPix cell indexes given as a np.uint64 numpy array.depth (
int) – The depth of the HEALPix cells.new_depth (
int) – The new depth of the HEALPix cells.
- Returns:
cells (
numpy.ndarray) – A \(N\) (depth >= new_depth) or \(N\) x \(4^{\delta d}\) np.int64 numpy array containing the parents or children of the given cells. If depth == new_depth, returns the input pixels