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