aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/info/solar-python.texinfo5
-rw-r--r--src/solar_python.py7
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/info/solar-python.texinfo b/doc/info/solar-python.texinfo
index e7a6d73..e33d6e0 100644
--- a/doc/info/solar-python.texinfo
+++ b/doc/info/solar-python.texinfo
@@ -136,6 +136,11 @@ amateur astronomical twilight, measured in degrees
The Sun's lowest and highest elevation during
the golden hour (magic hour), measured in degrees.
These elevations are approximate.
+
+@item SOLAR_ELEVATION_RANGE_BLUE_HOUR = (-6.0, -4.0)
+The Sun's lowest and highest elevation during
+the blue hour, measured in degrees. These
+elevations are approximate.
@end table
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`