valid.cosmo: validate the cosmologial parameters are enough

Description Usage Arguments Value See Also Examples

View source: R/valid.cosmo.R

Description

validate the cosmological parameter list is complete for other usage. If missing data detected, it will be filled with fiducial value. Also the warning message is printed in red for *nix enviroment.

Usage

1
valid.cosmo(cosmo)

Arguments

cosmo

cosmological parameter list

Value

the cosmo list will be updated if important variables are missing

See Also

parameter.fidcosmo

Examples

1
2
3
4
# there are two typos in the cosmology parameter list
a <- list(omegaM=0.272,omegaL0=0.728,omegaK=0.0,h0=0.704)
valid.cosmo(a)
print(a)

CRAC documentation built on May 2, 2019, 4:20 a.m.

Related to valid.cosmo in CRAC...