npix_to_nside

astropy_healpix.npix_to_nside(npix)[source]

Find the number of pixels on the side of one of the 12 ‘top-level’ HEALPix tiles given a total number of pixels.

Parameters:
npixint

The number of pixels in the HEALPix map.

Returns:
nsideint

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