Top |
NcDataXcor * | nc_data_xcor_new_full () |
void | nc_data_xcor_set_2 () |
void | nc_data_xcor_set_AB () |
void | nc_data_xcor_set_3 () |
void | nc_data_xcor_set_4 () |
void | nc_data_xcor_set_5 () |
void | nc_data_xcor_mean_func_ab () |
void | nc_data_xcor_get_cl_obs () |
void | nc_data_xcor_cov_func_abcd () |
This object implements the gaussian likelihood described in \cite{2017arXiv170604583D} for the joint analysis of an abitrary number of cosmic probes with their auto- and cross-angular pseudo power spectra. The covariance of the pseudo spectra implemented here is \begin{align} \mathrm{Cov}\left( \tilde{C}_{\ell}^{AB}, \tilde{C}_{\ell'}^{CD} \right) = & \sqrt{ D_{\ell}^{AD} D_{\ell'}^{AD} D_{\ell}^{BC} D_{\ell'}^{BC}} \mathbfss{X_1}_{\ell \ell'}^{ABCD}\nonumber \ &+ \sqrt{ D_{\ell}^{AC} D_{\ell'}^{AC} D_{\ell}^{BD} D_{\ell'}^{BD}} \mathbfss{X_2}_{\ell \ell'}^{ABCD} \end{align} with \begin{equation} D_{\ell}^{AB} = \left{ \begin{array}{ll} C_{\ell}^{AB} & \text{if } A \neq B \ C_{\ell}^{AA} + N_{\ell}^{A} & \text{if } A=B \ \end{array}\right. . \end{equation}
The matrices $X_{1/2}$ are fixed and describe the mixing between spectra due to the effect of the masks.
NcDataXcor * nc_data_xcor_new_full (const guint nobs
,NcXcor *xc
,gboolean use_norma
);
FIXME
nobs |
a guint, the number of observables |
|
xc |
a NcXcor to perform the computation of theoretical power spectra. |
|
use_norma |
a gboolean, whether to normalize the likehood. |
void nc_data_xcor_set_2 (NcDataXcor *dxc
,guint a
,guint b
,guint ell_th_cut_off
,guint ell_lik_min
,guint ell_lik_max
,const gchar *clobs_filename
,const gchar *mixing_filename
,const guint mixing_filelength
);
void nc_data_xcor_set_AB (NcDataXcor *dxc
,NcXcorAB *xcab
);
Links the data object to the object actually containing the data.
void
nc_data_xcor_set_3 (NcDataXcor *dxc
);
To be used once all data storage objects have been set.
void nc_data_xcor_set_4 (NcDataXcor *dxc
,guint a
,guint b
,guint c
,guint d
,const gchar *X1_filename
,const gchar *X2_filename
,guint X_filelength
);
Sets the $X_1$ and $X_2$ matrices used in the covariance matrix for observables $A$, $B$ $C$ and $D$.
dxc |
||
a |
a guint, the index of observable $A$ |
|
b |
a guint, the index of observable $B$ |
|
c |
a guint, the index of observable $C$ |
|
d |
a guint, the index of observable $D$ |
|
X1_filename |
a gchar, the name of the file where the matrix $X_1^{ABCD}$ is stored |
|
X2_filename |
a gchar, the name of the file where the matrix $X_2^{ABCD}$ is stored |
|
X_filelength |
a guint, the size of the actual matrices stored in theses files (in case it is larger than the maximum multipole used) |
void
nc_data_xcor_set_5 (NcDataXcor *dxc
);
To be used once all $X_{1/2}$ matrices have been set.
void nc_data_xcor_mean_func_ab (NcDataXcor *dxc
,NcmVector *vp
,guint a
,guint b
);
FIXME
void nc_data_xcor_get_cl_obs (NcDataXcor *dxc
,NcmVector *vp
,guint a
,guint b
);
FIXME
void nc_data_xcor_cov_func_abcd (NcDataXcor *dxc
,NcmMatrix *cov
,guint a
,guint b
,guint c
,guint d
);
FIXME
“nobs”
property “nobs” guint
Number of observables.
Owner: NcDataXcor
Flags: Read / Write / Construct
Allowed values: <= 5
Default value: 0
“xc”
property“xc” NcXcor *
Xcor object to compute theoretical spectra.
Owner: NcDataXcor
Flags: Read / Write
“xcab-oa”
property“xcab-oa” NcmObjArray *
NcXcorAB array.
Owner: NcDataXcor
Flags: Read / Write