aboutsummaryrefslogtreecommitdiffstats
path: root/src/solar_python.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-06 14:24:31 +0200
committerMattias Andrée <maandree@kth.se>2016-07-06 14:24:31 +0200
commit13c1f217121cef57865d9bd49e110a03df69091c (patch)
tree79fb0631b10e291cdc91bdbe1896000e40456bef /src/solar_python.py
parentThe sun is not visible at sunset/sunrise + add SOLAR_ELEVATION_PRESUNSET_POSTSUNRISE (diff)
downloadsolar-python-13c1f217121cef57865d9bd49e110a03df69091c.tar.gz
solar-python-13c1f217121cef57865d9bd49e110a03df69091c.tar.bz2
solar-python-13c1f217121cef57865d9bd49e110a03df69091c.tar.xz
Add golden hour
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/solar_python.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/solar_python.py b/src/solar_python.py
index a01f947..87c65c2 100644
--- a/src/solar_python.py
+++ b/src/solar_python.py
@@ -88,6 +88,14 @@ 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)
+'''
+:(float, float) The Sun's lowest and highest elevation during
+ the golden "hour" (also known as magic hour),
+ measured in degrees. These elevations are
+ approximate.
+'''
+
# The following functions are used to calculate the result for `sun`