Method

NumCosmoDataClusterWLFactoreval_m2lnP_gal

Declaration [src]

void
nc_data_cluster_wl_factor_eval_m2lnP_gal (
  NcDataClusterWLFactor* dcwlf,
  NcmMSet* mset,
  NcmVector* m2lnP_gal
)

Description [src]

Computes the per-galaxy $-2\ln P_i$ and stores them in m2lnP_gal — the per-galaxy breakdown of the total $-2\ln L$ returned by ncm_data_m2lnL_val(), primarily a parity-debugging diagnostic (see the class documentation). Galaxies whose likelihood is not finite (and are therefore skipped in the total) are left as NAN.

Parameters

mset

Type: NcmMSet

A NcmMSet.

The data is owned by the caller of the method.
m2lnP_gal

Type: NcmVector

A NcmVector of length equal to the number of galaxies, filled in place.

The data is owned by the caller of the method.