Class
NumCosmoMathSphereMap
Description [src]
final class NumCosmoMath.SphereMap : GObject.Object
{
/* No available fields */
}
An re-implementation of Healpix.
Map pixalization/manipulation algorithms, Ylm decomposition.
Functions
ncm_sphere_map_clear
If smap is not NULL, decreases the reference count of smap.
When its reference count drops to 0, the object is finalized
(i.e. its memory is freed).
Set smap to NULL.
Instance methods
ncm_sphere_map_calc_Ctheta
Computes the two-point correlation function $C(\theta)$ from the precomputed $C_\ell$.
ncm_sphere_map_compute_cross_Cl
Computes the cross-spectrum between two maps: $$C_\ell^\mathrm{cross} = \frac{1}{2\ell+1} \sum_{m=-\ell}^\ell \mathrm{Re}(a_{lm}^{(1)} \bar{a}_{lm}^{(2)})$$.
ncm_sphere_map_free
Decreases the reference count of smap. When its reference count
drops to 0, the object is finalized (i.e. its memory is freed).
ncm_sphere_map_get_Cl
Gets the value of $C_{\ell}$ previously calculated by ncm_sphere_map_prepare_alm().
ncm_sphere_map_get_alm
Gets the value of $a_{lm}$ previously calculated by ncm_sphere_map_prepare_alm().
ncm_sphere_map_get_middle_size
Get the number of pixels of the middle of smap. That is
the number of pixels of the middle rings.
ncm_sphere_map_pix2ang_nest
Converts a pixel index from NESTED to spherical coordinates and
returns the angles theta and phi.
ncm_sphere_map_pix2ang_ring
Converts a pixel index from RING to spherical coordinates and
returns the angles theta and phi.
ncm_sphere_map_prepare_alm
Calculates the $a_{\ell{}m}$ from the map smap, using $\ell_\mathrm{max}$
set by ncm_sphere_map_set_lmax(). If $\ell_\mathrm{max} = 0$
nothing is done.
ncm_sphere_map_set_iter
Sets the number of iterations to use in the spherical harmonic transform. Iterations improve the accuracy of the transform for undersampled maps (when lmax < 3 * nside). iter=0 uses only the direct transform, iter=3 (recommended) performs 3 refinement iterations.
ncm_sphere_map_set_lmax
Prepare the object to calculate $a_{\ell{}m}$ and/or $C_\ell$,
up to $\ell=$lmax.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.