PyCos  1.x
Cosmology.h File Reference

Go to the source code of this file.

Classes

class  Cosmology

Functions

double E_z (double x, void *params)
double time_integral (double x, void *params)
double schechter (double L, double phi_star, double alpha, double L_star)
double number_schechter (double L, double phi_star, double alpha, double L_star)
double total_number_schechter (double phi_star, double alpha)
double luminosity_schechter (double L, double phi_star, double alpha, double L_star)
double total_luminosity_schechter (double phi_star, double alpha, double L_star)
double double_schechter (double L, double phi_star1, double alpha1, double L_star1, double phi_star2, double alpha2, double L_star2)
double number_double_schechter (double L, double phi_star1, double alpha1, double L_star1, double phi_star2, double alpha2, double L_star2)
double luminosity_double_schechter (double L, double phi_star1, double alpha1, double L_star1, double phi_star2, double alpha2, double L_star2)
double total_luminosity_double_schechter (double phi_star1, double alpha1, double L_star1, double phi_star2, double alpha2, double L_star2)

Function Documentation

double double_schechter ( double  L,
double  phi_star1,
double  alpha1,
double  L_star1,
double  phi_star2,
double  alpha2,
double  L_star2 
)

General double Schechter function phi(L) phi(L) dL = phi_star1 * (L/L_star1)^alpha1 * exp(-L/L_star1) dL / L_star1 + phi_star2 * (L/L_star2)^alpha2 * exp(-L/L_star2) dL / L_star2 The unit of phi(L) is same as that of phi_star1 and phi_star2.

double E_z ( double  x,
void *  params 
)
double luminosity_double_schechter ( double  L,
double  phi_star1,
double  alpha1,
double  L_star1,
double  phi_star2,
double  alpha2,
double  L_star2 
)

the luminosity integration of double Schechter function L(>L) L(>L) = Integration of L*phi(L) from L to infinity The unit of the returned value depends on the unit of phi_star.

double luminosity_schechter ( double  L,
double  phi_star,
double  alpha,
double  L_star 
)

the luminosity integration of Schechter function L(>L) L(>L) = Integration of L*phi(L) from L to infinity The unit of the returned value depends on the unit of phi_star.

double number_double_schechter ( double  L,
double  phi_star1,
double  alpha1,
double  L_star1,
double  phi_star2,
double  alpha2,
double  L_star2 
)

the number integration of double Schechter function N(>L) N(>L) = Integration of phi(L) from L to infinity The unit of the returned value depends on the unit of phi_star.

double number_schechter ( double  L,
double  phi_star,
double  alpha,
double  L_star 
)

the number integration of Schechter function N(>L) N(>L) = Integration of phi(L) from L to infinity The unit of the returned value depends on the unit of phi_star.

double schechter ( double  L,
double  phi_star,
double  alpha,
double  L_star 
)

Schechter function phi(L) phi(L) dL = phi_star * (L/L_star)^alpha * exp(-L/L_star) dL / L_star The unit of phi(L) is same as that of phi_star.

double time_integral ( double  x,
void *  params 
)
double total_luminosity_double_schechter ( double  phi_star1,
double  alpha1,
double  L_star1,
double  phi_star2,
double  alpha2,
double  L_star2 
)

the luminosity integration of double Schechter function L(>0) L(>0) = Integration of L*phi(L) from 0 to infinity The unit of the returned value depends on the unit of phi_star.

double total_luminosity_schechter ( double  phi_star,
double  alpha,
double  L_star 
)

the luminosity integration of Schechter function L(>0) L(>0) = Integration of L*phi(L) from 0 to infinity The unit of the returned value depends on the unit of phi_star.

double total_number_schechter ( double  phi_star,
double  alpha 
)

the number integration of Schechter function N(>0) N(>0) = Integration of phi(L) from 0 to infinity The unit of the returned value depends on the unit of phi_star.