Parameters;
Structures.
NB. all parameters and structures are defined in s2hat_types.h and s2hat_types.f90
Parameters
PIXCHOICE_HEALPIX -- parameter defining Healpix pixelization (= 0);
PIXCHOICE_GLESP -- parameter defining GLESP pixelization (= 1);
PIXCHOICE_ECP -- parameter defining ECP gridding scheme (= 2);
PIXCHOICE_GLCP -- parameter defining GLCP gridding scheme (= 3);
SPIN_CONV_SIGN -- parameter defining the spin sign convention (= -1).
Top of the page
Structures
pixparameters -
a structure storing a set of parameters defining any of the pre-defined pixelization/sky gridding schemes. It has two fields:
pixeltype -
structure storing all the pixelization characteristics needed
by the transforms. (See Section Pixelization
for all assumptions about the permissible pixelization schemes.)
The fields are as follows:
N.B. Note that given the pixelization structure one can always recover the position of all the pixel centers.
For example:
For an jth pixel on an ith ring (i.e., a pixel with a number pixelization%fpix(i)+j in the global, ring-wise
numbering scheme starting from the North Pole), its coordinates are given by,
phi( pixelization%fpix(i)+j) = pixelization%kphi(i) + pixelization%pixphi(i) * j,
for j = 0, ..., pixelization%nph(i)-1
theta( pixelization%fpix(i)+j) = acos( pixelization%cth(i)).
scandef --
A S2HAT structure storing all the info needed to define the sky patch to be analyzed.
The fields are as follows:
npixsobs [integer(8b)] - a number of observed pixels;
nringsobs [integer(8b)] - a number of observed rings (including all partially observed ones), observed either in the North
or South (i.e., a number of nonzero entries of the vector scan.fl defined below);
nfl [integer(8b)] - a pointing to a vector ([1:nringsall]) storing the info about each ring of the Northern
hemisphere (plus the equatorial ring if present). The stored values are either =1 or =0 if a ring is or is not observed.
The rings are counted from the North Pole;
sfl [integer(8b)] - a pointing to a vector ([1:nringsall]) storing the info about each ring of the Southern
hemisphere. For observed rings: =1 and unobserved: =0.
The rings are counted from the South Pole. (If an equatorial ring of pixels exists then scan.sfl[ nringsall] = scan.nfl[nringsall]);
fl [integer(8b)] - a pointing to a vector ([1:nringsall]) vector storing the info about each ring. The stored
values are: =1 - if either a ring or its symmetric counterpart (or both) is observed (in the Northern or Southern hemisphere respectively),
otherwise -0. This field is a logical sum of the two previous fields.
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
|