The constants module
A module which contains the following physical constants:
Note
These values can be edited according to the latest discoveries. As good practise, it is helpful to include the relevant reference.
- constants.G = 6.67428e-08
the gravitational constant in \(\mathrm{cm^3.g^{-1}.s^{-2}}\)
- 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}\)