lib.orb
-
class
lib.orb.
Orb
(orb, lon, lat, elev=False)[Quellcode] Bases:
object
-
midnight
(doff=0, moff=0, dt=None)[Quellcode]
-
noon
(doff=0, moff=0, dt=None)[Quellcode]
-
pos
(offset=None, degree=False, dt=None)[Quellcode] Calculates the position of either sun or moon :param offset: given in minutesA, shifts the time of calculation by some minutes back or forth :param degree: if True: return the position of either sun or moon from the observer as degrees, otherwise as radians :param dt: time for which the position needs to be calculated :return: a tuple with azimuth and elevation
-
rise
(doff=0, moff=0, center=True, dt=None)[Quellcode] Computes the rise of either sun or moon :param doff: degrees offset for the observers horizon :param moff: minutes offset from time of rise (either before or after) :param center: if True then the centerpoint of either sun or moon will be considered to make the transit otherwise the upper limb will be considered :param dt: start time for the search for a rise, if not given the current time will be used :return:
-
set
(doff=0, moff=0, center=True, dt=None)[Quellcode] Computes the setting of either sun or moon :param doff: degrees offset for the observers horizon :param moff: minutes offset from time of setting (either before or after) :param center: if True then the centerpoint of either sun or moon will be considered to make the transit otherwise the upper limb will be considered :param dt: start time for the search for a setting, if not given the current time will be used :return:
-