The constants
module
A module which contains the following physical constants:
Name of variable |
Quantity it describes |
Units |
the solar radius |
\(\mathrm{cm}\) |
|
the solar mass |
\(\mathrm{g}\) |
|
the solar luminosity |
\(\mathrm{g.cm^2.s^{-3}}\) |
|
the solar effective temperature |
\(\mathrm{K}\) |
|
the solar large frequency separation |
\(\mathrm{\mu Hz}\) |
|
the solar frequency at maximum power |
\(\mathrm{\mu Hz}\) |
|
the solar cutoff frequency |
\(\mathrm{\mu Hz}\) |
|
the gravitational constant |
\(\mathrm{cm^3.g^{-1}.s^{-2}}\) |
|
the solar hydrogen content |
dimensionless |
|
the solar metallicity content |
dimensionless |
|
primordial helium |
dimensionless |
|
multiplicative constant in \(\mathrm{[M/H]=A_{FeH}[Fe/H]}\) |
dimensionless |
Note
These values can be edited according to the latest discoveries. As good practise, it is helpful to include the relevant reference.
- constants.A_FeH = 1.0
multiplicative constant which intervenes in the conversion from metal content to iron content
- constants.G = 6.67428e-08
the gravitational constant in \(\mathrm{cm^3.g^{-1}.s^{-2}}\)
- constants.Yp = 0.248
Primordial helium
- constants.solar_cutoff = 5300.0
the solar cut-off frequency separation in \(\mathrm{\mu Hz}\)
- constants.solar_dnu = 135.1
the solar large frequency separation in \(\mathrm{\mu Hz}\)
- constants.solar_luminosity = 3.8418e+33
the solar luminosity in \(\mathrm{g.cm^2.s^{-3}}\)
- constants.solar_mass = 1.9892e+33
the solar mass in \(\mathrm{g}\)
- constants.solar_numax = 3090.0
the solar frequency at maximum power in \(\mathrm{\mu Hz}\)
- constants.solar_radius = 69598000000.0
the solar radius in \(\mathrm{cm}\)
- constants.solar_temperature = 5777.0
the solar temperature in \(\mathrm{K}\)
- constants.solar_x = 0.7345
the solar hydrogen content
- constants.solar_z = 0.0169
the solar metallicity content