4.3 pygsl.const.cgsm
Scientific constants in cgsm units

from pygsl.const import cgsm
print "a teaspoon contains %g ml"%cgs.teaspoon

You can access the following constants:

Name gsl Name unit or value
speed_of_light GSL_CONST_CGSM_SPEED_OF_LIGHT cm / s
gravitational_constant GSL_CONST_CGSM_GRAVITATIONAL_CONSTANT cm^3 / g s^ 2
plancks_constant_h GSL_CONST_CGSM_PLANCKS_CONSTANT_H g cm^2 / s
plancks_constant_hbar GSL_CONST_CGSM_PLANCKS_CONSTANT_HBAR g cm^2 / s
vacuum_permeability GSL_CONST_CGSM_VACUUM_PERMEABILITY cm g / A^2 s^2
astronomical_unit GSL_CONST_CGSM_ASTRONOMICAL_UNIT cm
light_year GSL_CONST_CGSM_LIGHT_YEAR cm
parsec GSL_CONST_CGSM_PARSEC cm
grav_accel GSL_CONST_CGSM_GRAV_ACCEL cm / s^2
electron_volt GSL_CONST_CGSM_ELECTRON_VOLT g cm^2 / s^2
mass_electron GSL_CONST_CGSM_MASS_ELECTRON g
mass_muon GSL_CONST_CGSM_MASS_MUON g
mass_proton GSL_CONST_CGSM_MASS_PROTON g
mass_neutron GSL_CONST_CGSM_MASS_NEUTRON g
rydberg GSL_CONST_CGSM_RYDBERG g cm^2 / s^2
boltzmann GSL_CONST_CGSM_BOLTZMANN g cm^2 / K s^2
bohr_magneton GSL_CONST_CGSM_BOHR_MAGNETON A cm^2
nuclear_magneton GSL_CONST_CGSM_NUCLEAR_MAGNETON A cm^2
electron_magnetic_moment GSL_CONST_CGSM_ELECTRON_MAGNETIC_MOMENT A cm^2
proton_magnetic_moment GSL_CONST_CGSM_PROTON_MAGNETIC_MOMENT A cm^2
molar_gas GSL_CONST_CGSM_MOLAR_GAS g cm^2 / K mol s^2
standard_gas_volume GSL_CONST_CGSM_STANDARD_GAS_VOLUME cm^3 / mol
minute GSL_CONST_CGSM_MINUTE s
hour GSL_CONST_CGSM_HOUR s
day GSL_CONST_CGSM_DAY s
week GSL_CONST_CGSM_WEEK s
inch GSL_CONST_CGSM_INCH cm
foot GSL_CONST_CGSM_FOOT cm
yard GSL_CONST_CGSM_YARD cm
mile GSL_CONST_CGSM_MILE cm
nautical_mile GSL_CONST_CGSM_NAUTICAL_MILE cm
fathom GSL_CONST_CGSM_FATHOM cm
mil GSL_CONST_CGSM_MIL cm
point GSL_CONST_CGSM_POINT cm
texpoint GSL_CONST_CGSM_TEXPOINT cm
micron GSL_CONST_CGSM_MICRON cm
angstrom GSL_CONST_CGSM_ANGSTROM cm
hectare GSL_CONST_CGSM_HECTARE cm^2
acre GSL_CONST_CGSM_ACRE cm^2
barn GSL_CONST_CGSM_BARN cm^2
liter GSL_CONST_CGSM_LITER cm^3
us_gallon GSL_CONST_CGSM_US_GALLON cm^3
quart GSL_CONST_CGSM_QUART cm^3
pint GSL_CONST_CGSM_PINT cm^3
cup GSL_CONST_CGSM_CUP cm^3
fluid_ounce GSL_CONST_CGSM_FLUID_OUNCE cm^3
tablespoon GSL_CONST_CGSM_TABLESPOON cm^3
teaspoon GSL_CONST_CGSM_TEASPOON cm^3
canadian_gallon GSL_CONST_CGSM_CANADIAN_GALLON cm^3
uk_gallon GSL_CONST_CGSM_UK_GALLON cm^3
miles_per_hour GSL_CONST_CGSM_MILES_PER_HOUR cm / s
kilometers_per_hour GSL_CONST_CGSM_KILOMETERS_PER_HOUR cm / s
knot GSL_CONST_CGSM_KNOT cm / s
pound_mass GSL_CONST_CGSM_POUND_MASS g
ounce_mass GSL_CONST_CGSM_OUNCE_MASS g
ton GSL_CONST_CGSM_TON g
metric_ton GSL_CONST_CGSM_METRIC_TON g
uk_ton GSL_CONST_CGSM_UK_TON g
troy_ounce GSL_CONST_CGSM_TROY_OUNCE g
carat GSL_CONST_CGSM_CARAT g
unified_atomic_mass GSL_CONST_CGSM_UNIFIED_ATOMIC_MASS g
gram_force GSL_CONST_CGSM_GRAM_FORCE cm g / s^2
pound_force GSL_CONST_CGSM_POUND_FORCE cm g / s^2
kilopound_force GSL_CONST_CGSM_KILOPOUND_FORCE cm g / s^2
poundal GSL_CONST_CGSM_POUNDAL cm g / s^2
calorie GSL_CONST_CGSM_CALORIE g cm^2 / s^2
btu GSL_CONST_CGSM_BTU g cm^2 / s^2
therm GSL_CONST_CGSM_THERM g cm^2 / s^2
horsepower GSL_CONST_CGSM_HORSEPOWER g cm^2 / s^3
bar GSL_CONST_CGSM_BAR g / cm s^2
std_atmosphere GSL_CONST_CGSM_STD_ATMOSPHERE g / cm s^2
torr GSL_CONST_CGSM_TORR g / cm s^2
meter_of_mercury GSL_CONST_CGSM_METER_OF_MERCURY g / cm s^2
inch_of_mercury GSL_CONST_CGSM_INCH_OF_MERCURY g / cm s^2
inch_of_water GSL_CONST_CGSM_INCH_OF_WATER g / cm s^2
psi GSL_CONST_CGSM_PSI g / cm s^2
poise GSL_CONST_CGSM_POISE g / cm s
stokes GSL_CONST_CGSM_STOKES cm^2 / s
faraday GSL_CONST_CGSM_FARADAY A s / mol
electron_charge GSL_CONST_CGSM_ELECTRON_CHARGE A s
gauss GSL_CONST_CGSM_GAUSS g / A s^2
stilb GSL_CONST_CGSM_STILB cd / cm^2
lumen GSL_CONST_CGSM_LUMEN cd sr
lux GSL_CONST_CGSM_LUX cd sr / cm^2
phot GSL_CONST_CGSM_PHOT cd sr / cm^2
footcandle GSL_CONST_CGSM_FOOTCANDLE cd sr / cm^2
lambert GSL_CONST_CGSM_LAMBERT cd sr / cm^2
footlambert GSL_CONST_CGSM_FOOTLAMBERT cd sr / cm^2
curie GSL_CONST_CGSM_CURIE 1 / s
roentgen GSL_CONST_CGSM_ROENTGEN A s / g
rad GSL_CONST_CGSM_RAD cm^2 / s^2
solar_mass GSL_CONST_CGSM_SOLAR_MASS g
bohr_radius GSL_CONST_CGSM_BOHR_RADIUS cm
vacuum_permittivity GSL_CONST_CGSM_VACUUM_PERMITTIVITY A^2 s^4 / g cm^3