Class
NumCosmoSNIADistCov
Description [src]
class NumCosmo.SNIADistCov : NumCosmoMath.Model
{
/* No available fields */
}
Supernovae distance covariance between distance estimates.
This object implements the calculation necessary to make a statistical analysis using data from [Conley et al. (2011)][XConley2011] and [Sullivan et al. (2011)][XSullivan2011].
Is also supports [Betoule et al. (2014)][XBetoule2014].
Constructors
nc_snia_dist_cov_new
Creates a new NcSNIADistCov object for Type Ia supernovae distance modulus with covariance matrix.
nc_snia_dist_cov_new_by_id
Creates a new SNIa model using the default values for the sample
defined by snia_id.
Functions
nc_snia_dist_cov_clear
If dcov is not NULL, decreases the reference count of dcov and sets dcov to
NULL.
Instance methods
nc_snia_dist_cov_calc
Computes the covariance matrix for the SN Ia distance estimates.
If the covariance matrix is already computed and the parameters are the same,
the function returns FALSE.
nc_snia_dist_cov_extra_var
Computes the total variance of the i-th distance, not related to the
magnitude, width or colour errors.
nc_snia_dist_cov_free
Decreases the reference count of dcov. If the reference count reaches 0, the object
is freed.
nc_snia_dist_cov_mag_to_width_colour
Computes effective observed vector obs, the first snia_cov->mu_len parameters
are set to the width colour combination using the values of the distance
modulus from the model cosmo and the SNIa model dcov, i.e.,
$-\alpha{}w_i+\beta{}c_i = m_{\mathrm{B},i} - \mu_{\mathrm{th},i}-\alpha-\mathcal{M}_i$.
The next 2 * snia_cov->mu_len are the observed widths and then the observed colours.
nc_snia_dist_cov_mean_V2
Computes the mean of the SN Ia distance estimates for the second version of the model.
nc_snia_dist_cov_prepare_if_needed
Prepares the distance calculation using the cosmological model from mset if needed.
Properties
Properties inherited from NcmModel (9)
NumCosmoMath.Model:implementation
NumCosmoMath.Model:name
NumCosmoMath.Model:nick
NumCosmoMath.Model:params-types
NumCosmoMath.Model:reparam
NumCosmoMath.Model:scalar-params-len
NumCosmoMath.Model:sparam-array
NumCosmoMath.Model:submodel-array
NumCosmoMath.Model:vector-params-len
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.