aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-06 14:48:07 +0200
committerMattias Andrée <maandree@kth.se>2016-07-06 14:48:07 +0200
commite98ab8c54f9f10a0062d586dee76d91da4e3f6c0 (patch)
tree0ff7e8f5f4faa7158ccc9f76bcaf04d1c1cfd653 /src
parentCorrect golden hour (used bad source) (diff)
downloadsolar-python-2.5.tar.gz
solar-python-2.5.tar.bz2
solar-python-2.5.tar.xz
Add blue hour2.5
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/solar_python.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/solar_python.py b/src/solar_python.py
index e39327f..e336ab4 100644
--- a/src/solar_python.py
+++ b/src/solar_python.py
@@ -96,6 +96,13 @@ SOLAR_ELEVATION_RANGE_GOLDEN_HOUR = (-4.0, 6.0)
approximate.
'''
+SOLAR_ELEVATION_RANGE_BLUE_HOUR = (-6.0, -4.0)
+'''
+:(float, float) The Sun's lowest and highest elevation during
+ the blue "hour", measured in degrees. These
+ elevations are approximate.
+'''
+
# The following functions are used to calculate the result for `sun`