diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-06 14:48:07 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-06 14:48:07 +0200 |
commit | e98ab8c54f9f10a0062d586dee76d91da4e3f6c0 (patch) | |
tree | 0ff7e8f5f4faa7158ccc9f76bcaf04d1c1cfd653 | |
parent | Correct golden hour (used bad source) (diff) | |
download | solar-python-e98ab8c54f9f10a0062d586dee76d91da4e3f6c0.tar.gz solar-python-e98ab8c54f9f10a0062d586dee76d91da4e3f6c0.tar.bz2 solar-python-e98ab8c54f9f10a0062d586dee76d91da4e3f6c0.tar.xz |
Add blue hour2.5
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | doc/info/solar-python.texinfo | 5 | ||||
-rw-r--r-- | src/solar_python.py | 7 |
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` |