diff options
author | Gerrit Holl <g.holl@reading.ac.uk> | 2016-01-06 11:00:56 +0000 |
---|---|---|
committer | Hernan Grecco <hernan.grecco@gmail.com> | 2016-08-03 21:21:31 -0300 |
commit | 9ddac07901fb327d6807e84c06b360cc339abcc4 (patch) | |
tree | 69c352d30bd7ed140f6174d6e553f14949594c80 /pint/default_en.txt | |
parent | 9069f3f1da3dd95812a3d932845c010dc735e3d4 (diff) | |
download | pint-9ddac07901fb327d6807e84c06b360cc339abcc4.tar.gz |
ENH: Add support for wavenumber/kayser in spectroscopy context
In spectroscopy, it is (regrettably) common to express the wavelength in
units of wavenumber (a.k.a. kayser) or cm^{-1}. This commit adds support
to the default spectroscopy context, so that users can convert from
frequency and wavelength directly to wavenumber units such as kayser.
Diffstat (limited to 'pint/default_en.txt')
-rw-r--r-- | pint/default_en.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pint/default_en.txt b/pint/default_en.txt index e6a11a9..807d4ad 100644 --- a/pint/default_en.txt +++ b/pint/default_en.txt @@ -269,6 +269,8 @@ stere = meter ** 3 [length] <-> [frequency]: speed_of_light / n / value [frequency] -> [energy]: planck_constant * value [energy] -> [frequency]: value / planck_constant + # allow wavenumber / kayser + 1 / [length] <-> [length]: 1 / value @end @context boltzmann |