#include <alm.h>
Public Member Functions | |
Alm (int lmax_=0, int mmax_=0) | |
void | Set (int lmax_, int mmax_) |
void | SetToZero () |
template<typename T2> | |
void | Scale (const T2 &factor) |
template<typename T2> | |
void | ScaleL (const arr< T2 > &factor) |
template<typename T2> | |
void | Add (const T2 &num) |
T & | operator() (int l, int m) |
const T & | operator() (int l, int m) const |
T * | mstart (int m) |
const T * | mstart (int m) const |
int | Lmax () const |
int | Mmax () const |
const arr< T > & | Alms () const |
void | swap (Alm &other) |
bool | conformable (const Alm &other) const |
Related Functions | |
(Note that these are not member functions.) | |
void | smooth_with_Gauss (Alm< xcomplex< T > > &alm, double fwhm_arcmin) |
void | smooth_with_Gauss (Alm< xcomplex< T > > &almT, Alm< xcomplex< T > > &almG, Alm< xcomplex< T > > &almC, double fwhm_arcmin) |
void | rotate_alm (Alm< xcomplex< T > > &alm, double psi, double theta, double phi) |
void | rotate_alm (Alm< xcomplex< T > > &almT, Alm< xcomplex< T > > &almG, Alm< xcomplex< T > > &almC, double psi, double theta, double phi) |
void | rotate_alm (Alm< xcomplex< T > > &alm, const rotmatrix &mat) |
void | rotate_alm (Alm< xcomplex< T > > &almT, Alm< xcomplex< T > > &almG, Alm< xcomplex< T > > &almC, const rotmatrix &mat) |
Definition at line 40 of file alm.h.
|
Constructs an Alm object with given lmax and mmax. |
|
Deletes the old coefficients and allocates storage according to lmax and mmax. |
|
Sets all coefficients to zero. |
|
Multiplies all coefficients by factor. |
|
a(l,m) *= factor[l] for all l,m. |
|
Adds num to a_00. |
|
Returns a reference to the specified coefficient. |
|
Returns a constant reference to the specified coefficient. |
|
Returns a pointer for a given m, from which the address of a_lm can be obtained by adding l. |
|
Returns a pointer for a given m, from which the address of a_lm can be obtained by adding l. |
|
Returns the maximum l |
|
Returns the maximum m |
|
Returns a constant reference to the a_lm data. |
|
Swaps the contents of two A_lm objects. |
|
Returns true, if both objects have the same lmax and mmax, else false. |
|
Applies a convolution with a Gaussian beam with an FWHM of fwhm_arcmin arcmin to alm.
Definition at line 238 of file alm_powspec_tools.cc. |
|
Applies a convolution with a Gaussian beam with an FWHM of fwhm_arcmin arcmin to almT, almG and almC.
Definition at line 255 of file alm_powspec_tools.cc. |
|
Rotates alm through the Euler angles psi, theta and phi. The Euler angle convention is right handed, rotations are active.
Definition at line 421 of file alm_powspec_tools.cc. |
|
Rotates almT, almG and almC through the Euler angles psi, theta and phi. The Euler angle convention is right handed, rotations are active.
Definition at line 479 of file alm_powspec_tools.cc. |
|
Rotates alm through the rotation matrix mat. Definition at line 555 of file alm_powspec_tools.cc. |
|
Rotates almT, almG and almC through the rotation matrix mat. Definition at line 566 of file alm_powspec_tools.cc. |