nside_to_npix

astropy_healpix.nside_to_npix(nside)[source]

Find the number of pixels corresponding to a HEALPix resolution.

Parameters:

nside : int

The number of pixels on the side of one of the 12 ‘top-level’ HEALPix tiles.

Returns:

npix : int

The number of pixels in the HEALPix map.