PyCos  1.x
Cosmology Class Reference

#include <Cosmology.h>

List of all members.

Public Member Functions

 Cosmology (double o_m=0.260, double omega_x=0.740, double omega_k=0.0, double w_x=-1.0, double h=0.72)
 ~Cosmology ()
double D_C (double z1, double z2)
double D_M (double z1, double z2)
double ang_dist (double z)
double ang_dist_z1_z2 (double z1, double z2)
double lum_dist (double z)
double unit_comoving_volume (double z, void *params)
double comoving_volume_z1_z2 (double z1, double z2)
double comoving_volume_0_z (double z)
double lookback_time (double z)
double age (double z)
double age_now (void)
double conformal_time (double z)

Private Attributes

double omega_m
double omega_x
double omega_k
double w_x
double h

Detailed Description

Definition at line 9 of file Cosmology.h.


Constructor & Destructor Documentation

Cosmology::Cosmology ( double  o_m = 0.260,
double  omega_x = 0.740,
double  omega_k = 0.0,
double  w_x = -1.0,
double  h = 0.72 
)

Constructs a cosmological model. Deafulat values are the concordance LCDM.

The destructor does nothing.


Member Function Documentation

double Cosmology::age ( double  z)

Cosmic age at z in years

double Cosmology::age_now ( void  )

Cosmic age at z=0 in years

double Cosmology::ang_dist ( double  z)

Angular size distance to a given redshift z. It returns distance in Mpc.

double Cosmology::ang_dist_z1_z2 ( double  z1,
double  z2 
)

Angular size distance between z1 and z2. It returns distance in Mpc.

double Cosmology::comoving_volume_0_z ( double  z)

Comoving volume between z=0 and z in Mpc^3 per unit solid angle.

double Cosmology::comoving_volume_z1_z2 ( double  z1,
double  z2 
)

Comoving volume between z1 and z2 in Mpc^3 per unit solid angle.

double Cosmology::conformal_time ( double  z)

Conformal time at z in years

double Cosmology::D_C ( double  z1,
double  z2 
)

(Radial) comoving distance. It returns comoving distance between z1 and z2 in Mpc.

double Cosmology::D_M ( double  z1,
double  z2 
)

Proper distance (aka. transverse comoving distance). It returns proper distance between z1 and z2 in Mpc.

double Cosmology::lookback_time ( double  z)

Lookback time to z in years

double Cosmology::lum_dist ( double  z)

Luminosity distance to a given redshift z. It returns distance in Mpc.

double Cosmology::unit_comoving_volume ( double  z,
void *  params 
)

Unit comoving volume at a given redshift z. It returens volume in Mpc^3 per unit solid angle and unit change of redshift.


Member Data Documentation

double Cosmology::h [private]

parametrized Hubble constant, H = 100h km s^-1 Mpc^-1

Definition at line 16 of file Cosmology.h.

double Cosmology::omega_k [private]

Omega curvature

Definition at line 14 of file Cosmology.h.

double Cosmology::omega_m [private]

Omega mass

Definition at line 12 of file Cosmology.h.

double Cosmology::omega_x [private]

Omega dark energy

Definition at line 13 of file Cosmology.h.

double Cosmology::w_x [private]

EOS of dark energy

Definition at line 15 of file Cosmology.h.


The documentation for this class was generated from the following file: