valid.cosmo {CRAC}R Documentation

validate the cosmologial parameters are enough

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

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

# 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)

[Package CRAC version 1.0 Index]