AMBHAS
ambhas::sunlib Namespace Reference

Classes

class  sun

Functions

def EarthDistance
def sun_rise_set

Function Documentation

module to calculate the earth distance in AU

Input:
    dn:    julian day

Output:
    D:     distance of earth to sun in AU

Definition at line 153 of file sunlib.py.

def ambhas.sunlib.sun_rise_set (   day,
  month,
  year,
  lw = -76.44,
  ln = 11.95 
)
module to calculate the sunset and sunrise time

Input:
    day:    day of the month (0-31)
    month:  month
    year:   year
    lw:     longitude (west positive)
    ln:     latitude (north positive)

Output:
    Trise:     sunrise time in GMT+5.5
    Tset:      sunset time in GMT+5.5
    

Definition at line 169 of file sunlib.py.

 All Classes Namespaces Files Functions Variables