Practical Astronomy
|
Functions | |
def | get_date_of_easter (year) |
def | civil_date_to_day_number (month, day, year) |
def | greenwich_date_to_julian_date (day, month, year) |
def | julian_date_to_greenwich_date (julianDate) |
def | julian_date_day (julianDate) |
def | julian_date_month (julianDate) |
def | julian_date_year (julianDate) |
def | julian_date_to_weekday_name (julianDate) |
def | civil_time_to_decimal_hours (hours, minutes, seconds) |
def | decimal_hour_hour (decimalHours) |
def | decimal_hour_minutes (decimalHours) |
def | decimal_hour_seconds (decimalHours) |
def | decimal_hours_to_civil_time (decimalHours) |
def | local_civil_time_to_universal_time (lctHours, lctMinutes, lctSeconds, isDaylightSavings, zoneCorrection, localDay, localMonth, localYear) |
def | universal_time_to_local_civil_time (utHours, utMinutes, utSeconds, isDayLightSavings, zoneCorrection, gwDay, gwMonth, gwYear) |
def | universal_time_to_greenwich_sidereal_time (utHours, utMinutes, utSeconds, gwDay, gwMonth, gwYear) |
def | greenwich_sidereal_time_to_universal_time (gstHours, gstMinutes, gstSeconds, gwDay, gwMonth, gwYear) |
def | greenwich_sidereal_time_to_local_sidereal_time (gstHours, gstMinutes, gstSeconds, geographicalLongitude) |
def | local_sidereal_time_to_greenwich_sidereal_time (lstHours, lstMinutes, lstSeconds, geographicalLongitude) |
def pa_datetime.civil_date_to_day_number | ( | month, | |
day, | |||
year | |||
) |
Returns the day number for the date specified.
def pa_datetime.civil_time_to_decimal_hours | ( | hours, | |
minutes, | |||
seconds | |||
) |
Convert a Civil Time (hours,minutes,seconds) to Decimal Hours
def pa_datetime.decimal_hour_hour | ( | decimalHours | ) |
Return the hour part of a Decimal Hours
def pa_datetime.decimal_hour_minutes | ( | decimalHours | ) |
Return the minutes part of a Decimal Hours
def pa_datetime.decimal_hour_seconds | ( | decimalHours | ) |
Return the seconds part of a Decimal Hours
def pa_datetime.decimal_hours_to_civil_time | ( | decimalHours | ) |
Convert Decimal Hours to Civil Time
def pa_datetime.get_date_of_easter | ( | year | ) |
Gets the date of Easter for the year specified. Arguments: year: Year for which you'd like the date of Easter. Returns: month day year
def pa_datetime.greenwich_date_to_julian_date | ( | day, | |
month, | |||
year | |||
) |
Convert a Greenwich Date/Civil Date (day,month,year) to Julian Date
def pa_datetime.greenwich_sidereal_time_to_local_sidereal_time | ( | gstHours, | |
gstMinutes, | |||
gstSeconds, | |||
geographicalLongitude | |||
) |
Convert Greenwich Sidereal Time to Local Sidereal Time Returns: LST hours LST minutes LST seconds
def pa_datetime.greenwich_sidereal_time_to_universal_time | ( | gstHours, | |
gstMinutes, | |||
gstSeconds, | |||
gwDay, | |||
gwMonth, | |||
gwYear | |||
) |
Convert Greenwich Sidereal Time to Universal Time Returns: UT hours UT minutes UT seconds Warning Flag
def pa_datetime.julian_date_day | ( | julianDate | ) |
Returns the day part of a Julian Date
def pa_datetime.julian_date_month | ( | julianDate | ) |
Returns the month part of a Julian Date
def pa_datetime.julian_date_to_greenwich_date | ( | julianDate | ) |
Convert a Julian Date to Greenwich Date/Civil Date (day,month,year)
def pa_datetime.julian_date_to_weekday_name | ( | julianDate | ) |
Convert a Julian Date to Day-of-Week (e.g., Sunday)
def pa_datetime.julian_date_year | ( | julianDate | ) |
Returns the year part of a Julian Date
def pa_datetime.local_civil_time_to_universal_time | ( | lctHours, | |
lctMinutes, | |||
lctSeconds, | |||
isDaylightSavings, | |||
zoneCorrection, | |||
localDay, | |||
localMonth, | |||
localYear | |||
) |
Convert local Civil Time to Universal Time Returns: UT hours UT mins UT secs GW day GW month GW year
def pa_datetime.local_sidereal_time_to_greenwich_sidereal_time | ( | lstHours, | |
lstMinutes, | |||
lstSeconds, | |||
geographicalLongitude | |||
) |
Convert Local Sidereal Time to Greenwich Sidereal Time Returns: GST hours GST minutes GST seconds
def pa_datetime.universal_time_to_greenwich_sidereal_time | ( | utHours, | |
utMinutes, | |||
utSeconds, | |||
gwDay, | |||
gwMonth, | |||
gwYear | |||
) |
Convert Universal Time to Greenwich Sidereal Time Returns: GST hours GST minutes GST seconds
def pa_datetime.universal_time_to_local_civil_time | ( | utHours, | |
utMinutes, | |||
utSeconds, | |||
isDayLightSavings, | |||
zoneCorrection, | |||
gwDay, | |||
gwMonth, | |||
gwYear | |||
) |
Convert Universal Time to local Civil Time Returns: LCT hours LCT minutes LCT seconds day month year