Example of use of function "D"

Load function


In [1]:
import solartime as st

Define input variable (day of the year)

i.e. 2nd of february is n=31+2=33


In [2]:
n=33
D = st.D( n)

In [3]:
print str( D)


-47.3424657534

In [ ]: