convert_inplace_real


Routine to convert a real 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, like the $\htmlref{convert\_\htmlref{nest2ring}{sub:pixtools}}{sub:convert_nest2ring}$ routine. But for that reason, this routine is slower.


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


FORMAT

call convert_inplace_real( subcall, map )


ARGUMENTS

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


EXAMPLE:

call convert_inplace_real(ring2nest,map)

Converts an map from RING to NESTED scheme.

MODULES & ROUTINES

This section lists the modules and routines used by convert_inplace_real.

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_real


convert_inplace_int
convert an integer map between NESTED and RING schemes inplace.
convert_
convert from NESTED to RING scheme using a temporary array. Requires more space then convert_inplace_real, but is faster.

Eric Hivon 2003-02-07