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_2
No description available.

nc_data_xcor_set_3

To be used once all data storage objects have been set.

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$.

nc_data_xcor_set_5

To be used once all $X_{1/2}$ matrices have been set.

nc_data_xcor_set_AB

Links the data object to the object actually containing the data.

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
No description available.
ncm_data_gauss_cov_get_size

Gets the data size.

ncm_data_gauss_cov_peek_cov
No description available.
ncm_data_gauss_cov_peek_mean
No description available.
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.

Methods inherited from NcmData (29)

Please see NcmData for a full list of methods.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmo.DataXcor:X1
No description available.

NumCosmo.DataXcor:X2
No description available.

NumCosmo.DataXcor:nobs
No description available.

NumCosmo.DataXcor:xc
No description available.

NumCosmo.DataXcor:xcab-oa
No description available.

Properties inherited from NcmDataGaussCov (4)
NumCosmoMath.DataGaussCov:cov
No description available.
NumCosmoMath.DataGaussCov:mean
No description available.
NumCosmoMath.DataGaussCov:n-points
No description available.
NumCosmoMath.DataGaussCov:use-norma
No description available.
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
No description available.
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.

Class structure

struct NumCosmoDataXcorClass {
  NcmDataGaussCovClass parent_class;
  
}

No description available.

Class members
parent_class: NcmDataGaussCovClass

No description available.