The constants module

A module which contains the following physical constants:

Name of variable

Quantity it describes

Units

solar_radius

the solar radius

\(\mathrm{cm}\)

solar_mass

the solar mass

\(\mathrm{g}\)

solar_luminosity

the solar luminosity

\(\mathrm{g.cm^2.s^{-3}}\)

solar_temperature

the solar effective temperature

\(\mathrm{K}\)

solar_dnu

the solar large frequency separation

\(\mathrm{\mu Hz}\)

solar_numax

the solar frequency at maximum power

\(\mathrm{\mu Hz}\)

solar_cutoff

the solar cutoff frequency

\(\mathrm{\mu Hz}\)

G

the gravitational constant

\(\mathrm{cm^3.g^{-1}.s^{-2}}\)

solar_x

the solar hydrogen content

dimensionless

solar_z

the solar metallicity content

dimensionless

Yp

primordial helium

dimensionless

A_FeH

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