Home
Trees
Indices
Help
Package elisa
::
Package plugins
::
Package bad
::
Package weather
:: Module sun
[
hide private
]
[
frames
] |
no frames
]
Module sun
source code
calculates sunrise or sunset for a given time and place the code is from the last millenium and as far as I can remember modeled after some formular in some book about astronomy
Functions
[
hide private
]
normalize
(
z
,
d
)
source code
suntime
(
type
,
lat
,
lon
,
tz
,
yday
)
type = rise or set tz = diff from gmt date = time.localtime() yday = date[7]
source code
Home
Trees
Indices
Help
Generated by Epydoc 3.0beta1 on Wed Jan 16 19:08:33 2008
http://epydoc.sourceforge.net