Practical Astronomy
|
Functions | |
def | doe_year (year) |
def | cd_to_dn (date_string) |
def | gd_to_jd (greenwich_date) |
def | jd_to_gd (julian_date) |
def | ct_to_dh (civil_time) |
def | dh_to_ct (decimal_hours) |
def | lct_to_ut (civil_date, civil_time, is_dst, zone_correction) |
def | ut_to_lct (civil_date, universal_time, is_dst, zone_correction) |
def | ut_to_gst (universal_time, greenwich_date) |
def | gst_to_ut (greenwich_sidereal_time, greenwich_date) |
def | gst_to_lst (greenwich_sidereal_time, geographical_longitude) |
def | lst_to_gst (local_sidereal_time, geographical_longitude) |
def pa_cli_datetime.cd_to_dn | ( | date_string | ) |
Convert civil date to day number.
def pa_cli_datetime.ct_to_dh | ( | civil_time | ) |
Convert civil time to decimal hours.
def pa_cli_datetime.dh_to_ct | ( | decimal_hours | ) |
Convert decimal hours to civil time.
def pa_cli_datetime.doe_year | ( | year | ) |
Calculate date of Easter for a given year.
def pa_cli_datetime.gd_to_jd | ( | greenwich_date | ) |
Convert Greenwich date to Julian date.
def pa_cli_datetime.gst_to_lst | ( | greenwich_sidereal_time, | |
geographical_longitude | |||
) |
Convert Greenwich sidereal time to local sidereal time
def pa_cli_datetime.gst_to_ut | ( | greenwich_sidereal_time, | |
greenwich_date | |||
) |
Convert Greenwich sidereal time to universal time
def pa_cli_datetime.jd_to_gd | ( | julian_date | ) |
Convert Julian date to Greenwich date.
def pa_cli_datetime.lct_to_ut | ( | civil_date, | |
civil_time, | |||
is_dst, | |||
zone_correction | |||
) |
Convert local civil time to universal time.
def pa_cli_datetime.lst_to_gst | ( | local_sidereal_time, | |
geographical_longitude | |||
) |
Convert local sidereal time to Greenwich sidereal time
def pa_cli_datetime.ut_to_gst | ( | universal_time, | |
greenwich_date | |||
) |
Convert Universal time to Greenwich sidereal time
def pa_cli_datetime.ut_to_lct | ( | civil_date, | |
universal_time, | |||
is_dst, | |||
zone_correction | |||
) |
Convert universal time to local civil time.