aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-07-26 11:54:32 +0200
committerMattias Andrée <maandree@operamail.com>2014-07-26 11:54:32 +0200
commitcaf7d3397d94c2f91cf4237a67ad7668be19749d (patch)
treeb6822ab5d15a2175d13640b1ff5db71ae92746ae
parentm doc (diff)
downloadsolar-python-caf7d3397d94c2f91cf4237a67ad7668be19749d.tar.gz
solar-python-caf7d3397d94c2f91cf4237a67ad7668be19749d.tar.bz2
solar-python-caf7d3397d94c2f91cf4237a67ad7668be19749d.tar.xz
add SOLAR_APPARENT_RADIUS
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--src/solar_python.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/solar_python.py b/src/solar_python.py
index 67cd7d3..19694d5 100644
--- a/src/solar_python.py
+++ b/src/solar_python.py
@@ -18,6 +18,12 @@ from math import *
import time
+SOLAR_APPARENT_RADIUS = 32 / 60
+'''
+:float Approximate apperant size of the Sun in degrees
+'''
+
+
SOLAR_ELEVATION_SUNSET_SUNRISE = 0.0
'''
:float The Sun's elevation at sunset and sunrise,