neighbours¶
- astropy_healpix.neighbours(healpix_index, nside, order='ring')[source]¶
Find all the HEALPix pixels that are the neighbours of a HEALPix pixel
- Parameters:
- healpix_index
ndarray
Array of HEALPix pixels
- nsideint
Number of pixels along the side of each of the 12 top-level HEALPix tiles
- order{ ‘nested’ | ‘ring’ }
Order of HEALPix pixels
- healpix_index
- Returns:
- neigh
ndarray
Array giving the neighbours starting SW and rotating clockwise. This has one extra dimension compared to
healpix_index
- the first dimension - which is set to 8. For example if healpix_index has shape (2, 3),neigh
has shape (8, 2, 3).
- neigh