ring_num


This function returns the ring number for a z coordinate.

Location in HEALPix directory tree: src/f90/mod/pix_tools.F90 


FORMAT

var=ring_num( nside, z )


ARGUMENTS

name&dimensionality kind in/out description
       
nside I4B IN the ${N_{\rm side}}$ parameter of the map.
z DP IN the z coordinate to find the ring number for.


EXAMPLE:

print*,ring_num(256, 0.5)
Prints the ring number of the ring at position z=0.5.


MODULES & ROUTINES

This section lists the modules and routines used by ring_num.

None

RELATED ROUTINES

This section lists the routines related to ring_num

in_ring
Returns the pixels in a slice on a given ring.

Version 3.31, 2017-01-06