nside_to_order

cygrid.nside_to_order(uint64_t nside) → uint64_t

Compute HEALPix order from nside.

Parameters
nsideuint64_t

HEALPix nside parameter.

Raises
ValueError

Invalid value for nside (must be positive).

Notes

This function was adapted from the HEALPix C++ library. (Copyright (C) 2003-2012 Max-Planck-Society; author Martin Reinecke; see http://healpix.sourceforge.net)