Introduction and notation
The following formalism and notation is based on the paper by A. Lewis,
(Phys. Rev. D., 71, 083008, (2005), hereafter Lewis05).
The field of a spin,
, defined on a sphere (
) is represented as,
 |
(1) |
where the two real fields (or map components as referred to in the documentation) are on
the input or the output of the transform routines implemented in the S
HAT library.
Both positive and negative spins are accepted by the routines. However, for the negative
spin,
, we first make use of the fact that
 |
(2) |
and proceed with the non-negative spin field,
, such as,
 |
(3) |
where the change of the sign of the imaginary part,
,
is performed by the routines. As a result the routines effectively perform on
transforms on the non-negative spin fields.
Consequently, in the following equations we will always assume that spin is non-negative
(
).
The routines compute or use the electric (
) and magnetic (
)
representation of the harmonic space coefficients (Lewis05). These are defined as,
(e.g., Eqs. (A4) of Lewis05),
 |
(4) |
where
and
The parameter
sets the polarization (right handed or left handed set wrt to the incoming photons).
The parameter
is defined in the Library as a constant SPIN_SIGN_CONV and set by
default to
, i.e., consistent with the HEALpix choice.
It is defined in the files s2hat_defs.f90 and s2hat_defs.h.
The complex map produced or proccesed by the spin tranform routines, alm2map_spin and map2alm_spin,
as two real maps, which for spin s=2 correspond to the Stokes Q an U parameter maps.