name & dimensionality |
kind |
in/out |
description |
|
|
|
|
nsmax |
I4B |
IN |
the
value of the map to analyse. |
nlmax |
I4B |
IN |
the maximum value for the analysis. |
nmmax |
I4B |
IN |
the maximum value for the analysis. |
spin |
I4B |
IN |
the spin of the maps to be analysed (only its absolute
value is relevant). |
map(0:12*nsmax**2-1, 1:2) |
SP/ DP |
IN |
and
input maps |
alm(1:2, 0:nlmax, 0:nmmax) |
SPC/ DPC |
OUT |
The
and
output values. |
zbounds(1:2), OPTIONAL |
DP |
IN |
section of the map on which to perform the
analysis, expressed in terms of
If zbounds(1)zbounds(2), it is
performed on the strip zbounds(1)zbounds(2); if not,
it is performed outside the strip
zbounds(2)zbounds(1). If absent, the whole map is processed.
|
w8ring_TQU(1:2*nsmax,1:2), OPTIONAL |
DP |
IN |
ring weights for quadrature corrections. If ring weights are not used, this array should be 1 everywhere. |
use
healpix_types
use alm_tools
use pix_tools
integer(
i4b) :: nside, lmax, spin
real(
sp), allocatable, dimension(:,:) :: map
complex(
spc), allocatable, dimension(:,:,:) :: alm
nside = 256
lmax = 512
spin = 5
allocate(map(0:nside2npix(nside)-1,1:2))
allocate(alm(1:2, 0:lmax, 0:lmax)
...
call map2alm_spin(nside, lmax, lmax, spin, map, alm)