Provide Python access to Wire Cell system of units. It is made from WireCellUtil/Units.h by one time Emacs hackery and a few extra added for convenience.
wirecell.units.centimeter2 = centimeter*centimeter |
wirecell.units.centimeter3 = centimeter*centimeter*centimeter |
wirecell.units.cm = centimeter |
wirecell.units.cm2 = centimeter2 |
wirecell.units.cm3 = centimeter3 |
wirecell.units.eV = electronvolt |
wirecell.units.GBq = gigabecquerel |
wirecell.units.GeV = gigaelectronvolt |
wirecell.units.joule = electronvolt/e_SI |
wirecell.units.kBq = kilobecquerel |
wirecell.units.keV = kiloelectronvolt |
wirecell.units.km2 = kilometer2 |
wirecell.units.km3 = kilometer3 |
wirecell.units.MBq = megabecquerel |
wirecell.units.mCi = millicurie |
wirecell.units.megavolt = megaelectronvolt/eplus |
wirecell.units.MeV = megaelectronvolt |
wirecell.units.millimeter2 = millimeter*millimeter |
wirecell.units.millimeter3 = millimeter*millimeter*millimeter |
wirecell.units.mm = millimeter |
wirecell.units.mm2 = millimeter2 |
wirecell.units.mm3 = millimeter3 |
wirecell.units.mrad = milliradian |
wirecell.units.ms = millisecond |
wirecell.units.ns = nanosecond |
wirecell.units.PeV = petaelectronvolt |
wirecell.units.TeV = teraelectronvolt |
wirecell.units.uCi = microcurie |
wirecell.units.um = micrometer |
wirecell.units.us = microsecond |