![]() |
![]() |
![]() |
NumCosmo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Supernovae Distance CovarianceSupernovae Distance Covariance — Calculates the covariance between distance estimates |
Synopsis
enum NcSNIADistCovParams; struct NcSNIADistCovClass; struct NcSNIADistCov; NcSNIADistCov * nc_snia_dist_cov_new (NcDistance *dist
); NcSNIADistCov * nc_snia_dist_cov_ref (NcSNIADistCov *dcov
); void nc_snia_dist_cov_free (NcSNIADistCov *dcov
); void nc_snia_dist_cov_clear (NcSNIADistCov **dcov
); void nc_snia_dist_cov_prepare (NcSNIADistCov *dcov
,NcmMSet *mset
); void nc_snia_dist_cov_prepare_if_needed (NcSNIADistCov *dcov
,NcmMSet *mset
); void nc_snia_dist_cov_calc (NcSNIADistCov *dcov
,NcDataSNIACov *snia_cov
,NcmMatrix *cov
); void nc_snia_dist_cov_mean (NcSNIADistCov *dcov
,NcHICosmo *cosmo
,NcDataSNIACov *snia_cov
,NcmVector *y
); #define NC_SNIA_DIST_COV_DEFAULT_ALPHA #define NC_SNIA_DIST_COV_DEFAULT_BETA #define NC_SNIA_DIST_COV_DEFAULT_M1 #define NC_SNIA_DIST_COV_DEFAULT_M2 #define NC_SNIA_DIST_COV_DEFAULT_PARAMS_ABSTOL #define NC_SNIA_DIST_COV_SIGMA_INT #define NC_SNIA_DIST_COV_SIGMA_INT_DEFAULT_LEN #define NC_SNIA_DIST_COV_DEFAULT_SIGMA_INT #define NC_SNIA_DIST_COV_VPARAM_LEN
Properties
"M1" gdouble : Read / Write "M1-fit" gboolean : Read / Write "M2" gdouble : Read / Write "M2-fit" gboolean : Read / Write "alpha" gdouble : Read / Write "alpha-fit" gboolean : Read / Write "beta" gdouble : Read / Write "beta-fit" gboolean : Read / Write "dist" NcDistance* : Read / Write / Construct "sigma-int" GVariant* : Read / Write "sigma-int-fit" GVariant* : Read / Write "sigma-int-length" guint : Read / Write / Construct Only
Description
This object implements the calculation necessary to make a statistical analysis using data from Conley et al. (2011) and Sullivan et al. (2011).
Details
enum NcSNIADistCovParams
typedef enum { NC_SNIA_DIST_COV_ALPHA = 0, NC_SNIA_DIST_COV_BETA, NC_SNIA_DIST_COV_M1, } NcSNIADistCovParams;
FIXME
nc_snia_dist_cov_new ()
NcSNIADistCov * nc_snia_dist_cov_new (NcDistance *dist
);
FIXME
|
FIXME |
Returns : |
FIXME |
nc_snia_dist_cov_ref ()
NcSNIADistCov * nc_snia_dist_cov_ref (NcSNIADistCov *dcov
);
FIXME
|
FIXME |
Returns : |
FIXME. [transfer full] |
nc_snia_dist_cov_prepare_if_needed ()
void nc_snia_dist_cov_prepare_if_needed (NcSNIADistCov *dcov
,NcmMSet *mset
);
nc_snia_dist_cov_calc ()
void nc_snia_dist_cov_calc (NcSNIADistCov *dcov
,NcDataSNIACov *snia_cov
,NcmMatrix *cov
);
FIXME
|
FIXME |
|
FIXME |
|
FIXME |
nc_snia_dist_cov_mean ()
void nc_snia_dist_cov_mean (NcSNIADistCov *dcov
,NcHICosmo *cosmo
,NcDataSNIACov *snia_cov
,NcmVector *y
);
FIXME
|
FIXME |
|
FIXME |
|
FIXME |
|
FIXME |
Property Details
The "M1"
property
"M1" gdouble : Read / Write
Absolute Magnitude 1.
Allowed values: [-50,10]
Default value: -19.1686
The "M1-fit"
property
"M1-fit" gboolean : Read / Write
Absolute Magnitude 1:fit.
Default value: FALSE
The "M2"
property
"M2" gdouble : Read / Write
Absolute Magnitude 2.
Allowed values: [-50,10]
Default value: -19.1856
The "M2-fit"
property
"M2-fit" gboolean : Read / Write
Absolute Magnitude 2:fit.
Default value: FALSE
The "alpha"
property
"alpha" gdouble : Read / Write
alpha.
Allowed values: [-10,10]
Default value: 1.45
The "beta"
property
"beta" gdouble : Read / Write
beta.
Allowed values: [-10,10]
Default value: 3.16
The "sigma-int"
property
"sigma-int" GVariant* : Read / Write
Sigma intrisic.
Allowed values: GVariant<ad>
Default value: NULL
The "sigma-int-fit"
property
"sigma-int-fit" GVariant* : Read / Write
Sigma intrisic:fit.
Allowed values: GVariant<a*>
Default value: NULL
The "sigma-int-length"
property
"sigma-int-length" guint : Read / Write / Construct Only
Sigma intrisic:length.
Default value: 4