uniq_to_level_ipix

astropy_healpix.uniq_to_level_ipix(uniq)[source]

Convert a HEALPix cell uniq number to its (level, ipix) equivalent.

A uniq number is a 64 bits integer equaling to : ipix + 4*(4**level). Please read this paper for more details about uniq numbers.

Parameters:
uniqint

The uniq number of a HEALPix cell.

Returns:
level, ipix: int, int

The level and index of the HEALPix cell computed from uniq.