healpix_geo.nested.siblings#

healpix_geo.nested.siblings(ipix, depth, num_threads=0)#

Find the siblings for every cell

Parameters:
  • ipix (numpy.ndarray) – The HEALPix cell indexes given as a np.uint64 numpy array.

  • depth (int) – The depth of the HEALPix cells.

Returns:

cells (numpy.ndarray) – A \(N\) x \(4\) or \(N\) x \(12\) np.uint64 numpy array containing the siblings of the given cells. If depth == 0, the siblings are the base cells.