convert_inplace_int


Routine to convert an integer HEALPix map from NESTED to RING scheme or vice versa. The conversion is done inplace, meaning that it doesn't require memory for a temporary map.


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


FORMAT

call convert_inplace_int( subcall, map )


ARGUMENTS

name&dimensionality kind in/out description
       
subcall -- IN routine to be called by convert_inplace_int. Set this to ring2nest or nest2ring dependent on wether the conversion is RING to NESTED or vice versa.
map(0:npix-1) I4B INOUT map to be converted, the routine finds the size itself.


EXAMPLE:

call convert_inplace_int(ring2nest,map)

Converts an integer map from RING to NESTED scheme.

MODULES & ROUTINES

This section lists the modules and routines used by convert_inplace_int.

nest2ring
routine to convert a NESTED pixel index to RING pixel number.
ring2nest
routine to convert a RING pixel index to NESTED pixel number.


RELATED ROUTINES

This section lists the routines related to convert_inplace_int


convert_inplace_real
convert a real map between NESTED and RING schemes inplace.
convert_
convert a real map from NESTED to RING scheme using a temporary array.

Eric Hivon 2003-02-07