aboutsummaryrefslogtreecommitdiffstats
path: root/src/solar_python.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-06 14:25:15 +0200
committerMattias Andrée <maandree@kth.se>2016-07-06 14:25:15 +0200
commit6252e171219804a10db3150397fa7e649196c546 (patch)
treef8d9b05f7cc94e5dd91ae8999a1bf7e3f4b8cb3f /src/solar_python.py
parentAdd golden hour (diff)
downloadsolar-python-6252e171219804a10db3150397fa7e649196c546.tar.gz
solar-python-6252e171219804a10db3150397fa7e649196c546.tar.bz2
solar-python-6252e171219804a10db3150397fa7e649196c546.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--src/solar_python.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/solar_python.py b/src/solar_python.py
index 87c65c2..80dae4a 100644
--- a/src/solar_python.py
+++ b/src/solar_python.py
@@ -16,19 +16,19 @@
-SOLAR_APPARENT_RADIUS = 32 / 60
+SOLAR_APPARENT_RADIUS = 32.0 / 60.0
'''
:float Approximate apparent size of the Sun in degrees
'''
-SOLAR_ELEVATION_PRESUNSET_POSTSUNRISE = 32 / 60
+SOLAR_ELEVATION_PRESUNSET_POSTSUNRISE = 32.0 / 60.0
'''
:float The Sun's elevation the beginning of sunset and
end of sunrise, measured in degrees
'''
-SOLAR_ELEVATION_SUNSET_SUNRISE = -32 / 60
+SOLAR_ELEVATION_SUNSET_SUNRISE = -32.0 / 60.0
'''
:float The Sun's elevation the (end of) at sunset and
(beginning of) sunrise, measured in degrees