29 #ifndef PLANCK_CONSTANTS_H 30 #define PLANCK_CONSTANTS_H 35 const double pi=3.141592653589793238462643383279502884197;
36 const double twopi=6.283185307179586476925286766559005768394;
37 const double inv_twopi=1.0/twopi;
38 const double fourpi=12.56637061435917295385057353311801153679;
39 const double halfpi=1.570796326794896619231321691639751442099;
40 const double inv_halfpi=0.6366197723675813430755350534900574;
41 const double inv_sqrt4pi = 0.2820947917738781434740397257803862929220;
43 const double ln2 = 0.6931471805599453094172321214581766;
44 const double inv_ln2 = 1.4426950408889634073599246810018921;
45 const double ln10 = 2.3025850929940456840179914546843642;
47 const double onethird=1.0/3.0;
48 const double twothird=2.0/3.0;
49 const double fourthird=4.0/3.0;
51 const double degr2rad=pi/180.0;
52 const double arcmin2rad=degr2rad/60;
53 const double rad2degr=180.0/pi;
64 const double Jansky2SI=1.0e-26;
65 const double SI2Jansky=1.0e+26;
86 const double tcmb = 2.72548;
const double kBoltzmann
Boltzmann's constant in J/K (CODATA 2006)
const double hPlanck
Planck's constant in J s (CODATA 2006)
const double solarConstant
Solar constant in W/m^2.
const double tcmb
Average CMB temperature in K (Fixsen, ApJ 709 (2009), arXiv:0911.1955)
const double sigma2fwhm
Ratio between FWHM and sigma of a Gauss curve ( ).
const double sigmaStefanBoltzmann
Stefan-Boltzmann constant in W/m^2/K^4 (CODATA 2006)
const double sec_58_70
offset (in seconds) between Jan 1, 1958 and Jan 1, 1970
const double astronomicalUnit
Astronomical unit in m.
const double speedOfLight
Light speed in m/s (CODATA 2006)