Class
NumCosmoDataXcor
Description [src]
final class NumCosmo.DataXcor : NumCosmoMath.DataGaussCov
{
/* No available fields */
}
Cross-correlation data object.
This object implements the gaussian likelihood described in \cite{2017arXiv170604583D} for the joint analysis of an arbitrary 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.
Constructors
nc_data_xcor_new_full
Creates a new NcDataXcor object for cross-correlation data analysis.
This initializes the data structure for nobs observables using the
cross-correlation object xc for theoretical predictions.
Instance methods
nc_data_xcor_cov_func_abcd
Computes the covariance matrix for the cross-correlation between pairs
of observables (a,b) and (c,d), storing the result in matrix cov.
nc_data_xcor_get_cl_obs
Gets the observed angular power spectrum $C_\ell$ for the cross-correlation
between observables a and b, storing the values in vector vp.
nc_data_xcor_mean_func_ab
Computes the mean function (theoretical pseudo-$C_\ell$) for the
cross-correlation between observables a and b, storing the result in vp.
nc_data_xcor_set_4
Sets the $X_1$ and $X_2$ matrices used in the covariance matrix for observables $A$, $B$ $C$ and $D$.
Methods inherited from NcmDataGaussCov (11)
ncm_data_gauss_cov_bulk_resample
Resamples the data based on the models in mset according to the current
data distribution. The resampled data is stored in resample. The resampling
is done in bulk, i.e., all the data is resampled at once.
ncm_data_gauss_cov_compute_cov
Computes the covariance matrix based on the models in mset. If
the ncm_data_gauss_cov_func is not set, returns NULL.
ncm_data_gauss_cov_compute_mean
Computes the mean vector based on the models in mset. If
the ncm_data_gauss_cov_mean_func is not set, returns NULL.
ncm_data_gauss_cov_get_log_norma
ncm_data_gauss_cov_get_size
Gets the data size.
ncm_data_gauss_cov_peek_cov
ncm_data_gauss_cov_peek_mean
ncm_data_gauss_cov_replace_mean
Replaces the current mean vector for mean.
ncm_data_gauss_cov_set_cov
Sets a NcmMatrix representing the covariance matrix in each bin.
ncm_data_gauss_cov_set_size
Sets the data size to np.
ncm_data_gauss_cov_use_norma
Sets whether the value of $-2\ln(L)$ will be properly normalized.
Properties
Properties inherited from NcmDataGaussCov (4)
NumCosmoMath.DataGaussCov:cov
NumCosmoMath.DataGaussCov:mean
NumCosmoMath.DataGaussCov:n-points
NumCosmoMath.DataGaussCov:use-norma
Properties inherited from NcmData (5)
NumCosmoMath.Data:bootstrap
The NcmData bootstrap object if any.
NumCosmoMath.Data:desc
Description of the data object.
NumCosmoMath.Data:init
NumCosmoMath.Data:long-desc
Description of the data object.
NumCosmoMath.Data:name
Name of the data object.
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.