summaryrefslogtreecommitdiff
path: root/pint
diff options
context:
space:
mode:
authorHernan Grecco <hernan.grecco@gmail.com>2013-12-13 01:12:07 -0300
committerHernan Grecco <hernan.grecco@gmail.com>2013-12-13 01:12:07 -0300
commit55711f15127e110b1edbe7af47bc3acaad5f9ac1 (patch)
treef385f94a885a34da83e80871d85eb70cefbcf036 /pint
parent9d34765aed601e53e4fed4d41631e9718b14380f (diff)
downloadpint-55711f15127e110b1edbe7af47bc3acaad5f9ac1.tar.gz
Added boltzmann context and index of refraction to spectroscopy
Diffstat (limited to 'pint')
-rw-r--r--pint/default_en.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/pint/default_en.txt b/pint/default_en.txt
index 8167495..97636f7 100644
--- a/pint/default_en.txt
+++ b/pint/default_en.txt
@@ -49,12 +49,18 @@ count = []
@import constants_en.txt
-@context spectroscopy = sp
+@context(n=1) spectroscopy = sp
# n index of refraction of the medium.
- [length] <-> [frequency]: speed_of_light / value
+ [length] <-> [frequency]: speed_of_light / n / value
[frequency] -> [energy]: planck_constant * value
[energy] -> [frequency]: value / planck_constant
[length] <-> 1 / [length]: 1 / value
+@end
+
+@context boltzmann
+ [temperature] -> [energy]: boltzmann_constant * value
+ [energy] -> [temperature]: value / boltzmann_constant
+@end
# acceleration
[acceleration] = [length] / [time] ** 2