Top | ![]() |
![]() |
![]() |
![]() |
Functions
Properties
NcmSphereMapPixCoordSys | coordsys | Read / Write / Construct |
guint | lmax | Read / Write / Construct |
gint64 | nside | Read / Write / Construct |
NcmSphereMapPixOrder | order | Read / Write / Construct |
Types and Values
enum | NcmSphereMapPixOrder |
enum | NcmSphereMapPixCoordSys |
#define | NCM_SPHERE_MAP_PIX_HEALPIX_NULLVAL |
#define | NCM_SPHERE_MAP_PIX_DEFAULT_SIGNAL |
Object Hierarchy
GEnum ├── NcmSphereMapPixCoordSys ╰── NcmSphereMapPixOrder GObject ╰── NcmSphereMapPix
Functions
ncm_sphere_map_pix_set_nside ()
void ncm_sphere_map_pix_set_nside (NcmSphereMapPix *pix
,gint64 nside
);
FIXME
ncm_sphere_map_pix_get_cap_size ()
gint64
ncm_sphere_map_pix_get_cap_size (NcmSphereMapPix *pix
);
FIXME
ncm_sphere_map_pix_get_middle_size ()
gint64
ncm_sphere_map_pix_get_middle_size (NcmSphereMapPix *pix
);
FIXME
ncm_sphere_map_pix_get_nrings_cap ()
gint64
ncm_sphere_map_pix_get_nrings_cap (NcmSphereMapPix *pix
);
FIXME
ncm_sphere_map_pix_get_nrings_middle ()
gint64
ncm_sphere_map_pix_get_nrings_middle (NcmSphereMapPix *pix
);
FIXME
ncm_sphere_map_pix_get_ring_size ()
gint64 ncm_sphere_map_pix_get_ring_size (NcmSphereMapPix *pix
,gint64 r_i
);
FIXME
ncm_sphere_map_pix_get_ring_first_index ()
gint64 ncm_sphere_map_pix_get_ring_first_index (NcmSphereMapPix *pix
,gint64 r_i
);
FIXME
ncm_sphere_map_pix_set_order ()
void ncm_sphere_map_pix_set_order (NcmSphereMapPix *pix
,NcmSphereMapPixOrder order
);
FIXME
ncm_sphere_map_pix_get_order ()
NcmSphereMapPixOrder
ncm_sphere_map_pix_get_order (NcmSphereMapPix *pix
);
FIXME
ncm_sphere_map_pix_set_coordsys ()
void ncm_sphere_map_pix_set_coordsys (NcmSphereMapPix *pix
,NcmSphereMapPixCoordSys coordsys
);
FIXME
ncm_sphere_map_pix_get_coordsys ()
NcmSphereMapPixCoordSys
ncm_sphere_map_pix_get_coordsys (NcmSphereMapPix *pix
);
FIXME
ncm_sphere_map_pix_set_lmax ()
void ncm_sphere_map_pix_set_lmax (NcmSphereMapPix *pix
,guint lmax
);
Prepare the object to calculate $a_{\ell{}m}$ and/or $C_\ell$,
up to $\ell=$lmax
.
ncm_sphere_map_pix_clear_pixels ()
void
ncm_sphere_map_pix_clear_pixels (NcmSphereMapPix *pix
);
FIXME
ncm_sphere_map_pix_nest2ring ()
gint64 ncm_sphere_map_pix_nest2ring (NcmSphereMapPix *pix
,const gint64 nest_index
);
FIXME
ncm_sphere_map_pix_ring2nest ()
gint64 ncm_sphere_map_pix_ring2nest (NcmSphereMapPix *pix
,const gint64 ring_index
);
FIXME
ncm_sphere_map_pix_pix2ang_nest ()
void ncm_sphere_map_pix_pix2ang_nest (NcmSphereMapPix *pix
,const gint64 nest_index
,gdouble *theta
,gdouble *phi
);
FIXME
ncm_sphere_map_pix_pix2ang_ring ()
void ncm_sphere_map_pix_pix2ang_ring (NcmSphereMapPix *pix
,const gint64 ring_index
,gdouble *theta
,gdouble *phi
);
FIXME
ncm_sphere_map_pix_pix2vec_nest ()
void ncm_sphere_map_pix_pix2vec_nest (NcmSphereMapPix *pix
,const gint64 nest_index
,NcmTriVec *vec
);
FIXME
ncm_sphere_map_pix_pix2vec_ring ()
void ncm_sphere_map_pix_pix2vec_ring (NcmSphereMapPix *pix
,const gint64 ring_index
,NcmTriVec *vec
);
FIXME
ncm_sphere_map_pix_ang2pix_nest ()
void ncm_sphere_map_pix_ang2pix_nest (NcmSphereMapPix *pix
,const gdouble theta
,const gdouble phi
,gint64 *nest_index
);
FIXME
ncm_sphere_map_pix_ang2pix_ring ()
void ncm_sphere_map_pix_ang2pix_ring (NcmSphereMapPix *pix
,const gdouble theta
,const gdouble phi
,gint64 *ring_index
);
FIXME
ncm_sphere_map_pix_vec2pix_ring ()
void ncm_sphere_map_pix_vec2pix_ring (NcmSphereMapPix *pix
,NcmTriVec *vec
,gint64 *ring_index
);
FIXME
ncm_sphere_map_pix_vec2pix_nest ()
void ncm_sphere_map_pix_vec2pix_nest (NcmSphereMapPix *pix
,NcmTriVec *vec
,gint64 *nest_index
);
FIXME
ncm_sphere_map_pix_add_to_vec ()
void ncm_sphere_map_pix_add_to_vec (NcmSphereMapPix *pix
,NcmTriVec *vec
,const gdouble s
);
FIXME
ncm_sphere_map_pix_add_to_ang ()
void ncm_sphere_map_pix_add_to_ang (NcmSphereMapPix *pix
,const gdouble theta
,const gdouble phi
,const gdouble s
);
FIXME
ncm_sphere_map_pix_load_fits ()
void ncm_sphere_map_pix_load_fits (NcmSphereMapPix *pix
,const gchar *fits_file
,const gchar *signal_name
);
FIXME
ncm_sphere_map_pix_save_fits ()
void ncm_sphere_map_pix_save_fits (NcmSphereMapPix *pix
,const gchar *fits_file
,const gchar *signal_name
,gboolean overwrite
);
FIXME
ncm_sphere_map_pix_load_from_fits_catalog ()
void ncm_sphere_map_pix_load_from_fits_catalog (NcmSphereMapPix *pix
,const gchar *fits_file
,const gchar *RA
,const gchar *DEC
,const gchar *S
);
FIXME
ncm_sphere_map_pix_prepare_alm ()
void
ncm_sphere_map_pix_prepare_alm (NcmSphereMapPix *pix
);
Calculates the $a_{\ell{}m}$ from the map pix
, using $\ell_\mathrm{max}$
set by ncm_sphere_map_pix_set_lmax()
. If $\ell_\mathrm{max} = 0$
nothing is done.
ncm_sphere_map_pix_prepare_Cl ()
void
ncm_sphere_map_pix_prepare_Cl (NcmSphereMapPix *pix
);
Calculates the $C_{\ell}$ from the map pix
, using $\ell_\mathrm{max}$
set by ncm_sphere_map_pix_set_lmax()
. If $\ell_\mathrm{max} = 0$
nothing is done. Note that this function will not save the values of $a_{\ell{}m}$.
ncm_sphere_map_pix_get_alm ()
void ncm_sphere_map_pix_get_alm (NcmSphereMapPix *pix
,guint l
,guint m
,gdouble *Re_alm
,gdouble *Im_alm
);
Gets the value of $a_{lm}$ previously calculated by
ncm_sphere_map_pix_prepare_alm()
.
ncm_sphere_map_pix_get_Cl ()
gdouble ncm_sphere_map_pix_get_Cl (NcmSphereMapPix *pix
,guint l
);
Gets the value of $C_{\ell}$ previously calculated by
ncm_sphere_map_pix_prepare_alm()
or ncm_sphere_map_pix_prepare_Cl()
.
ncm_sphere_map_pix_add_noise ()
void ncm_sphere_map_pix_add_noise (NcmSphereMapPix *pix
,const gdouble sd
,NcmRNG *rng
);
Adds a Gaussian noise with $\sigma=$ sd
and zero mean to each pixel.
ncm_sphere_map_pix_alm2map ()
void
ncm_sphere_map_pix_alm2map (NcmSphereMapPix *pix
);
Compute map pixels from current $a_{\ell{}m}$.
NCM_SPHERE_MAP_PIX_ALM_SIZE()
#define NCM_SPHERE_MAP_PIX_ALM_SIZE(lmax) (((lmax)*(lmax) + 3*(lmax) + 2)/2)
Property Details
The “coordsys”
property
“coordsys” NcmSphereMapPixCoordSys
Map coordinate system.
Flags: Read / Write / Construct
Default value: NCM_SPHERE_MAP_PIX_COORD_SYS_CELESTIAL
The “nside”
property
“nside” gint64
nside.
Flags: Read / Write / Construct
Allowed values: >= 0
Default value: 0
The “order”
property
“order” NcmSphereMapPixOrder
Map pixel ordering.
Flags: Read / Write / Construct
Default value: NCM_SPHERE_MAP_PIX_ORDER_RING