Documentation

Macros

Table of Contents

Functions

civil_date_to_julian_date()  : mixed
Convert a Greenwich Date/Civil Date (day,month,year) to Julian Date
decimal_degrees_degrees()  : mixed
Return Degrees part of Decimal Degrees
decimal_degrees_minutes()  : mixed
Return Minutes part of Decimal Degrees
decimal_degrees_seconds()  : mixed
Return Seconds part of Decimal Degrees
decimal_hours_hour()  : mixed
Return the hour part of a Decimal Hours
decimal_hours_minute()  : mixed
Return the minutes part of a Decimal Hours
decimal_hours_second()  : mixed
Return the seconds part of a Decimal Hours
degrees_minutes_seconds_to_decimal_degrees()  : mixed
Convert Degrees Minutes Seconds to Decimal Degrees
w_to_degrees()  : mixed
Convert W to Degrees
equatorial_coordinates_to_altitude()  : mixed
Convert Equatorial Coordinates to Altitude (in decimal degrees)
equatorial_coordinates_to_azimuth()  : mixed
Convert Equatorial Coordinates to Azimuth (in decimal degrees)
greenwich_sidereal_time_to_local_sidereal_time()  : mixed
Convert Greenwich Sidereal Time to Local Sidereal Time
horizon_coordinates_to_declination()  : mixed
Convert Horizon Coordinates to Declination (in decimal degrees)
horizon_coordinates_to_hour_angle()  : mixed
Convert Horizon Coordinates to Hour Angle (in decimal degrees)
decimal_degrees_to_degree_hours()  : mixed
Convert Decimal Degrees to Degree-Hours
degrees()  : mixed
Convert W to Degrees
hour_angle_to_right_ascension()  : mixed
Convert Hour Angle to Right Ascension
hours_minutes_seconds_to_decimal_hours()  : mixed
Convert a Civil Time (hours,minutes,seconds) to Decimal Hours
julian_date_day()  : mixed
Returns the day part of a Julian Date
julian_date_month()  : mixed
Returns the month part of a Julian Date
julian_date_year()  : mixed
Returns the year part of a Julian Date
local_civil_time_greenwich_day()  : mixed
Determine Greenwich Day for Local Time
local_civil_time_greenwich_month()  : mixed
Determine Greenwich Month for Local Time
local_civil_time_greenwich_year()  : mixed
Determine Greenwich Year for Local Time
local_civil_time_to_universal_time()  : mixed
Convert Local Civil Time to Universal Time
universal_time_to_local_civil_time_ma()  : mixed
Convert Universal Time to Local Civil Time
universal_time_local_civil_day()  : mixed
Get Local Civil Day for Universal Time
universal_time_local_civil_month()  : mixed
Get Local Civil Month for Universal Time
universal_time_local_civil_year()  : mixed
Get Local Civil Year for Universal Time
right_ascension_to_hour_angle()  : mixed
Convert Right Ascension to Hour Angle
universal_time_to_greenwich_sidereal_time()  : mixed
Convert Universal Time to Greenwich Sidereal Time
obliq()  : mixed
Obliquity of the Ecliptic for a Greenwich Date
nutat_long()  : mixed
Nutation amount to be added in ecliptic longitude, in degrees.
nutat_obl()  : mixed
Nutation of Obliquity
degree_hours_to_decimal_degrees()  : mixed
Convert Degree-Hours to Decimal Degrees
greenwich_sidereal_time_to_universal_time()  : mixed
Convert Greenwich Sidereal Time to Universal Time
local_sidereal_time_to_greenwich_sidereal_time()  : mixed
Convert Local Sidereal Time to Greenwich Sidereal Time
eg_st_ut()  : mixed
Status of conversion of Greenwich Sidereal Time to Universal Time.
sun_long()  : mixed
Calculate Sun's ecliptic longitude
sun_dia()  : mixed
Calculate Sun's angular diameter in decimal degrees
sun_dist()  : mixed
Calculate Sun's distance from the Earth in astronomical units
true_anomaly()  : mixed
Solve Kepler's equation, and return value of the true anomaly in radians
eccentric_anomaly()  : mixed
Solve Kepler's equation, and return value of the eccentric anomaly in radians
refract()  : mixed
Calculate effects of refraction
refract_l3035()  : mixed
Helper function for refract
parallax_ha()  : mixed
Calculate corrected hour angle in decimal hours
parallax_ha_l2870()  : mixed
Helper function for parallax_ha
parallax_dec()  : mixed
Calculate corrected declination in decimal degrees
parallax_dec_l2870()  : mixed
Helper function for parallax_dec
moon_long()  : mixed
Calculate geocentric ecliptic longitude for the Moon
moon_lat()  : mixed
Calculate geocentric ecliptic latitude for the Moon
moon_hp()  : mixed
Calculate horizontal parallax for the Moon
moon_dist()  : mixed
Calculate distance from the Earth to the Moon (km)
moon_size()  : mixed
Calculate the Moon's angular diameter (degrees)
unwind()  : mixed
Convert angle in radians to equivalent angle in degrees.
unwind_deg()  : mixed
Convert angle in degrees to equivalent angle in the range 0 to 360 degrees.
sun_e_long()  : mixed
Mean ecliptic longitude of the Sun at the epoch
sun_peri()  : mixed
Longitude of the Sun at perigee
sun_ecc()  : mixed
Eccentricity of the Sun-Earth orbit
ec_dec()  : mixed
Ecliptic - Declination (degrees)
ec_ra()  : mixed
Ecliptic - Right Ascension (degrees)
sun_true_anomaly()  : mixed
Calculate Sun's true anomaly, i.e., how much its orbit deviates from a true circle to an ellipse.
sun_mean_anomaly()  : mixed
Calculate the Sun's mean anomaly.
sunrise_lct()  : mixed
Calculate local civil time of sunrise.
sunrise_lct_3710()  : mixed
Helper function for sunrise_lct()
sunset_lct()  : mixed
Calculate local civil time of sunset.
sunset_lct_l3710()  : mixed
Helper function for sunset_lct().
rise_set_local_sidereal_time_rise()  : mixed
Local sidereal time of rise, in hours.
rise_set_local_sidereal_time_set()  : mixed
Local sidereal time of setting, in hours.
rise_set_azimuth_rise()  : mixed
Azimuth of rising, in degrees.
rise_set_azimuth_set()  : mixed
Azimuth of setting, in degrees.
ers()  : mixed
Rise/Set status
e_sun_rs()  : mixed
Sunrise/Sunset calculation status.
e_sun_rs_l3710()  : mixed
Helper function for e_sun_rs
sunrise_az()  : mixed
Calculate azimuth of sunrise.
sunrise_az_l3710()  : mixed
Helper function for sunrise_az()
sunset_az()  : mixed
Calculate azimuth of sunset.
sunset_az_l3710()  : mixed
Helper function for sunset_az()
twilight_am_lct()  : mixed
Calculate morning twilight start, in local time.
twilight_am_lct_l3710()  : mixed
Helper function for twilight_am_lct()
twilight_pm_lct()  : mixed
Calculate evening twilight end, in local time.
twilight_pm_lct_l3710()  : mixed
Helper function for twilight_pm_lct()
e_twilight()  : mixed
Twilight calculation status.
e_twilight_l3710()  : mixed
Helper function for e_twilight()
angle()  : mixed
Calculate the angle between two celestial objects
planet_coordinates()  : mixed
Calculate several planetary properties.
planet_long_l4685()  : mixed
Helper function for planet_coordinates()
planet_long_l4735()  : mixed
Helper function for planet_coordinates()
planet_long_l4810()  : mixed
Helper function for planet_coordinates()
planet_long_l4945()  : mixed
Helper function for planet_coordinates()
solve_cubic()  : mixed
For W, in radians, return S, also in radians.
p_comet_long_lat_dist()  : mixed
Calculate longitude, latitude, and distance of parabolic-orbit comet.
moon_long_lat_hp()  : mixed
Calculate longitude, latitude, and horizontal parallax of the Moon.
moon_phase_ma()  : mixed
Calculate current phase of Moon.
moon_mean_anomaly()  : mixed
Calculate the Moon's mean anomaly.
new_moon()  : mixed
Calculate Julian date of New Moon.
full_moon()  : mixed
Calculate Julian date of Full Moon.
new_moon_full_moon_l6855()  : mixed
Helper function for newMoon() and fullMoon()
fract()  : mixed
Original macro name: FRACT
lint()  : mixed
Original macro name: LINT
i_int()  : mixed
Original macro name: IINT
sign()  : mixed
Calculate sign of number.
ut_day_adjust()  : mixed
Original macro name: UTDayAdjust
f_part()  : mixed
Original macro name: Fpart
eq_e_lat()  : mixed
Original macro name: EQElat
eq_e_long()  : mixed
Original macro name: EQElong
moon_rise_lct()  : mixed
Local time of moonrise.
moon_rise_lct_l6680()  : mixed
Helper function for moon_rise_lct
moon_rise_lct_l6700()  : mixed
Helper function for moon_rise_lct
moon_rise_lc_dmy()  : mixed
Local date of moonrise.
moon_rise_lc_dmy_l6680()  : mixed
Helper function for moon_rise_lc_dmy
moon_rise_lc_dmy_l6700()  : mixed
Helper function for moon_rise_lc_dmy
moon_rise_az()  : mixed
Local azimuth of moonrise.
moon_rise_az_l6680()  : mixed
Helper function for moon_rise_az
moon_rise_az_l6700()  : mixed
Helper function for moon_rise_az
moon_set_lct()  : mixed
Local time of moonset.
moon_set_lct_l6680()  : mixed
Helper function for moon_set_lct
moon_set_lct_l6700()  : mixed
Helper function for moon_set_lct
moon_set_lc_dmy()  : mixed
Local date of moonset.
moon_set_lc_dmy_l6680()  : mixed
Helper function for moon_set_lc_dmy
moon_set_lc_dmy_l6700()  : mixed
Helper function for moon_set_lc_dmy
moon_set_az()  : mixed
Local azimuth of moonset.
moon_set_az_l6680()  : mixed
Helper function for moon_set_az
moon_set_az_l6700()  : mixed
Helper function for moon_set_az
lunar_eclipse_occurrence()  : mixed
Determine if a lunar eclipse is likely to occur.
lunar_eclipse_occurrence_l6855()  : mixed
Helper function for lunar_eclipse_occurrence
ut_max_lunar_eclipse()  : mixed
Calculate time of maximum shadow for lunar eclipse (UT)
ut_first_contact_lunar_eclipse()  : mixed
Calculate time of first shadow contact for lunar eclipse (UT)
ut_last_contact_lunar_eclipse()  : mixed
Calculate time of last shadow contact for lunar eclipse (UT)
ut_start_umbra_lunar_eclipse()  : mixed
Calculate start time of umbra phase of lunar eclipse (UT)
ut_end_umbra_lunar_eclipse()  : mixed
Calculate end time of umbra phase of lunar eclipse (UT)
ut_start_total_lunar_eclipse()  : mixed
Calculate start time of total phase of lunar eclipse (UT)
ut_end_total_lunar_eclipse()  : mixed
Calculate end time of total phase of lunar eclipse (UT)
mag_lunar_eclipse()  : mixed
Calculate magnitude of lunar eclipse.
solar_eclipse_occurrence()  : mixed
Determine if a solar eclipse is likely to occur.
solar_eclipse_occurrence_l6855()  : mixed
Helper function for solar_eclipse_occurrence
ut_max_solar_eclipse()  : mixed
Calculate time of maximum shadow for solar eclipse (UT)
ut_max_solar_eclipse_l7390()  : mixed
Helper function for ut_max_solar_eclipse
ut_first_contact_solar_eclipse()  : mixed
Calculate time of first contact for solar eclipse (UT)
ut_first_contact_solar_eclipse_l7390()  : mixed
Helper function for ut_first_contact_solar_eclipse
ut_last_contact_solar_eclipse()  : mixed
Calculate time of last contact for solar eclipse (UT)
ut_last_contact_solar_eclipse_l7390()  : mixed
Helper function for ut_last_contact_solar_eclipse
mag_solar_eclipse()  : mixed
Calculate magnitude of solar eclipse.
mag_solar_eclipse_l7390()  : mixed
Helper function for mag_solar_eclipse

Functions

civil_date_to_julian_date()

Convert a Greenwich Date/Civil Date (day,month,year) to Julian Date

civil_date_to_julian_date(mixed $day, mixed $month, mixed $year) : mixed

Original macro name: CDJD

Parameters
$day : mixed
$month : mixed
$year : mixed

decimal_degrees_degrees()

Return Degrees part of Decimal Degrees

decimal_degrees_degrees(mixed $decimalDegrees) : mixed

Original macro name: DDDeg

Parameters
$decimalDegrees : mixed

decimal_degrees_minutes()

Return Minutes part of Decimal Degrees

decimal_degrees_minutes(float $decimalDegrees) : mixed

Original macro name: DDMin

Parameters
$decimalDegrees : float

decimal_degrees_seconds()

Return Seconds part of Decimal Degrees

decimal_degrees_seconds(mixed $decimalDegrees) : mixed

Original macro name: DDSec

Parameters
$decimalDegrees : mixed

decimal_hours_hour()

Return the hour part of a Decimal Hours

decimal_hours_hour(mixed $decimalHours) : mixed

Original macro name: DHHour

Parameters
$decimalHours : mixed

decimal_hours_minute()

Return the minutes part of a Decimal Hours

decimal_hours_minute(mixed $decimalHours) : mixed

Original macro name: DHMin

Parameters
$decimalHours : mixed

decimal_hours_second()

Return the seconds part of a Decimal Hours

decimal_hours_second(mixed $decimalHours) : mixed

Original macro name: DHSec

Parameters
$decimalHours : mixed

degrees_minutes_seconds_to_decimal_degrees()

Convert Degrees Minutes Seconds to Decimal Degrees

degrees_minutes_seconds_to_decimal_degrees(mixed $degrees, mixed $minutes, mixed $seconds) : mixed

Original macro name: DMSDD

Parameters
$degrees : mixed
$minutes : mixed
$seconds : mixed

w_to_degrees()

Convert W to Degrees

w_to_degrees(mixed $w) : mixed

Original macro name: Degrees

Parameters
$w : mixed

equatorial_coordinates_to_altitude()

Convert Equatorial Coordinates to Altitude (in decimal degrees)

equatorial_coordinates_to_altitude(mixed $hourAngleHours, mixed $hourAngleMinutes, mixed $hourAngleSeconds, mixed $declinationDegrees, mixed $declinationMinutes, mixed $declinationSeconds, mixed $geographicalLatitude) : mixed

Original macro name: EQAlt

Parameters
$hourAngleHours : mixed
$hourAngleMinutes : mixed
$hourAngleSeconds : mixed
$declinationDegrees : mixed
$declinationMinutes : mixed
$declinationSeconds : mixed
$geographicalLatitude : mixed

equatorial_coordinates_to_azimuth()

Convert Equatorial Coordinates to Azimuth (in decimal degrees)

equatorial_coordinates_to_azimuth(mixed $hourAngleHours, mixed $hourAngleMinutes, mixed $hourAngleSeconds, mixed $declinationDegrees, mixed $declinationMinutes, mixed $declinationSeconds, mixed $geographicalLatitude) : mixed

Original macro name: EQAz

Parameters
$hourAngleHours : mixed
$hourAngleMinutes : mixed
$hourAngleSeconds : mixed
$declinationDegrees : mixed
$declinationMinutes : mixed
$declinationSeconds : mixed
$geographicalLatitude : mixed

greenwich_sidereal_time_to_local_sidereal_time()

Convert Greenwich Sidereal Time to Local Sidereal Time

greenwich_sidereal_time_to_local_sidereal_time(mixed $greenwichHours, mixed $greenwichMinutes, mixed $greenwichSeconds, mixed $geographicalLongitude) : mixed

Original macro name: GSTLST

Parameters
$greenwichHours : mixed
$greenwichMinutes : mixed
$greenwichSeconds : mixed
$geographicalLongitude : mixed

horizon_coordinates_to_declination()

Convert Horizon Coordinates to Declination (in decimal degrees)

horizon_coordinates_to_declination(mixed $azimuthDegrees, mixed $azimuthMinutes, mixed $azimuthSeconds, mixed $altitudeDegrees, mixed $altitudeMinutes, mixed $altitudeSeconds, mixed $geographicalLatitude) : mixed

Original macro name: HORDec

Parameters
$azimuthDegrees : mixed
$azimuthMinutes : mixed
$azimuthSeconds : mixed
$altitudeDegrees : mixed
$altitudeMinutes : mixed
$altitudeSeconds : mixed
$geographicalLatitude : mixed

horizon_coordinates_to_hour_angle()

Convert Horizon Coordinates to Hour Angle (in decimal degrees)

horizon_coordinates_to_hour_angle(mixed $azimuthDegrees, mixed $azimuthMinutes, mixed $azimuthSeconds, mixed $altitudeDegrees, mixed $altitudeMinutes, mixed $altitudeSeconds, mixed $geographicalLatitude) : mixed

Original macro name: HORHa

Parameters
$azimuthDegrees : mixed
$azimuthMinutes : mixed
$azimuthSeconds : mixed
$altitudeDegrees : mixed
$altitudeMinutes : mixed
$altitudeSeconds : mixed
$geographicalLatitude : mixed

decimal_degrees_to_degree_hours()

Convert Decimal Degrees to Degree-Hours

decimal_degrees_to_degree_hours(mixed $decimalDegrees) : mixed

Original macro name: DDDH

Parameters
$decimalDegrees : mixed

degrees()

Convert W to Degrees

degrees(mixed $w) : mixed

Original macro name: Degrees

Parameters
$w : mixed

hour_angle_to_right_ascension()

Convert Hour Angle to Right Ascension

hour_angle_to_right_ascension(mixed $hourAngleHours, mixed $hourAngleMinutes, mixed $hourAngleSeconds, mixed $lctHours, mixed $lctMinutes, mixed $lctSeconds, mixed $daylightSaving, mixed $zoneCorrection, mixed $localDay, mixed $localMonth, mixed $localYear, mixed $geographicalLongitude) : mixed

Original macro name: HARA

Parameters
$hourAngleHours : mixed
$hourAngleMinutes : mixed
$hourAngleSeconds : mixed
$lctHours : mixed
$lctMinutes : mixed
$lctSeconds : mixed
$daylightSaving : mixed
$zoneCorrection : mixed
$localDay : mixed
$localMonth : mixed
$localYear : mixed
$geographicalLongitude : mixed

hours_minutes_seconds_to_decimal_hours()

Convert a Civil Time (hours,minutes,seconds) to Decimal Hours

hours_minutes_seconds_to_decimal_hours(mixed $hours, mixed $minutes, mixed $seconds) : mixed

Original macro name: HMSDH

Parameters
$hours : mixed
$minutes : mixed
$seconds : mixed

julian_date_day()

Returns the day part of a Julian Date

julian_date_day(mixed $julianDate) : mixed

Original macro name: JDCDay

Parameters
$julianDate : mixed

julian_date_month()

Returns the month part of a Julian Date

julian_date_month(mixed $julianDate) : mixed

Original macro name: JDCMonth

Parameters
$julianDate : mixed

julian_date_year()

Returns the year part of a Julian Date

julian_date_year(mixed $julianDate) : mixed

Original macro name: JDCYear

Parameters
$julianDate : mixed

local_civil_time_greenwich_day()

Determine Greenwich Day for Local Time

local_civil_time_greenwich_day(mixed $lctHours, mixed $lctMinutes, mixed $lctSeconds, mixed $daylightSaving, mixed $zoneCorrection, mixed $localDay, mixed $localMonth, mixed $localYear) : mixed

Original macro name: LctGDay

Parameters
$lctHours : mixed
$lctMinutes : mixed
$lctSeconds : mixed
$daylightSaving : mixed
$zoneCorrection : mixed
$localDay : mixed
$localMonth : mixed
$localYear : mixed

local_civil_time_greenwich_month()

Determine Greenwich Month for Local Time

local_civil_time_greenwich_month(mixed $lctHours, mixed $lctMinutes, mixed $lctSeconds, mixed $daylightSaving, mixed $zoneCorrection, mixed $localDay, mixed $localMonth, mixed $localYear) : mixed

Original macro name: LctGMonth

Parameters
$lctHours : mixed
$lctMinutes : mixed
$lctSeconds : mixed
$daylightSaving : mixed
$zoneCorrection : mixed
$localDay : mixed
$localMonth : mixed
$localYear : mixed

local_civil_time_greenwich_year()

Determine Greenwich Year for Local Time

local_civil_time_greenwich_year(mixed $lctHours, mixed $lctMinutes, mixed $lctSeconds, mixed $daylightSaving, mixed $zoneCorrection, mixed $localDay, mixed $localMonth, mixed $localYear) : mixed

Original macro name: LctGYear

Parameters
$lctHours : mixed
$lctMinutes : mixed
$lctSeconds : mixed
$daylightSaving : mixed
$zoneCorrection : mixed
$localDay : mixed
$localMonth : mixed
$localYear : mixed

local_civil_time_to_universal_time()

Convert Local Civil Time to Universal Time

local_civil_time_to_universal_time(mixed $lctHours, mixed $lctMinutes, mixed $lctSeconds, mixed $daylightSaving, mixed $zoneCorrection, mixed $localDay, mixed $localMonth, mixed $localYear) : mixed

Original macro name: LctUT

Parameters
$lctHours : mixed
$lctMinutes : mixed
$lctSeconds : mixed
$daylightSaving : mixed
$zoneCorrection : mixed
$localDay : mixed
$localMonth : mixed
$localYear : mixed

universal_time_to_local_civil_time_ma()

Convert Universal Time to Local Civil Time

universal_time_to_local_civil_time_ma(mixed $uHours, mixed $uMinutes, mixed $uSeconds, mixed $daylightSaving, mixed $zoneCorrection, mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed

Original macro name: UTLct

Parameters
$uHours : mixed
$uMinutes : mixed
$uSeconds : mixed
$daylightSaving : mixed
$zoneCorrection : mixed
$greenwichDay : mixed
$greenwichMonth : mixed
$greenwichYear : mixed

universal_time_local_civil_day()

Get Local Civil Day for Universal Time

universal_time_local_civil_day(mixed $uHours, mixed $uMinutes, mixed $uSeconds, mixed $daylightSaving, mixed $zoneCorrection, mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed

Original macro name: UTLcDay

Parameters
$uHours : mixed
$uMinutes : mixed
$uSeconds : mixed
$daylightSaving : mixed
$zoneCorrection : mixed
$greenwichDay : mixed
$greenwichMonth : mixed
$greenwichYear : mixed

universal_time_local_civil_month()

Get Local Civil Month for Universal Time

universal_time_local_civil_month(mixed $uHours, mixed $uMinutes, mixed $uSeconds, mixed $daylightSaving, mixed $zoneCorrection, mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed

Original macro name: UTLcMonth

Parameters
$uHours : mixed
$uMinutes : mixed
$uSeconds : mixed
$daylightSaving : mixed
$zoneCorrection : mixed
$greenwichDay : mixed
$greenwichMonth : mixed
$greenwichYear : mixed

universal_time_local_civil_year()

Get Local Civil Year for Universal Time

universal_time_local_civil_year(mixed $uHours, mixed $uMinutes, mixed $uSeconds, mixed $daylightSaving, mixed $zoneCorrection, mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed

Original macro name: UTLcYear

Parameters
$uHours : mixed
$uMinutes : mixed
$uSeconds : mixed
$daylightSaving : mixed
$zoneCorrection : mixed
$greenwichDay : mixed
$greenwichMonth : mixed
$greenwichYear : mixed

right_ascension_to_hour_angle()

Convert Right Ascension to Hour Angle

right_ascension_to_hour_angle(mixed $raHours, mixed $raMinutes, mixed $raSeconds, mixed $lctHours, mixed $lctMinutes, mixed $lctSeconds, mixed $daylightSaving, mixed $zoneCorrection, mixed $localDay, mixed $localMonth, mixed $localYear, mixed $geographicalLongitude) : mixed

Original macro name: RAHA

Parameters
$raHours : mixed
$raMinutes : mixed
$raSeconds : mixed
$lctHours : mixed
$lctMinutes : mixed
$lctSeconds : mixed
$daylightSaving : mixed
$zoneCorrection : mixed
$localDay : mixed
$localMonth : mixed
$localYear : mixed
$geographicalLongitude : mixed

universal_time_to_greenwich_sidereal_time()

Convert Universal Time to Greenwich Sidereal Time

universal_time_to_greenwich_sidereal_time(mixed $uHours, mixed $uMinutes, mixed $uSeconds, mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed

Original macro name: UTGST

Parameters
$uHours : mixed
$uMinutes : mixed
$uSeconds : mixed
$greenwichDay : mixed
$greenwichMonth : mixed
$greenwichYear : mixed

obliq()

Obliquity of the Ecliptic for a Greenwich Date

obliq(mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed

Original macro name: Obliq

Parameters
$greenwichDay : mixed
$greenwichMonth : mixed
$greenwichYear : mixed

nutat_long()

Nutation amount to be added in ecliptic longitude, in degrees.

nutat_long(mixed $gd, mixed $gm, mixed $gy) : mixed

Original macro name: NutatLong

Parameters
$gd : mixed
$gm : mixed
$gy : mixed

nutat_obl()

Nutation of Obliquity

nutat_obl(mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed

Original macro name: NutatObl

Parameters
$greenwichDay : mixed
$greenwichMonth : mixed
$greenwichYear : mixed

degree_hours_to_decimal_degrees()

Convert Degree-Hours to Decimal Degrees

degree_hours_to_decimal_degrees(mixed $degreeHours) : mixed

Original macro name: DHDD

Parameters
$degreeHours : mixed

greenwich_sidereal_time_to_universal_time()

Convert Greenwich Sidereal Time to Universal Time

greenwich_sidereal_time_to_universal_time(mixed $greenwichSiderealHours, mixed $greenwichSiderealMinutes, mixed $greenwichSiderealSeconds, mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed

Original macro name: GSTUT

Parameters
$greenwichSiderealHours : mixed
$greenwichSiderealMinutes : mixed
$greenwichSiderealSeconds : mixed
$greenwichDay : mixed
$greenwichMonth : mixed
$greenwichYear : mixed

local_sidereal_time_to_greenwich_sidereal_time()

Convert Local Sidereal Time to Greenwich Sidereal Time

local_sidereal_time_to_greenwich_sidereal_time(mixed $localHours, mixed $localMinutes, mixed $localSeconds, mixed $longitude) : mixed

Original macro name: LSTGST

Parameters
$localHours : mixed
$localMinutes : mixed
$localSeconds : mixed
$longitude : mixed

eg_st_ut()

Status of conversion of Greenwich Sidereal Time to Universal Time.

eg_st_ut(mixed $gsh, mixed $gsm, mixed $gss, mixed $gd, mixed $gm, mixed $gy) : mixed

Original macro name: eGSTUT

Parameters
$gsh : mixed
$gsm : mixed
$gss : mixed
$gd : mixed
$gm : mixed
$gy : mixed

sun_long()

Calculate Sun's ecliptic longitude

sun_long(mixed $lch, mixed $lcm, mixed $lcs, mixed $ds, mixed $zc, mixed $ld, mixed $lm, mixed $ly) : mixed

Original macro name: SunLong

Parameters
$lch : mixed
$lcm : mixed
$lcs : mixed
$ds : mixed
$zc : mixed
$ld : mixed
$lm : mixed
$ly : mixed

sun_dia()

Calculate Sun's angular diameter in decimal degrees

sun_dia(mixed $lch, mixed $lcm, mixed $lcs, mixed $ds, mixed $zc, mixed $ld, mixed $lm, mixed $ly) : mixed

Original macro name: SunDia

Parameters
$lch : mixed
$lcm : mixed
$lcs : mixed
$ds : mixed
$zc : mixed
$ld : mixed
$lm : mixed
$ly : mixed

sun_dist()

Calculate Sun's distance from the Earth in astronomical units

sun_dist(mixed $lch, mixed $lcm, mixed $lcs, mixed $ds, mixed $zc, mixed $ld, mixed $lm, mixed $ly) : mixed

Original macro name: SunDist

Parameters
$lch : mixed
$lcm : mixed
$lcs : mixed
$ds : mixed
$zc : mixed
$ld : mixed
$lm : mixed
$ly : mixed

true_anomaly()

Solve Kepler's equation, and return value of the true anomaly in radians

true_anomaly(mixed $am, mixed $ec) : mixed

Original macro name: TrueAnomaly

Parameters
$am : mixed
$ec : mixed

eccentric_anomaly()

Solve Kepler's equation, and return value of the eccentric anomaly in radians

eccentric_anomaly(mixed $am, mixed $ec) : mixed

Original macro name: EccentricAnomaly

Parameters
$am : mixed
$ec : mixed

refract()

Calculate effects of refraction

refract(mixed $y2, mixed $sw, mixed $pr, mixed $tr) : mixed

Original macro name: Refract

Parameters
$y2 : mixed
$sw : mixed
$pr : mixed
$tr : mixed

refract_l3035()

Helper function for refract

refract_l3035(mixed $pr, mixed $tr, mixed $y, mixed $d) : mixed
Parameters
$pr : mixed
$tr : mixed
$y : mixed
$d : mixed

parallax_ha()

Calculate corrected hour angle in decimal hours

parallax_ha(mixed $hh, mixed $hm, mixed $hs, mixed $dd, mixed $dm, mixed $ds, mixed $sw, mixed $gp, mixed $ht, mixed $hp) : mixed

Original macro name: ParallaxHA

Parameters
$hh : mixed
$hm : mixed
$hs : mixed
$dd : mixed
$dm : mixed
$ds : mixed
$sw : mixed
$gp : mixed
$ht : mixed
$hp : mixed

parallax_ha_l2870()

Helper function for parallax_ha

parallax_ha_l2870(mixed $x, mixed $y, mixed $rc, mixed $rp, mixed $rs, mixed $tp) : mixed
Parameters
$x : mixed
$y : mixed
$rc : mixed
$rp : mixed
$rs : mixed
$tp : mixed

parallax_dec()

Calculate corrected declination in decimal degrees

parallax_dec(mixed $hh, mixed $hm, mixed $hs, mixed $dd, mixed $dm, mixed $ds, mixed $sw, mixed $gp, mixed $ht, mixed $hp) : mixed

Original macro name: ParallaxDec

Parameters
$hh : mixed
$hm : mixed
$hs : mixed
$dd : mixed
$dm : mixed
$ds : mixed
$sw : mixed
$gp : mixed
$ht : mixed
$hp : mixed

parallax_dec_l2870()

Helper function for parallax_dec

parallax_dec_l2870(mixed $x, mixed $y, mixed $rc, mixed $rp, mixed $rs, mixed $tp) : mixed
Parameters
$x : mixed
$y : mixed
$rc : mixed
$rp : mixed
$rs : mixed
$tp : mixed

moon_long()

Calculate geocentric ecliptic longitude for the Moon

moon_long(mixed $lh, mixed $lm, mixed $ls, mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: MoonLong

Parameters
$lh : mixed
$lm : mixed
$ls : mixed
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

moon_lat()

Calculate geocentric ecliptic latitude for the Moon

moon_lat(mixed $lh, mixed $lm, mixed $ls, mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: MoonLat

Parameters
$lh : mixed
$lm : mixed
$ls : mixed
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

moon_hp()

Calculate horizontal parallax for the Moon

moon_hp(mixed $lh, mixed $lm, mixed $ls, mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: MoonHP

Parameters
$lh : mixed
$lm : mixed
$ls : mixed
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

moon_dist()

Calculate distance from the Earth to the Moon (km)

moon_dist(mixed $lh, mixed $lm, mixed $ls, mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: MoonDist

Parameters
$lh : mixed
$lm : mixed
$ls : mixed
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

moon_size()

Calculate the Moon's angular diameter (degrees)

moon_size(mixed $lh, mixed $lm, mixed $ls, mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: MoonSize

Parameters
$lh : mixed
$lm : mixed
$ls : mixed
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

unwind()

Convert angle in radians to equivalent angle in degrees.

unwind(mixed $w) : mixed

Original macro name: Unwind

Parameters
$w : mixed

unwind_deg()

Convert angle in degrees to equivalent angle in the range 0 to 360 degrees.

unwind_deg(mixed $w) : mixed

Original macro name: UnwindDeg

Parameters
$w : mixed

sun_e_long()

Mean ecliptic longitude of the Sun at the epoch

sun_e_long(mixed $gd, mixed $gm, mixed $gy) : mixed

Original macro name: SunElong

Parameters
$gd : mixed
$gm : mixed
$gy : mixed

sun_peri()

Longitude of the Sun at perigee

sun_peri(mixed $gd, mixed $gm, mixed $gy) : mixed

Original macro name: SunPeri

Parameters
$gd : mixed
$gm : mixed
$gy : mixed

sun_ecc()

Eccentricity of the Sun-Earth orbit

sun_ecc(mixed $gd, mixed $gm, mixed $gy) : mixed

Original macro name: SunEcc

Parameters
$gd : mixed
$gm : mixed
$gy : mixed

ec_dec()

Ecliptic - Declination (degrees)

ec_dec(mixed $eld, mixed $elm, mixed $els, mixed $bd, mixed $bm, mixed $bs, mixed $gd, mixed $gm, mixed $gy) : mixed

Original macro name: ECDec

Parameters
$eld : mixed
$elm : mixed
$els : mixed
$bd : mixed
$bm : mixed
$bs : mixed
$gd : mixed
$gm : mixed
$gy : mixed

ec_ra()

Ecliptic - Right Ascension (degrees)

ec_ra(mixed $eld, mixed $elm, mixed $els, mixed $bd, mixed $bm, mixed $bs, mixed $gd, mixed $gm, mixed $gy) : mixed

Original macro name: ECRA

Parameters
$eld : mixed
$elm : mixed
$els : mixed
$bd : mixed
$bm : mixed
$bs : mixed
$gd : mixed
$gm : mixed
$gy : mixed

sun_true_anomaly()

Calculate Sun's true anomaly, i.e., how much its orbit deviates from a true circle to an ellipse.

sun_true_anomaly(mixed $lch, mixed $lcm, mixed $lcs, mixed $ds, mixed $zc, mixed $ld, mixed $lm, mixed $ly) : mixed

Original macro name: SunTrueAnomaly

Parameters
$lch : mixed
$lcm : mixed
$lcs : mixed
$ds : mixed
$zc : mixed
$ld : mixed
$lm : mixed
$ly : mixed

sun_mean_anomaly()

Calculate the Sun's mean anomaly.

sun_mean_anomaly(mixed $lch, mixed $lcm, mixed $lcs, mixed $ds, mixed $zc, mixed $ld, mixed $lm, mixed $ly) : mixed

Original macro name: SunMeanAnomaly

Parameters
$lch : mixed
$lcm : mixed
$lcs : mixed
$ds : mixed
$zc : mixed
$ld : mixed
$lm : mixed
$ly : mixed

sunrise_lct()

Calculate local civil time of sunrise.

sunrise_lct(mixed $ld, mixed $lm, mixed $ly, mixed $ds, mixed $zc, mixed $gl, mixed $gp) : mixed

Original macro name: SunriseLCT

Parameters
$ld : mixed
$lm : mixed
$ly : mixed
$ds : mixed
$zc : mixed
$gl : mixed
$gp : mixed

sunrise_lct_3710()

Helper function for sunrise_lct()

sunrise_lct_3710(mixed $gd, mixed $gm, mixed $gy, mixed $sr, mixed $di, mixed $gp) : mixed
Parameters
$gd : mixed
$gm : mixed
$gy : mixed
$sr : mixed
$di : mixed
$gp : mixed

sunset_lct()

Calculate local civil time of sunset.

sunset_lct(mixed $ld, mixed $lm, mixed $ly, mixed $ds, mixed $zc, mixed $gl, mixed $gp) : mixed

Original macro name: SunsetLCT

Parameters
$ld : mixed
$lm : mixed
$ly : mixed
$ds : mixed
$zc : mixed
$gl : mixed
$gp : mixed

sunset_lct_l3710()

Helper function for sunset_lct().

sunset_lct_l3710(mixed $gd, mixed $gm, mixed $gy, mixed $sr, mixed $di, mixed $gp) : mixed
Parameters
$gd : mixed
$gm : mixed
$gy : mixed
$sr : mixed
$di : mixed
$gp : mixed

rise_set_local_sidereal_time_rise()

Local sidereal time of rise, in hours.

rise_set_local_sidereal_time_rise(mixed $rah, mixed $ram, mixed $ras, mixed $dd, mixed $dm, mixed $ds, mixed $vd, mixed $g) : mixed

Original macro name: RSLSTR

Parameters
$rah : mixed
$ram : mixed
$ras : mixed
$dd : mixed
$dm : mixed
$ds : mixed
$vd : mixed
$g : mixed

rise_set_local_sidereal_time_set()

Local sidereal time of setting, in hours.

rise_set_local_sidereal_time_set(mixed $rah, mixed $ram, mixed $ras, mixed $dd, mixed $dm, mixed $ds, mixed $vd, mixed $g) : mixed

Original macro name: RSLSTS

Parameters
$rah : mixed
$ram : mixed
$ras : mixed
$dd : mixed
$dm : mixed
$ds : mixed
$vd : mixed
$g : mixed

rise_set_azimuth_rise()

Azimuth of rising, in degrees.

rise_set_azimuth_rise(mixed $rah, mixed $ram, mixed $ras, mixed $dd, mixed $dm, mixed $ds, mixed $vd, mixed $g) : mixed

Original macro name: RSAZR

Parameters
$rah : mixed
$ram : mixed
$ras : mixed
$dd : mixed
$dm : mixed
$ds : mixed
$vd : mixed
$g : mixed

rise_set_azimuth_set()

Azimuth of setting, in degrees.

rise_set_azimuth_set(mixed $rah, mixed $ram, mixed $ras, mixed $dd, mixed $dm, mixed $ds, mixed $vd, mixed $g) : mixed

Original macro name: RSAZS

Parameters
$rah : mixed
$ram : mixed
$ras : mixed
$dd : mixed
$dm : mixed
$ds : mixed
$vd : mixed
$g : mixed

ers()

Rise/Set status

ers(mixed $rah, mixed $ram, mixed $ras, mixed $dd, mixed $dm, mixed $ds, mixed $vd, mixed $g) : mixed

Original macro name: eRS

Parameters
$rah : mixed
$ram : mixed
$ras : mixed
$dd : mixed
$dm : mixed
$ds : mixed
$vd : mixed
$g : mixed

e_sun_rs()

Sunrise/Sunset calculation status.

e_sun_rs(mixed $ld, mixed $lm, mixed $ly, mixed $ds, mixed $zc, mixed $gl, mixed $gp) : mixed

Original macro name: eSunRS

Parameters
$ld : mixed
$lm : mixed
$ly : mixed
$ds : mixed
$zc : mixed
$gl : mixed
$gp : mixed

e_sun_rs_l3710()

Helper function for e_sun_rs

e_sun_rs_l3710(mixed $gd, mixed $gm, mixed $gy, mixed $sr, mixed $di, mixed $gp) : mixed
Parameters
$gd : mixed
$gm : mixed
$gy : mixed
$sr : mixed
$di : mixed
$gp : mixed

sunrise_az()

Calculate azimuth of sunrise.

sunrise_az(mixed $ld, mixed $lm, mixed $ly, mixed $ds, mixed $zc, mixed $gl, mixed $gp) : mixed

Original macro name: SunriseAz

Parameters
$ld : mixed
$lm : mixed
$ly : mixed
$ds : mixed
$zc : mixed
$gl : mixed
$gp : mixed

sunrise_az_l3710()

Helper function for sunrise_az()

sunrise_az_l3710(mixed $gd, mixed $gm, mixed $gy, mixed $sr, mixed $di, mixed $gp) : mixed
Parameters
$gd : mixed
$gm : mixed
$gy : mixed
$sr : mixed
$di : mixed
$gp : mixed

sunset_az()

Calculate azimuth of sunset.

sunset_az(mixed $ld, mixed $lm, mixed $ly, mixed $ds, mixed $zc, mixed $gl, mixed $gp) : mixed

Original macro name: SunsetAz

Parameters
$ld : mixed
$lm : mixed
$ly : mixed
$ds : mixed
$zc : mixed
$gl : mixed
$gp : mixed

sunset_az_l3710()

Helper function for sunset_az()

sunset_az_l3710(mixed $gd, mixed $gm, mixed $gy, mixed $sr, mixed $di, mixed $gp) : mixed
Parameters
$gd : mixed
$gm : mixed
$gy : mixed
$sr : mixed
$di : mixed
$gp : mixed

twilight_am_lct()

Calculate morning twilight start, in local time.

twilight_am_lct(mixed $ld, mixed $lm, mixed $ly, mixed $ds, mixed $zc, mixed $gl, mixed $gp, mixed $tt) : mixed

Original macro name: TwilightAMLCT

Parameters
$ld : mixed
$lm : mixed
$ly : mixed
$ds : mixed
$zc : mixed
$gl : mixed
$gp : mixed
$tt : mixed

twilight_am_lct_l3710()

Helper function for twilight_am_lct()

twilight_am_lct_l3710(mixed $gd, mixed $gm, mixed $gy, mixed $sr, mixed $di, mixed $gp) : mixed
Parameters
$gd : mixed
$gm : mixed
$gy : mixed
$sr : mixed
$di : mixed
$gp : mixed

twilight_pm_lct()

Calculate evening twilight end, in local time.

twilight_pm_lct(mixed $ld, mixed $lm, mixed $ly, mixed $ds, mixed $zc, mixed $gl, mixed $gp, mixed $tt) : mixed

Original macro name: TwilightPMLCT

Parameters
$ld : mixed
$lm : mixed
$ly : mixed
$ds : mixed
$zc : mixed
$gl : mixed
$gp : mixed
$tt : mixed

twilight_pm_lct_l3710()

Helper function for twilight_pm_lct()

twilight_pm_lct_l3710(mixed $gd, mixed $gm, mixed $gy, mixed $sr, mixed $di, mixed $gp) : mixed
Parameters
$gd : mixed
$gm : mixed
$gy : mixed
$sr : mixed
$di : mixed
$gp : mixed

e_twilight()

Twilight calculation status.

e_twilight(mixed $ld, mixed $lm, mixed $ly, mixed $ds, mixed $zc, mixed $gl, mixed $gp, mixed $tt) : mixed

Original macro name: eTwilight

Parameters
$ld : mixed
$lm : mixed
$ly : mixed
$ds : mixed
$zc : mixed
$gl : mixed
$gp : mixed
$tt : mixed

e_twilight_l3710()

Helper function for e_twilight()

e_twilight_l3710(mixed $gd, mixed $gm, mixed $gy, mixed $sr, mixed $di, mixed $gp) : mixed
Parameters
$gd : mixed
$gm : mixed
$gy : mixed
$sr : mixed
$di : mixed
$gp : mixed

angle()

Calculate the angle between two celestial objects

angle(mixed $xx1, mixed $xm1, mixed $xs1, mixed $dd1, mixed $dm1, mixed $ds1, mixed $xx2, mixed $xm2, mixed $xs2, mixed $dd2, mixed $dm2, mixed $ds2, mixed $s) : mixed
Parameters
$xx1 : mixed
$xm1 : mixed
$xs1 : mixed
$dd1 : mixed
$dm1 : mixed
$ds1 : mixed
$xx2 : mixed
$xm2 : mixed
$xs2 : mixed
$dd2 : mixed
$dm2 : mixed
$ds2 : mixed
$s : mixed

planet_coordinates()

Calculate several planetary properties.

planet_coordinates(mixed $lh, mixed $lm, mixed $ls, mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr, mixed $s) : mixed

Original macro names: PlanetLong, PlanetLat, PlanetDist, PlanetHLong1, PlanetHLong2, PlanetHLat, PlanetRVect

Parameters
$lh : mixed
$lm : mixed
$ls : mixed
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed
$s : mixed

planet_long_l4685()

Helper function for planet_coordinates()

planet_long_l4685(mixed $pl) : mixed
Parameters
$pl : mixed

planet_long_l4735()

Helper function for planet_coordinates()

planet_long_l4735(mixed $pl, mixed $ms, mixed $t) : mixed
Parameters
$pl : mixed
$ms : mixed
$t : mixed

planet_long_l4810()

Helper function for planet_coordinates()

planet_long_l4810(mixed $pl, mixed $ms) : mixed
Parameters
$pl : mixed
$ms : mixed

planet_long_l4945()

Helper function for planet_coordinates()

planet_long_l4945(mixed $t, mixed $planet) : mixed
Parameters
$t : mixed
$planet : mixed

solve_cubic()

For W, in radians, return S, also in radians.

solve_cubic(mixed $w) : mixed

Original macro name: SolveCubic

Parameters
$w : mixed

p_comet_long_lat_dist()

Calculate longitude, latitude, and distance of parabolic-orbit comet.

p_comet_long_lat_dist(mixed $lh, mixed $lm, mixed $ls, mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr, mixed $td, mixed $tm, mixed $ty, mixed $q, mixed $i, mixed $p, mixed $n) : mixed

Original macro names: PcometLong, PcometLat, PcometDist

Parameters
$lh : mixed
$lm : mixed
$ls : mixed
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed
$td : mixed
$tm : mixed
$ty : mixed
$q : mixed
$i : mixed
$p : mixed
$n : mixed

moon_long_lat_hp()

Calculate longitude, latitude, and horizontal parallax of the Moon.

moon_long_lat_hp(mixed $lh, mixed $lm, mixed $ls, mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro names: MoonLong, MoonLat, MoonHP

Parameters
$lh : mixed
$lm : mixed
$ls : mixed
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

moon_phase_ma()

Calculate current phase of Moon.

moon_phase_ma(mixed $lh, mixed $lm, mixed $ls, mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: MoonPhase

Parameters
$lh : mixed
$lm : mixed
$ls : mixed
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

moon_mean_anomaly()

Calculate the Moon's mean anomaly.

moon_mean_anomaly(mixed $lh, mixed $lm, mixed $ls, mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: MoonMeanAnomaly

Parameters
$lh : mixed
$lm : mixed
$ls : mixed
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

new_moon()

Calculate Julian date of New Moon.

new_moon(mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: NewMoon

Parameters
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

full_moon()

Calculate Julian date of Full Moon.

full_moon(mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: FullMoon

Parameters
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

new_moon_full_moon_l6855()

Helper function for newMoon() and fullMoon()

new_moon_full_moon_l6855(mixed $k, mixed $t) : mixed
Parameters
$k : mixed
$t : mixed

fract()

Original macro name: FRACT

fract(mixed $w) : mixed
Parameters
$w : mixed

lint()

Original macro name: LINT

lint(mixed $w) : mixed
Parameters
$w : mixed

i_int()

Original macro name: IINT

i_int(mixed $w) : mixed
Parameters
$w : mixed

sign()

Calculate sign of number.

sign(mixed $numberToCheck) : mixed
Parameters
$numberToCheck : mixed

ut_day_adjust()

Original macro name: UTDayAdjust

ut_day_adjust(mixed $ut, mixed $g1) : mixed
Parameters
$ut : mixed
$g1 : mixed

f_part()

Original macro name: Fpart

f_part(mixed $w) : mixed
Parameters
$w : mixed

eq_e_lat()

Original macro name: EQElat

eq_e_lat(mixed $rah, mixed $ram, mixed $ras, mixed $dd, mixed $dm, mixed $ds, mixed $gd, mixed $gm, mixed $gy) : mixed
Parameters
$rah : mixed
$ram : mixed
$ras : mixed
$dd : mixed
$dm : mixed
$ds : mixed
$gd : mixed
$gm : mixed
$gy : mixed

eq_e_long()

Original macro name: EQElong

eq_e_long(mixed $rah, mixed $ram, mixed $ras, mixed $dd, mixed $dm, mixed $ds, mixed $gd, mixed $gm, mixed $gy) : mixed
Parameters
$rah : mixed
$ram : mixed
$ras : mixed
$dd : mixed
$dm : mixed
$ds : mixed
$gd : mixed
$gm : mixed
$gy : mixed

moon_rise_lct()

Local time of moonrise.

moon_rise_lct(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc, mixed $gLong, mixed $gLat) : mixed

Original macro name: MoonRiseLCT

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed
$gLong : mixed
$gLat : mixed

moon_rise_lct_l6680()

Helper function for moon_rise_lct

moon_rise_lct_l6680(mixed $x, mixed $ds, mixed $zc, mixed $gdy, mixed $gmn, mixed $gyr, mixed $g1, mixed $ut) : mixed
Parameters
$x : mixed
$ds : mixed
$zc : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$g1 : mixed
$ut : mixed

moon_rise_lct_l6700()

Helper function for moon_rise_lct

moon_rise_lct_l6700(mixed $lct, mixed $ds, mixed $zc, mixed $dy1, mixed $mn1, mixed $yr1, mixed $gdy, mixed $gmn, mixed $gyr, mixed $gLat) : mixed
Parameters
$lct : mixed
$ds : mixed
$zc : mixed
$dy1 : mixed
$mn1 : mixed
$yr1 : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$gLat : mixed

moon_rise_lc_dmy()

Local date of moonrise.

moon_rise_lc_dmy(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc, mixed $gLong, mixed $gLat) : mixed

Original macro names: MoonRiseLcDay, MoonRiseLcMonth, MoonRiseLcYear

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed
$gLong : mixed
$gLat : mixed

moon_rise_lc_dmy_l6680()

Helper function for moon_rise_lc_dmy

moon_rise_lc_dmy_l6680(mixed $x, mixed $ds, mixed $zc, mixed $gdy, mixed $gmn, mixed $gyr, mixed $g1, mixed $ut) : mixed
Parameters
$x : mixed
$ds : mixed
$zc : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$g1 : mixed
$ut : mixed

moon_rise_lc_dmy_l6700()

Helper function for moon_rise_lc_dmy

moon_rise_lc_dmy_l6700(mixed $lct, mixed $ds, mixed $zc, mixed $dy1, mixed $mn1, mixed $yr1, mixed $gdy, mixed $gmn, mixed $gyr, mixed $gLat) : mixed
Parameters
$lct : mixed
$ds : mixed
$zc : mixed
$dy1 : mixed
$mn1 : mixed
$yr1 : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$gLat : mixed

moon_rise_az()

Local azimuth of moonrise.

moon_rise_az(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc, mixed $gLong, mixed $gLat) : mixed

Original macro name: MoonRiseAz

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed
$gLong : mixed
$gLat : mixed

moon_rise_az_l6680()

Helper function for moon_rise_az

moon_rise_az_l6680(mixed $x, mixed $ds, mixed $zc, mixed $gdy, mixed $gmn, mixed $gyr, mixed $g1, mixed $ut) : mixed
Parameters
$x : mixed
$ds : mixed
$zc : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$g1 : mixed
$ut : mixed

moon_rise_az_l6700()

Helper function for moon_rise_az

moon_rise_az_l6700(mixed $lct, mixed $ds, mixed $zc, mixed $dy1, mixed $mn1, mixed $yr1, mixed $gdy, mixed $gmn, mixed $gyr, mixed $gLat) : mixed
Parameters
$lct : mixed
$ds : mixed
$zc : mixed
$dy1 : mixed
$mn1 : mixed
$yr1 : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$gLat : mixed

moon_set_lct()

Local time of moonset.

moon_set_lct(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc, mixed $gLong, mixed $gLat) : mixed

Original macro name: MoonSetLCT

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed
$gLong : mixed
$gLat : mixed

moon_set_lct_l6680()

Helper function for moon_set_lct

moon_set_lct_l6680(mixed $x, mixed $ds, mixed $zc, mixed $gdy, mixed $gmn, mixed $gyr, mixed $g1, mixed $ut) : mixed
Parameters
$x : mixed
$ds : mixed
$zc : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$g1 : mixed
$ut : mixed

moon_set_lct_l6700()

Helper function for moon_set_lct

moon_set_lct_l6700(mixed $lct, mixed $ds, mixed $zc, mixed $dy1, mixed $mn1, mixed $yr1, mixed $gdy, mixed $gmn, mixed $gyr, mixed $gLat) : mixed
Parameters
$lct : mixed
$ds : mixed
$zc : mixed
$dy1 : mixed
$mn1 : mixed
$yr1 : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$gLat : mixed

moon_set_lc_dmy()

Local date of moonset.

moon_set_lc_dmy(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc, mixed $gLong, mixed $gLat) : mixed

Original macro names: MoonSetLcDay, MoonSetLcMonth, MoonSetLcYear

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed
$gLong : mixed
$gLat : mixed

moon_set_lc_dmy_l6680()

Helper function for moon_set_lc_dmy

moon_set_lc_dmy_l6680(mixed $x, mixed $ds, mixed $zc, mixed $gdy, mixed $gmn, mixed $gyr, mixed $g1, mixed $ut) : mixed
Parameters
$x : mixed
$ds : mixed
$zc : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$g1 : mixed
$ut : mixed

moon_set_lc_dmy_l6700()

Helper function for moon_set_lc_dmy

moon_set_lc_dmy_l6700(mixed $lct, mixed $ds, mixed $zc, mixed $dy1, mixed $mn1, mixed $yr1, mixed $gdy, mixed $gmn, mixed $gyr, mixed $gLat) : mixed
Parameters
$lct : mixed
$ds : mixed
$zc : mixed
$dy1 : mixed
$mn1 : mixed
$yr1 : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$gLat : mixed

moon_set_az()

Local azimuth of moonset.

moon_set_az(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc, mixed $gLong, mixed $gLat) : mixed

Original macro name: MoonSetAz

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed
$gLong : mixed
$gLat : mixed

moon_set_az_l6680()

Helper function for moon_set_az

moon_set_az_l6680(mixed $x, mixed $ds, mixed $zc, mixed $gdy, mixed $gmn, mixed $gyr, mixed $g1, mixed $ut) : mixed
Parameters
$x : mixed
$ds : mixed
$zc : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$g1 : mixed
$ut : mixed

moon_set_az_l6700()

Helper function for moon_set_az

moon_set_az_l6700(mixed $lct, mixed $ds, mixed $zc, mixed $dy1, mixed $mn1, mixed $yr1, mixed $gdy, mixed $gmn, mixed $gyr, mixed $gLat) : mixed
Parameters
$lct : mixed
$ds : mixed
$zc : mixed
$dy1 : mixed
$mn1 : mixed
$yr1 : mixed
$gdy : mixed
$gmn : mixed
$gyr : mixed
$gLat : mixed

lunar_eclipse_occurrence()

Determine if a lunar eclipse is likely to occur.

lunar_eclipse_occurrence(mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: LEOccurrence

Parameters
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

lunar_eclipse_occurrence_l6855()

Helper function for lunar_eclipse_occurrence

lunar_eclipse_occurrence_l6855(mixed $t, mixed $k) : mixed
Parameters
$t : mixed
$k : mixed

ut_max_lunar_eclipse()

Calculate time of maximum shadow for lunar eclipse (UT)

ut_max_lunar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc) : mixed

Original macro name: UTMaxLunarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed

ut_first_contact_lunar_eclipse()

Calculate time of first shadow contact for lunar eclipse (UT)

ut_first_contact_lunar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc) : mixed

Original macro name: UTFirstContactLunarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed

ut_last_contact_lunar_eclipse()

Calculate time of last shadow contact for lunar eclipse (UT)

ut_last_contact_lunar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc) : mixed

Original macro name: UTLastContactLunarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed

ut_start_umbra_lunar_eclipse()

Calculate start time of umbra phase of lunar eclipse (UT)

ut_start_umbra_lunar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc) : mixed

Original macro name: UTStartUmbraLunarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed

ut_end_umbra_lunar_eclipse()

Calculate end time of umbra phase of lunar eclipse (UT)

ut_end_umbra_lunar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc) : mixed

Original macro name: UTEndUmbraLunarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed

ut_start_total_lunar_eclipse()

Calculate start time of total phase of lunar eclipse (UT)

ut_start_total_lunar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc) : mixed

Original macro name: UTStartTotalLunarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed

ut_end_total_lunar_eclipse()

Calculate end time of total phase of lunar eclipse (UT)

ut_end_total_lunar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc) : mixed

Original macro name: UTEndTotalLunarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed

mag_lunar_eclipse()

Calculate magnitude of lunar eclipse.

mag_lunar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc) : mixed

Original macro name: MagLunarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed

solar_eclipse_occurrence()

Determine if a solar eclipse is likely to occur.

solar_eclipse_occurrence(mixed $ds, mixed $zc, mixed $dy, mixed $mn, mixed $yr) : mixed

Original macro name: SEOccurrence

Parameters
$ds : mixed
$zc : mixed
$dy : mixed
$mn : mixed
$yr : mixed

solar_eclipse_occurrence_l6855()

Helper function for solar_eclipse_occurrence

solar_eclipse_occurrence_l6855(mixed $t, mixed $k) : mixed
Parameters
$t : mixed
$k : mixed

ut_max_solar_eclipse()

Calculate time of maximum shadow for solar eclipse (UT)

ut_max_solar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc, mixed $glong, mixed $glat) : mixed

Original macro name: UTMaxSolarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed
$glong : mixed
$glat : mixed

ut_max_solar_eclipse_l7390()

Helper function for ut_max_solar_eclipse

ut_max_solar_eclipse_l7390(mixed $x, mixed $y, mixed $igday, mixed $gmonth, mixed $gyear, mixed $tm, mixed $glong, mixed $glat, mixed $hp) : mixed
Parameters
$x : mixed
$y : mixed
$igday : mixed
$gmonth : mixed
$gyear : mixed
$tm : mixed
$glong : mixed
$glat : mixed
$hp : mixed

ut_first_contact_solar_eclipse()

Calculate time of first contact for solar eclipse (UT)

ut_first_contact_solar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc, mixed $glong, mixed $glat) : mixed

Original macro name: UTFirstContactSolarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed
$glong : mixed
$glat : mixed

ut_first_contact_solar_eclipse_l7390()

Helper function for ut_first_contact_solar_eclipse

ut_first_contact_solar_eclipse_l7390(mixed $x, mixed $y, mixed $igday, mixed $gmonth, mixed $gyear, mixed $tm, mixed $glong, mixed $glat, mixed $hp) : mixed
Parameters
$x : mixed
$y : mixed
$igday : mixed
$gmonth : mixed
$gyear : mixed
$tm : mixed
$glong : mixed
$glat : mixed
$hp : mixed

ut_last_contact_solar_eclipse()

Calculate time of last contact for solar eclipse (UT)

ut_last_contact_solar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc, mixed $glong, mixed $glat) : mixed

Original macro name: UTLastContactSolarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed
$glong : mixed
$glat : mixed

ut_last_contact_solar_eclipse_l7390()

Helper function for ut_last_contact_solar_eclipse

ut_last_contact_solar_eclipse_l7390(mixed $x, mixed $y, mixed $igday, mixed $gmonth, mixed $gyear, mixed $tm, mixed $glong, mixed $glat, mixed $hp) : mixed
Parameters
$x : mixed
$y : mixed
$igday : mixed
$gmonth : mixed
$gyear : mixed
$tm : mixed
$glong : mixed
$glat : mixed
$hp : mixed

mag_solar_eclipse()

Calculate magnitude of solar eclipse.

mag_solar_eclipse(mixed $dy, mixed $mn, mixed $yr, mixed $ds, mixed $zc, mixed $glong, mixed $glat) : mixed

Original macro name: MagSolarEclipse

Parameters
$dy : mixed
$mn : mixed
$yr : mixed
$ds : mixed
$zc : mixed
$glong : mixed
$glat : mixed

mag_solar_eclipse_l7390()

Helper function for mag_solar_eclipse

mag_solar_eclipse_l7390(mixed $x, mixed $y, mixed $igday, mixed $gmonth, mixed $gyear, mixed $tm, mixed $glong, mixed $glat, mixed $hp) : mixed
Parameters
$x : mixed
$y : mixed
$igday : mixed
$gmonth : mixed
$gyear : mixed
$tm : mixed
$glong : mixed
$glat : mixed
$hp : mixed
On this page

Search results