template_pixel_nest, template_pixel_ring
, and then increasing for decreasing z.
Location in HEALPix directory tree: src/f90/mod/pix_tools.F90
call template_pixel_nest, template_pixel_ring( nside, pixel_nest, template, reflexion )
call template_pixel_nest, template_pixel_ring( nside, pixel_ring, template, reflexion )
Returns in template the index of the template pixel (16663) whose shape matches that of the pixel #500000 for Nside=256. Upon return reflexion will contain 2, meaning that the template must be reflected around a meridian and around the equator (and then rotated around the polar axis) in order to match the pixel.
Version 3.50, 2018-12-10