uniq2nest turns the Unique ID number u = p + 4 Nside2, into the parameter Nside (a power of 2) and the pixel index p. See ”The Unique Identifier scheme” section in ”HEALPix Introduction Document” for more details.
uniq2nest, [4,16, 64], nside, pnest | |
print, nside, pnest |
returns
1 2 4
0 0 0
since the pixels with Unique ID numbers 4, 16 and 64 are the first pixels (p=0) at Nside= 1, 2 and 4 respectively.
Version 3.83, 2024-11-13