summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Panorama.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Panorama.cxx b/src/Panorama.cxx
index aa358ec..aba5fbf 100644
--- a/src/Panorama.cxx
+++ b/src/Panorama.cxx
@@ -431,6 +431,8 @@ Panorama::alpha(const Hill *m) {
return fmod(atan2(sin_alph, cos_alph) + 2.0 * pi_d, 2.0 * pi_d);
}
+// approximation of refraction effect as described by Tom Chester at
+// http://tchester.org/sgm/analysis/peaks/refraction.html
double
Panorama::refraction(const Hill *m) {
double a, b, c, alpha = 6.5, T0 = 10.0;