FairShip
Loading...
Searching...
No Matches
hepunit.py File Reference
Go to the source code of this file.
Namespaces
namespace
hepunit
Variables
float
hepunit.millimeter
= 1.0
float
hepunit.millimeter2
=
millimeter
*
millimeter
float
hepunit.millimeter3
=
millimeter
*
millimeter
*
millimeter
float
hepunit.centimeter
= 10.0 *
millimeter
float
hepunit.centimeter2
=
centimeter
*
centimeter
float
hepunit.centimeter3
=
centimeter
*
centimeter
*
centimeter
float
hepunit.meter
= 1000.0 *
millimeter
float
hepunit.meter2
=
meter
*
meter
float
hepunit.meter3
=
meter
*
meter
*
meter
float
hepunit.kilometer
= 1000.0 *
meter
float
hepunit.kilometer2
=
kilometer
*
kilometer
float
hepunit.kilometer3
=
kilometer
*
kilometer
*
kilometer
float
hepunit.parsec
= 3.0856775807e16 *
meter
float
hepunit.micrometer
= 1.0e-6 *
meter
float
hepunit.nanometer
= 1.0e-9 *
meter
float
hepunit.angstrom
= 1.0e-10 *
meter
float
hepunit.fermi
= 1.0e-15 *
meter
float
hepunit.barn
= 1.0e-28 *
meter2
float
hepunit.millibarn
= 1.0e-3 *
barn
float
hepunit.microbarn
= 1.0e-6 *
barn
float
hepunit.nanobarn
= 1.0e-9 *
barn
float
hepunit.picobarn
= 1.0e-12 *
barn
float
hepunit.mm
=
millimeter
float
hepunit.mm2
=
millimeter2
float
hepunit.mm3
=
millimeter3
float
hepunit.cm
=
centimeter
float
hepunit.cm2
=
centimeter2
float
hepunit.cm3
=
centimeter3
float
hepunit.m
=
meter
float
hepunit.m2
=
meter2
float
hepunit.m3
=
meter3
float
hepunit.km
=
kilometer
float
hepunit.km2
=
kilometer2
float
hepunit.km3
=
kilometer3
float
hepunit.pc
=
parsec
float
hepunit.radian
= 1.0
float
hepunit.milliradian
= 1.0e-3 *
radian
tuple
hepunit.degree
= (3.14159265358979323846 / 180.0) *
radian
float
hepunit.steradian
= 1.0
float
hepunit.rad
=
radian
float
hepunit.mrad
=
milliradian
float
hepunit.sr
=
steradian
tuple
hepunit.deg
=
degree
float
hepunit.nanosecond
= 1.0
float
hepunit.second
= 1.0e9 *
nanosecond
float
hepunit.millisecond
= 1.0e-3 *
second
float
hepunit.microsecond
= 1.0e-6 *
second
float
hepunit.picosecond
= 1.0e-12 *
second
float
hepunit.hertz
= 1.0 /
second
float
hepunit.kilohertz
= 1.0e3 *
hertz
float
hepunit.megahertz
= 1.0e6 *
hertz
float
hepunit.ns
=
nanosecond
float
hepunit.s
=
second
float
hepunit.ms
=
millisecond
float
hepunit.eplus
= 1.0
float
hepunit.e_SI
= 1.60217733e-19
float
hepunit.coulomb
=
eplus
/
e_SI
float
hepunit.megaelectronvolt
= 1.0
float
hepunit.electronvolt
= 1.0e-6 *
megaelectronvolt
float
hepunit.kiloelectronvolt
= 1.0e-3 *
megaelectronvolt
float
hepunit.gigaelectronvolt
= 1.0e3 *
megaelectronvolt
float
hepunit.teraelectronvolt
= 1.0e6 *
megaelectronvolt
float
hepunit.petaelectronvolt
= 1.0e9 *
megaelectronvolt
float
hepunit.joule
=
electronvolt
/
e_SI
float
hepunit.MeV
=
megaelectronvolt
float
hepunit.eV
=
electronvolt
float
hepunit.keV
=
kiloelectronvolt
float
hepunit.GeV
=
gigaelectronvolt
float
hepunit.TeV
=
teraelectronvolt
float
hepunit.PeV
=
petaelectronvolt
float
hepunit.kilogram
=
joule
*
second
*
second
/ (
meter
*
meter
)
float
hepunit.gram
= 1.0e-3 *
kilogram
float
hepunit.milligram
= 1.0e-3 *
gram
float
hepunit.kg
=
kilogram
float
hepunit.g
=
gram
float
hepunit.mg
=
milligram
float
hepunit.watt
=
joule
/
second
float
hepunit.newton
=
joule
/
meter
float
hepunit.pascal
=
newton
/
m2
int
hepunit.bar
= 100000 *
pascal
int
hepunit.atmosphere
= 101325 *
pascal
float
hepunit.ampere
=
coulomb
/
second
float
hepunit.milliampere
= 1.0e-3 *
ampere
float
hepunit.microampere
= 1.0e-6 *
ampere
float
hepunit.nanoampere
= 1.0e-9 *
ampere
float
hepunit.megavolt
=
megaelectronvolt
/
eplus
float
hepunit.kilovolt
= 1.0e-3 *
megavolt
float
hepunit.volt
= 1.0e-6 *
megavolt
float
hepunit.ohm
=
volt
/
ampere
float
hepunit.farad
=
coulomb
/
volt
float
hepunit.millifarad
= 1.0e-3 *
farad
float
hepunit.microfarad
= 1.0e-6 *
farad
float
hepunit.nanofarad
= 1.0e-9 *
farad
float
hepunit.picofarad
= 1.0e-12 *
farad
float
hepunit.weber
=
volt
*
second
float
hepunit.tesla
=
volt
*
second
/
meter2
float
hepunit.gauss
= 1.0e-4 *
tesla
float
hepunit.kilogauss
= 1.0e-1 *
tesla
float
hepunit.henry
=
weber
/
ampere
float
hepunit.kelvin
= 1.0
float
hepunit.mole
= 1.0
float
hepunit.becquerel
= 1.0 /
second
float
hepunit.curie
= 3.7e10 *
becquerel
float
hepunit.gray
=
joule
/
kilogram
float
hepunit.candela
= 1.0
float
hepunit.lumen
=
candela
*
steradian
float
hepunit.lux
=
lumen
/
meter2
float
hepunit.perCent
= 0.01
float
hepunit.perThousand
= 0.001
float
hepunit.perMillion
= 0.000001
float
hepunit.pi
= 3.14159265358979323846
float
hepunit.twopi
= 2.0 *
pi
float
hepunit.halfpi
=
pi
/ 2.0
float
hepunit.pi2
=
pi
*
pi
float
hepunit.Avogadro
= 6.0221367e23 /
mole
float
hepunit.c_light
= 2.99792458e8 *
m
/
s
float
hepunit.c_squared
=
c_light
*
c_light
float
hepunit.h_Planck
= 6.6260755e-34 *
joule
*
s
float
hepunit.hbar_Planck
=
h_Planck
/
twopi
float
hepunit.hbarc
=
hbar_Planck
*
c_light
float
hepunit.hbarc_squared
=
hbarc
*
hbarc
float
hepunit.electron_charge
= -
eplus
float
hepunit.e_squared
=
eplus
*
eplus
float
hepunit.electron_mass_c2
= 0.51099906 *
MeV
float
hepunit.proton_mass_c2
= 938.27231 *
MeV
float
hepunit.neutron_mass_c2
= 939.56563 *
MeV
float
hepunit.amu_c2
= 931.49432 *
MeV
float
hepunit.amu
=
amu_c2
/
c_squared
int
hepunit.mu0
= 4 *
pi
* 1.0e-7 *
henry
/
m
float
hepunit.epsilon0
= 1.0 / (
c_squared
*
mu0
)
float
hepunit.elm_coupling
=
e_squared
/ (4 *
pi
*
epsilon0
)
float
hepunit.fine_structure_const
=
elm_coupling
/
hbarc
float
hepunit.classic_electr_radius
=
elm_coupling
/
electron_mass_c2
float
hepunit.electron_Compton_length
=
hbarc
/
electron_mass_c2
float
hepunit.Bohr_radius
=
electron_Compton_length
/
fine_structure_const
float
hepunit.alpha_rcl2
=
fine_structure_const
*
classic_electr_radius
*
classic_electr_radius
float
hepunit.twopi_mc2_rcl2
=
twopi
*
electron_mass_c2
*
classic_electr_radius
*
classic_electr_radius
float
hepunit.k_Boltzmann
= 8.617385e-11 *
MeV
/
kelvin
float
hepunit.STP_Temperature
= 273.15 *
kelvin
float
hepunit.STP_Pressure
= 1.0 *
atmosphere
float
hepunit.kGasThreshold
= 10.0 *
mg
/
cm3
float
hepunit.universe_mean_density
= 1.0e-25 *
g
/
cm3
python
hepunit.py
Generated by
Doxygen
1.15.0