From e98ab8c54f9f10a0062d586dee76d91da4e3f6c0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 6 Jul 2016 14:48:07 +0200 Subject: Add blue hour MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/solar-python.texinfo | 5 +++++ src/solar_python.py | 7 +++++++ 2 files changed, 12 insertions(+) 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` -- cgit v1.2.3-70-g09d2