aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-06 14:46:22 +0200
committerMattias Andrée <maandree@kth.se>2016-07-06 14:46:22 +0200
commit0d93691a5017d784b6492f26f3e281b75ea33574 (patch)
tree94e6c1f90438f86a53786a6d3d21de0c0701d1c1
parentm (diff)
downloadsolar-python-0d93691a5017d784b6492f26f3e281b75ea33574.tar.gz
solar-python-0d93691a5017d784b6492f26f3e281b75ea33574.tar.bz2
solar-python-0d93691a5017d784b6492f26f3e281b75ea33574.tar.xz
Correct golden hour (used bad source)
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--doc/info/solar-python.texinfo2
-rw-r--r--src/solar_python.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/info/solar-python.texinfo b/doc/info/solar-python.texinfo
index 3baafef..e7a6d73 100644
--- a/doc/info/solar-python.texinfo
+++ b/doc/info/solar-python.texinfo
@@ -132,7 +132,7 @@ astronomical twilight, measured in degrees
The Sun's lowest and highest elevation during
amateur astronomical twilight, measured in degrees
-@item SOLAR_ELEVATION_RANGE_GOLDEN_HOUR = (10.0, 12.0)
+@item SOLAR_ELEVATION_RANGE_GOLDEN_HOUR = (-4.0, 6.0)
The Sun's lowest and highest elevation during
the golden hour (magic hour), measured in degrees.
These elevations are approximate.
diff --git a/src/solar_python.py b/src/solar_python.py
index 80dae4a..e39327f 100644
--- a/src/solar_python.py
+++ b/src/solar_python.py
@@ -88,7 +88,7 @@ SOLAR_ELEVATION_RANGE_AMATEUR_ASTRONOMICAL_TWILIGHT = (-18.0, -15.0)
amateur astronomical twilight, measured in degrees
'''
-SOLAR_ELEVATION_RANGE_GOLDEN_HOUR = (10.0, 12.0)
+SOLAR_ELEVATION_RANGE_GOLDEN_HOUR = (-4.0, 6.0)
'''
:(float, float) The Sun's lowest and highest elevation during
the golden "hour" (also known as magic hour),