Practical Astronomy
pa_macro.py File Reference

Namespaces

 practical_astronomy.pa_macro
 

Functions

def cd_jd (day, month, year)
 
def jdc_day (julianDate)
 
def jdc_month (julianDate)
 
def jdc_year (julianDate)
 
def f_dow (julianDate)
 
def hms_dh (hours, minutes, seconds)
 
def dh_hour (decimalHours)
 
def dh_min (decimalHours)
 
def dh_sec (decimalHours)
 
def lct_ut (lctHours, lctMinutes, lctSeconds, daylightSaving, zoneCorrection, localDay, localMonth, localYear)
 
def ut_lct (uHours, uMinutes, uSeconds, daylightSaving, zoneCorrection, greenwichDay, greenwichMonth, greenwichYear)
 
def ut_lc_day (uHours, uMinutes, uSeconds, daylightSaving, zoneCorrection, greenwichDay, greenwichMonth, greenwichYear)
 
def ut_lc_month (uHours, uMinutes, uSeconds, daylightSaving, zoneCorrection, greenwichDay, greenwichMonth, greenwichYear)
 
def ut_lc_year (uHours, uMinutes, uSeconds, daylightSaving, zoneCorrection, greenwichDay, greenwichMonth, greenwichYear)
 
def lct_gday (lct_hours, lct_minutes, lct_seconds, daylight_saving, zone_correction, local_day, local_month, local_year)
 
def lct_gmonth (lct_hours, lct_minutes, lct_seconds, daylight_saving, zone_correction, local_day, local_month, local_year)
 
def lct_gyear (lct_hours, lct_minutes, lct_seconds, daylight_saving, zone_correction, local_day, local_month, local_year)
 
def ut_gst (u_hours, u_minutes, u_seconds, greenwich_day, greenwich_month, greenwich_year)
 
def gst_lst (greenwich_hours, greenwich_minutes, greenwich_seconds, geographical_longitude)
 
def lst_gst (local_hours, local_minutes, local_seconds, longitude)
 
def gst_ut (greenwich_sidereal_hours, greenwich_sidereal_minutes, greenwich_sidereal_seconds, greenwich_day, greenwich_month, greenwich_year)
 
def e_gst_ut (GSH, GSM, GSS, GD, GM, GY)
 
def ra_ha (ra_hours, ra_minutes, ra_seconds, lct_hours, lct_minutes, lct_seconds, daylight_saving, zone_correction, local_day, local_month, local_year, geographical_longitude)
 
def ha_ra (hour_angle_hours, hour_angle_minutes, hour_angle_seconds, lct_hours, lct_minutes, lct_seconds, daylight_saving, zone_correction, local_day, local_month, local_year, geographical_longitude)
 
def dms_dd (degrees, minutes, seconds)
 
def dd_deg (decimal_degrees)
 
def dd_min (decimal_degrees)
 
def dd_sec (decimal_degrees)
 
def dd_dh (decimal_degrees)
 
def dh_dd (degree_hours)
 
def degrees (W)
 
def atan2 (X, Y)
 
def eq_az (hour_angle_hours, hour_angle_minutes, hour_angle_seconds, declination_degrees, declination_minutes, declination_seconds, geographical_latitude)
 
def eq_alt (hour_angle_hours, hour_angle_minutes, hour_angle_seconds, declination_degrees, declination_minutes, declination_seconds, geographical_latitude)
 
def hor_dec (azimuth_degrees, azimuth_minutes, azimuth_seconds, altitude_degrees, altitude_minutes, altitude_seconds, geographical_latitude)
 
def hor_ha (azimuth_degrees, azimuth_minutes, azimuth_seconds, altitude_degrees, altitude_minutes, altitude_seconds, geographical_latitude)
 
def nutat_obl (greenwich_day, greenwich_month, greenwich_year)
 
def obliq (greenwich_day, greenwich_month, greenwich_year)
 
def sun_long (LCH, LCM, LCS, DS, ZC, LD, LM, LY)
 
def sun_dist (LCH, LCM, LCS, DS, ZC, LD, LM, LY)
 
def sun_dia (LCH, LCM, LCS, DS, ZC, LD, LM, LY)
 
def true_anomaly (AM, EC)
 
def eccentric_anomaly (AM, EC)
 
def refract (Y2, SW, PR, TR)
 
def refract_l3035 (PR, TR, Y, D)
 
def parallax_ha (HH, HM, HS, DD, DM, DS, SW, GP, HT, HP)
 
def parallax_ha_l2870 (X, Y, RC, RP, RS, TP)
 
def parallax_dec (HH, HM, HS, DD, DM, DS, SW, GP, HT, HP)
 
def parallax_dec_l2870 (X, Y, RC, RP, RS, TP)
 
def unwind (W)
 
def unwind_deg (W)
 
def unwind_rad (W)
 
def moon_long (LH, LM, LS, DS, ZC, DY, MN, YR)
 
def moon_lat (LH, LM, LS, DS, ZC, DY, MN, YR)
 
def moon_hp (LH, LM, LS, DS, ZC, DY, MN, YR)
 
def moon_dist (LH, LM, LS, DS, ZC, DY, MN, YR)
 
def moon_size (LH, LM, LS, DS, ZC, DY, MN, YR)
 
def sun_e_long (GD, GM, GY)
 
def sun_peri (GD, GM, GY)
 
def sun_ecc (GD, GM, GY)
 
def ec_dec (ELD, ELM, ELS, BD, BM, BS, GD, GM, GY)
 
def ec_ra (ELD, ELM, ELS, BD, BM, BS, GD, GM, GY)
 
def sun_true_anomaly (LCH, LCM, LCS, DS, ZC, LD, LM, LY)
 
def sun_mean_anomaly (LCH, LCM, LCS, DS, ZC, LD, LM, LY)
 
def sunrise_lct (LD, LM, LY, DS, ZC, GL, GP)
 
def sunrise_lct_l3710 (GD, GM, GY, SR, DI, GP)
 
def sunrise_az (LD, LM, LY, DS, ZC, GL, GP)
 
def sunrise_az_l3710 (GD, GM, GY, SR, DI, GP)
 
def sunset_az (LD, LM, LY, DS, ZC, GL, GP)
 
def sunset_az_l3710 (GD, GM, GY, SR, DI, GP)
 
def sunset_lct (LD, LM, LY, DS, ZC, GL, GP)
 
def sunset_lct_l3710 (GD, GM, GY, SR, DI, GP)
 
def e_sun_rs (LD, LM, LY, DS, ZC, GL, GP)
 
def e_sun_rs_l3710 (GD, GM, GY, SR, DI, GP)
 
def angle (XX1, XM1, XS1, DD1, DM1, DS1, XX2, XM2, XS2, DD2, DM2, DS2, S)
 
def rise_set_local_sidereal_time_rise (RAH, RAM, RAS, DD, DM, DS, VD, G)
 
def e_rs (RAH, RAM, RAS, DD, DM, DS, VD, G)
 
def rise_set_local_sidereal_time_set (RAH, RAM, RAS, DD, DM, DS, VD, G)
 
def rise_set_azimuth_rise (RAH, RAM, RAS, DD, DM, DS, VD, G)
 
def rise_set_azimuth_set (RAH, RAM, RAS, DD, DM, DS, VD, G)
 
def nutat_long (GD, GM, GY)
 
def twilight_am_lct (LD, LM, LY, DS, ZC, GL, GP, TT)
 
def twilight_am_lct_l3710 (GD, GM, GY, SR, DI, GP)
 
def twilight_pm_lct (LD, LM, LY, DS, ZC, GL, GP, TT)
 
def twilight_pm_lct_l3710 (GD, GM, GY, SR, DI, GP)
 
def e_twilight (LD, LM, LY, DS, ZC, GL, GP, TT)
 
def e_twilight_l3710 (GD, GM, GY, SR, DI, GP)
 
def planet_coordinates (LH, LM, LS, DS, ZC, DY, MN, YR, S)
 
def planet_long_l4685 (AP)
 
def planet_long_l4735 (AP, MS, T)
 
def planet_long_l4810 (AP, MS)
 
def planet_long_l4945 (T, IP, PL)
 
def solve_cubic (W)
 
def p_comet_long_lat_dist (LH, LM, LS, DS, ZC, DY, MN, YR, TD, TM, TY, Q, I, P, N)
 
def moon_long_lat_hp (LH, LM, LS, DS, ZC, DY, MN, YR)
 
def moon_phase (LH, LM, LS, DS, ZC, DY, MN, YR)
 
def moon_mean_anomaly (LH, LM, LS, DS, ZC, DY, MN, YR)
 
def new_moon (DS, ZC, DY, MN, YR)
 
def full_moon (DS, ZC, DY, MN, YR)
 
def new_moon_full_moon_l6855 (K, T)
 
def moon_rise_lct (DY, MN, YR, DS, ZC, GLong, GLat)
 
def moon_rise_lct_l6680 (X, DS, ZC, GDY, GMN, GYR, G1, UT)
 
def moon_rise_lct_l6700 (LCT, DS, ZC, DY1, MN1, YR1, GDY, GMN, GYR, GLat)
 
def e_moon_rise (DY, MN, YR, DS, ZC, GLong, GLat)
 
def e_moon_rise_l6680 (S3, G1, UT, DS, ZC, GDY, GMN, GYR, DY1, MN1, YR1)
 
def e_moon_rise_l6700 (LCT, DS, ZC, DY1, MN1, YR1, GDY, GMN, GYR, GLat)
 
def moon_rise_lc_dmy (DY, MN, YR, DS, ZC, GLong, GLat)
 
def moon_rise_lc_dmy_l6680 (X, DS, ZC, GDY, GMN, GYR, G1, UT)
 
def moon_rise_lc_dmy_l6700 (LCT, DS, ZC, DY1, MN1, YR1, GDY, GMN, GYR, GLat)
 
def moon_rise_az (DY, MN, YR, DS, ZC, GLong, GLat)
 
def moon_rise_az_l6680 (X, DS, ZC, GDY, GMN, GYR, G1, UT)
 
def moon_rise_az_l6700 (LCT, DS, ZC, DY1, MN1, YR1, GDY, GMN, GYR, GLat)
 
def moon_set_lct (DY, MN, YR, DS, ZC, GLong, GLat)
 
def moon_set_lct_l6680 (X, DS, ZC, GDY, GMN, GYR, G1, UT)
 
def moon_set_lct_l6700 (LCT, DS, ZC, DY1, MN1, YR1, GDY, GMN, GYR, GLat)
 
def e_moon_set (DY, MN, YR, DS, ZC, GLong, GLat)
 
def e_moon_set_l6680 (X, S3, G1, UT, DS, ZC, GDY, GMN, GYR, DY1, MN1, YR1)
 
def e_moon_set_l6700 (LCT, DS, ZC, DY1, MN1, YR1, GDY, GMN, GYR, GLat)
 
def moon_set_lc_dmy (DY, MN, YR, DS, ZC, GLong, GLat)
 
def moon_set_lc_dmy_l6680 (X, DS, ZC, GDY, GMN, GYR, G1, UT)
 
def moon_set_lc_dmy_l6700 (LCT, DS, ZC, DY1, MN1, YR1, GDY, GMN, GYR, GLat)
 
def moon_set_az (DY, MN, YR, DS, ZC, GLong, GLat)
 
def moon_set_az_l6680 (X, DS, ZC, GDY, GMN, GYR, G1, UT)
 
def moon_set_az_l6700 (LCT, DS, ZC, DY1, MN1, YR1, GDY, GMN, GYR, GLat)
 
def lunar_eclipse_occurrence (DS, ZC, DY, MN, YR)
 
def lunar_eclipse_occurrence_l6855 (T, K)
 
def mag_lunar_eclipse (DY, MN, YR, DS, ZC)
 
def ut_end_total_lunar_eclipse (DY, MN, YR, DS, ZC)
 
def ut_end_umbra_lunar_eclipse (DY, MN, YR, DS, ZC)
 
def ut_first_contact_lunar_eclipse (DY, MN, YR, DS, ZC)
 
def ut_last_contact_lunar_eclipse (DY, MN, YR, DS, ZC)
 
def ut_max_lunar_eclipse (DY, MN, YR, DS, ZC)
 
def ut_start_total_lunar_eclipse (DY, MN, YR, DS, ZC)
 
def ut_start_umbra_lunar_eclipse (DY, MN, YR, DS, ZC)
 
def solar_eclipse_occurrence (DS, ZC, DY, MN, YR)
 
def solar_eclipse_occurrence_l6855 (T, K)
 
def mag_solar_eclipse (DY, MN, YR, DS, ZC, GLong, GLat)
 
def mag_solar_eclipse_l7390 (X, Y, IGDay, GMonth, GYear, TM, GLong, GLat, HP)
 
def ut_first_contact_solar_eclipse (DY, MN, YR, DS, ZC, GLong, GLat)
 
def ut_first_contact_solar_eclipse_l7390 (X, Y, IGDay, GMonth, GYear, TM, GLong, GLat, HP)
 
def ut_last_contact_solar_eclipse (DY, MN, YR, DS, ZC, GLong, GLat)
 
def ut_last_contact_solar_eclipse_l7390 (X, Y, IGDay, GMonth, GYear, TM, GLong, GLat, HP)
 
def ut_max_solar_eclipse (DY, MN, YR, DS, ZC, GLong, GLat)
 
def ut_max_solar_eclipse_l7390 (X, Y, IGDay, GMonth, GYear, TM, GLong, GLat, HP)
 
def fract (W)
 
def lint (W)
 
def iint (W)
 
def sgn (number_to_check)
 
def ut_day_adjust (UT, G1)
 
def f_part (W)
 
def eq_e_lat (RAH, RAM, RAS, DD, DM, DS, GD, GM, GY)
 
def eq_e_long (RAH, RAM, RAS, DD, DM, DS, GD, GM, GY)