Returns the minimum acceptable nside so that npix <= nside2npix(nside).
npix : int
a minimal number of pixel
nside : int
a valid healpix nside so that 12 * nside ** 2 >= npix
Examples
>>> import healpy as hp >>> hp.pixelfunc.get_min_valid_nside(355) 8 >>> hp.pixelfunc.get_min_valid_nside(768) 8
Full-text doc search.
healpy.pixelfunc.get_map_size
healpy.pixelfunc.get_nside
Enter search terms or a module, class or function name.