Parameters;
Structures.
NB. all parameters and structures are defined in s2hat_defs.h and s2hat_defs.f90 and need to be kept consistent.
Parameters
Top of the page
Structures
par1[int (4b)] - first parameter equal either to =nside for HEALPix, or =nringstot (i.e., total number of rings)
for GLESP, ECP or GLCP;
par2[int (4b)] - second parameter equal to a number of pixels per ring for ECP and GLCP, but irrelevant for HEALpix and GLESP.
type[long int (8b)] -- pixelization type (e.g. = PIXCHOICE_HEALPIX);
npixsall[long int (8b)] -- total number of pixels in the full sky map;
nringsall[long int (8b)] -- a total number of iso-latitude rings of the full sky map
covering the Northern hemisphere plus equatorial ring (if present);
nphmx[long int (8b)] -- a maximum number of pixels per iso-ring;
nph[long int (8b)] -- a pointer to a vector ([0:nringsall-1]) containing a number of pixels for each iso-ring;
fpix[long int (8b)] -- a pointer to a vector ([0:nringsall-1]) containing for each ring a first pixel number
in the global, ring-based pixel numbering scheme,
kphi[double] -- a pointer to a vector ([0:nringsall-1]) containing a phase shift info for the FFTs,
it is equal to a azimuthal position (in radians) of the first pixel of each ring;
qwght[double] -- a pointer to a vector ([0:nringsall-1] containing the quadrature weights for
each isolatitudinal ring;
/*
pixphi[double] -- a pointer to a vector ([0:nringsall-1]) containing the pixel azimuthal separation for each iso-ring (assumed to be
equidistant);
--> DISUSED the pixel azimuthal size/separation is **ALWAYS** assumed to be:
*/
parea[double] -- a pointer to a vector ([0:nringsall-1]) containing the pixel areas for each iso-ring
(and assumed to be constant on each iso-ring);
cth [double] -- a pointer to a vector ([0:nringsall-1]) containing
a value of a cosine of the polar angle measured from the North Pole for each iso-ring;
sth [double] -- a pointer to a vector ([0:nringsall-1]) containing
a value of a sine of the polar angle measured from the North Pole for each iso-ring;
N.B. Note that given the pixelization structure one can always recover the position of all the pixel centers.
For example:
For an jth (where j=0,pixelization.nph[i-1]-1) pixel on an ith (where i=1,...,nringsall) ring (i.e., a pixel with a number pixelization.fpix[i-1]+j in the global, ring-wise
numbering scheme starting from the North Pole), its coordinates are given by,
scandef --
A S2HAT structure storing all the info needed to define the sky patch to be analyzed.
The fields are as follows:
Note that all the fields of the structures need to be allocated and defined prior to calling any transform routines.
That can be done either directly by the user or,
for some standard pixelization schemes (i.e., HEALPix and GLESP), by calling provided functions.
See Scan/pixelization routines section of this documentation.
Top of the page
|