Top | ![]() |
![]() |
![]() |
![]() |
Functions
Properties
NcmSphereMapCoordSys | coordsys | Read / Write / Construct |
guint | lmax | Read / Write / Construct |
gint64 | nside | Read / Write / Construct |
NcmSphereMapOrder | order | Read / Write / Construct |
Types and Values
enum | NcmSphereMapOrder |
enum | NcmSphereMapCoordSys |
#define | NCM_SPHERE_MAP_HEALPIX_NULLVAL |
#define | NCM_SPHERE_MAP_DEFAULT_SIGNAL |
Functions
ncm_sphere_map_get_nrings_middle ()
gint64
ncm_sphere_map_get_nrings_middle (NcmSphereMap *smap
);
FIXME
ncm_sphere_map_get_ring_size ()
gint64 ncm_sphere_map_get_ring_size (NcmSphereMap *smap
,gint64 r_i
);
FIXME
ncm_sphere_map_get_ring_first_index ()
gint64 ncm_sphere_map_get_ring_first_index (NcmSphereMap *smap
,gint64 r_i
);
FIXME
ncm_sphere_map_set_order ()
void ncm_sphere_map_set_order (NcmSphereMap *smap
,NcmSphereMapOrder order
);
FIXME
ncm_sphere_map_set_coordsys ()
void ncm_sphere_map_set_coordsys (NcmSphereMap *smap
,NcmSphereMapCoordSys coordsys
);
FIXME
ncm_sphere_map_get_coordsys ()
NcmSphereMapCoordSys
ncm_sphere_map_get_coordsys (NcmSphereMap *smap
);
FIXME
ncm_sphere_map_set_lmax ()
void ncm_sphere_map_set_lmax (NcmSphereMap *smap
,guint lmax
);
Prepare the object to calculate $a_{\ell{}m}$ and/or $C_\ell$,
up to $\ell=$lmax
.
ncm_sphere_map_nest2ring ()
gint64 ncm_sphere_map_nest2ring (NcmSphereMap *smap
,const gint64 nest_index
);
FIXME
ncm_sphere_map_ring2nest ()
gint64 ncm_sphere_map_ring2nest (NcmSphereMap *smap
,const gint64 ring_index
);
FIXME
ncm_sphere_map_pix2ang_nest ()
void ncm_sphere_map_pix2ang_nest (NcmSphereMap *smap
,const gint64 nest_index
,gdouble *theta
,gdouble *phi
);
FIXME
ncm_sphere_map_pix2ang_ring ()
void ncm_sphere_map_pix2ang_ring (NcmSphereMap *smap
,const gint64 ring_index
,gdouble *theta
,gdouble *phi
);
FIXME
ncm_sphere_map_pix2vec_nest ()
void ncm_sphere_map_pix2vec_nest (NcmSphereMap *smap
,const gint64 nest_index
,NcmTriVec *vec
);
FIXME
ncm_sphere_map_pix2vec_ring ()
void ncm_sphere_map_pix2vec_ring (NcmSphereMap *smap
,const gint64 ring_index
,NcmTriVec *vec
);
FIXME
ncm_sphere_map_ang2pix_nest ()
void ncm_sphere_map_ang2pix_nest (NcmSphereMap *smap
,const gdouble theta
,const gdouble phi
,gint64 *nest_index
);
FIXME
ncm_sphere_map_ang2pix_ring ()
void ncm_sphere_map_ang2pix_ring (NcmSphereMap *smap
,const gdouble theta
,const gdouble phi
,gint64 *ring_index
);
FIXME
ncm_sphere_map_vec2pix_ring ()
void ncm_sphere_map_vec2pix_ring (NcmSphereMap *smap
,NcmTriVec *vec
,gint64 *ring_index
);
FIXME
ncm_sphere_map_vec2pix_nest ()
void ncm_sphere_map_vec2pix_nest (NcmSphereMap *smap
,NcmTriVec *vec
,gint64 *nest_index
);
FIXME
ncm_sphere_map_add_to_vec ()
void ncm_sphere_map_add_to_vec (NcmSphereMap *smap
,NcmTriVec *vec
,const gdouble s
);
FIXME
ncm_sphere_map_add_to_ang ()
void ncm_sphere_map_add_to_ang (NcmSphereMap *smap
,const gdouble theta
,const gdouble phi
,const gdouble s
);
FIXME
ncm_sphere_map_load_fits ()
void ncm_sphere_map_load_fits (NcmSphereMap *smap
,const gchar *fits_file
,const gchar *signal_name
);
FIXME
ncm_sphere_map_save_fits ()
void ncm_sphere_map_save_fits (NcmSphereMap *smap
,const gchar *fits_file
,const gchar *signal_name
,gboolean overwrite
);
FIXME
ncm_sphere_map_load_from_fits_catalog ()
void ncm_sphere_map_load_from_fits_catalog (NcmSphereMap *smap
,const gchar *fits_file
,const gchar *RA
,const gchar *DEC
,const gchar *S
);
FIXME
ncm_sphere_map_prepare_alm ()
void
ncm_sphere_map_prepare_alm (NcmSphereMap *smap
);
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_get_alm ()
void ncm_sphere_map_get_alm (NcmSphereMap *smap
,guint l
,guint m
,gdouble *Re_alm
,gdouble *Im_alm
);
Gets the value of $a_{lm}$ previously calculated by
ncm_sphere_map_prepare_alm()
.
ncm_sphere_map_get_Cl ()
gdouble ncm_sphere_map_get_Cl (NcmSphereMap *smap
,guint l
);
Gets the value of $C_{\ell}$ previously calculated by
ncm_sphere_map_prepare_alm()
.
ncm_sphere_map_get_pix ()
gdouble ncm_sphere_map_get_pix (NcmSphereMap *smap
,guint i
);
Gets the value of pixel index by i
.
ncm_sphere_map_add_noise ()
void ncm_sphere_map_add_noise (NcmSphereMap *smap
,const gdouble sd
,NcmRNG *rng
);
Adds a Gaussian noise with $\sigma=$ sd
and zero mean to each pixel.
ncm_sphere_map_set_map ()
void ncm_sphere_map_set_map (NcmSphereMap *smap
,GArray *map
);
Set map pixels to map
using current ordering.
ncm_sphere_map_set_Cls ()
void ncm_sphere_map_set_Cls (NcmSphereMap *smap
,NcmVector *Cls
);
Set map $C_l$s.
ncm_sphere_map_alm2map ()
void
ncm_sphere_map_alm2map (NcmSphereMap *smap
);
Compute map pixels from current $a_{\ell{}m}$.
ncm_sphere_map_calc_Ctheta ()
NcmSpline * ncm_sphere_map_calc_Ctheta (NcmSphereMap *smap
,const gdouble reltol
);
Computes the two-point correlation function $C(\theta)$ from the precomputed $C_\ell$.
Property Details
The “coordsys”
property
“coordsys” NcmSphereMapCoordSys
Map coordinate system.
Flags: Read / Write / Construct
Default value: NCM_SPHERE_MAP_COORD_SYS_CELESTIAL
The “nside”
property
“nside” gint64
nside.
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 0
The “order”
property
“order” NcmSphereMapOrder
Map pixel ordering.
Flags: Read / Write / Construct
Default value: NCM_SPHERE_MAP_ORDER_RING