PACoordinates.php
Table of Contents
Functions
- angle_to_decimal_degrees() : mixed
- Convert an Angle (degrees, minutes, and seconds) to Decimal Degrees
- decimal_degrees_to_angle() : mixed
- Convert Decimal Degrees to an Angle (degrees, minutes, and seconds)
- right_ascension_to_hour_angle() : mixed
- Convert Right Ascension to Hour Angle
- hour_angle_to_right_ascension() : mixed
- Convert Hour Angle to Right Ascension
- equatorial_coordinates_to_horizon_coordinates() : mixed
- Convert Equatorial Coordinates to Horizon Coordinates
- horizon_coordinates_to_equatorial_coordinates() : mixed
- Convert Horizon Coordinates to Equatorial Coordinates
- mean_obliquity_of_the_ecliptic() : mixed
- Calculate Mean Obliquity of the Ecliptic for a Greenwich Date
- ecliptic_coordinate_to_equatorial_coordinate() : mixed
- Convert Ecliptic Coordinates to Equatorial Coordinates
- equatorial_coordinate_to_ecliptic_coordinate() : mixed
- Convert Equatorial Coordinates to Ecliptic Coordinates
- equatorial_coordinate_to_galactic_coordinate() : mixed
- Convert Equatorial Coordinates to Galactic Coordinates
- galactic_coordinate_to_equatorial_coordinate() : mixed
- Convert Galactic Coordinates to Equatorial Coordinates
- angle_between_two_objects() : mixed
- Calculate the angle between two celestial objects
- rising_and_setting() : mixed
- Calculate rising and setting times for an object.
- correct_for_precession() : mixed
- Calculate precession (corrected coordinates between two epochs)
- nutation_in_ecliptic_longitude_and_obliquity() : mixed
- Calculate nutation for two values: ecliptic longitude and obliquity, for a Greenwich date.
- correct_for_aberration() : mixed
- Correct ecliptic coordinates for the effects of aberration.
- atmospheric_refraction() : mixed
- Calculate corrected RA/Dec, accounting for atmospheric refraction.
- corrections_for_geocentric_parallax() : mixed
- Calculate corrected RA/Dec, accounting for geocentric parallax.
- heliographic_coordinates() : mixed
- Calculate heliographic coordinates for a given Greenwich date, with a given heliographic position angle and heliographic displacement in arc minutes.
- carrington_rotation_number() : mixed
- Calculate carrington rotation number for a Greenwich date
- selenographic_coordinates1() : mixed
- Calculate selenographic (lunar) coordinates (sub-Earth)
- selenographic_coordinates2() : mixed
- Calculate selenographic (lunar) coordinates (sub-Solar)
Functions
angle_to_decimal_degrees()
Convert an Angle (degrees, minutes, and seconds) to Decimal Degrees
angle_to_decimal_degrees(mixed $degrees, mixed $minutes, mixed $seconds) : mixed
Parameters
- $degrees : mixed
- $minutes : mixed
- $seconds : mixed
decimal_degrees_to_angle()
Convert Decimal Degrees to an Angle (degrees, minutes, and seconds)
decimal_degrees_to_angle(mixed $decimalDegrees) : mixed
Parameters
- $decimalDegrees : 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 $isDaylightSavings, mixed $zoneCorrection, mixed $localDay, mixed $localMonth, mixed $localYear, mixed $geographicalLongitude) : mixed
Parameters
- $raHours : mixed
- $raMinutes : mixed
- $raSeconds : mixed
- $lctHours : mixed
- $lctMinutes : mixed
- $lctSeconds : mixed
- $isDaylightSavings : mixed
- $zoneCorrection : mixed
- $localDay : mixed
- $localMonth : mixed
- $localYear : mixed
- $geographicalLongitude : 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 $isDaylightSaving, mixed $zoneCorrection, mixed $localDay, mixed $localMonth, mixed $localYear, mixed $geographicalLongitude) : mixed
Parameters
- $hourAngleHours : mixed
- $hourAngleMinutes : mixed
- $hourAngleSeconds : mixed
- $lctHours : mixed
- $lctMinutes : mixed
- $lctSeconds : mixed
- $isDaylightSaving : mixed
- $zoneCorrection : mixed
- $localDay : mixed
- $localMonth : mixed
- $localYear : mixed
- $geographicalLongitude : mixed
equatorial_coordinates_to_horizon_coordinates()
Convert Equatorial Coordinates to Horizon Coordinates
equatorial_coordinates_to_horizon_coordinates(mixed $hourAngleHours, mixed $hourAngleMinutes, mixed $hourAngleSeconds, mixed $declinationDegrees, mixed $declinationMinutes, mixed $declinationSeconds, mixed $geographicalLatitude) : mixed
Parameters
- $hourAngleHours : mixed
- $hourAngleMinutes : mixed
- $hourAngleSeconds : mixed
- $declinationDegrees : mixed
- $declinationMinutes : mixed
- $declinationSeconds : mixed
- $geographicalLatitude : mixed
horizon_coordinates_to_equatorial_coordinates()
Convert Horizon Coordinates to Equatorial Coordinates
horizon_coordinates_to_equatorial_coordinates(mixed $azimuthDegrees, mixed $azimuthMinutes, mixed $azimuthSeconds, mixed $altitudeDegrees, mixed $altitudeMinutes, mixed $altitudeSeconds, mixed $geographicalLatitude) : mixed
Parameters
- $azimuthDegrees : mixed
- $azimuthMinutes : mixed
- $azimuthSeconds : mixed
- $altitudeDegrees : mixed
- $altitudeMinutes : mixed
- $altitudeSeconds : mixed
- $geographicalLatitude : mixed
mean_obliquity_of_the_ecliptic()
Calculate Mean Obliquity of the Ecliptic for a Greenwich Date
mean_obliquity_of_the_ecliptic(mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed
Parameters
- $greenwichDay : mixed
- $greenwichMonth : mixed
- $greenwichYear : mixed
ecliptic_coordinate_to_equatorial_coordinate()
Convert Ecliptic Coordinates to Equatorial Coordinates
ecliptic_coordinate_to_equatorial_coordinate(mixed $eclipticLongitudeDegrees, mixed $eclipticLongitudeMinutes, mixed $eclipticLongitudeSeconds, mixed $eclipticLatitudeDegrees, mixed $eclipticLatitudeMinutes, mixed $eclipticLatitudeSeconds, mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed
Parameters
- $eclipticLongitudeDegrees : mixed
- $eclipticLongitudeMinutes : mixed
- $eclipticLongitudeSeconds : mixed
- $eclipticLatitudeDegrees : mixed
- $eclipticLatitudeMinutes : mixed
- $eclipticLatitudeSeconds : mixed
- $greenwichDay : mixed
- $greenwichMonth : mixed
- $greenwichYear : mixed
equatorial_coordinate_to_ecliptic_coordinate()
Convert Equatorial Coordinates to Ecliptic Coordinates
equatorial_coordinate_to_ecliptic_coordinate(mixed $raHours, mixed $raMinutes, mixed $raSeconds, mixed $decDegrees, mixed $decMinutes, mixed $decSeconds, mixed $gwDay, mixed $gwMonth, mixed $gwYear) : mixed
Parameters
- $raHours : mixed
- $raMinutes : mixed
- $raSeconds : mixed
- $decDegrees : mixed
- $decMinutes : mixed
- $decSeconds : mixed
- $gwDay : mixed
- $gwMonth : mixed
- $gwYear : mixed
equatorial_coordinate_to_galactic_coordinate()
Convert Equatorial Coordinates to Galactic Coordinates
equatorial_coordinate_to_galactic_coordinate(mixed $raHours, mixed $raMinutes, mixed $raSeconds, mixed $decDegrees, mixed $decMinutes, mixed $decSeconds) : mixed
Parameters
- $raHours : mixed
- $raMinutes : mixed
- $raSeconds : mixed
- $decDegrees : mixed
- $decMinutes : mixed
- $decSeconds : mixed
galactic_coordinate_to_equatorial_coordinate()
Convert Galactic Coordinates to Equatorial Coordinates
galactic_coordinate_to_equatorial_coordinate(mixed $galLongDeg, mixed $galLongMin, mixed $galLongSec, mixed $galLatDeg, mixed $galLatMin, mixed $galLatSec) : mixed
Parameters
- $galLongDeg : mixed
- $galLongMin : mixed
- $galLongSec : mixed
- $galLatDeg : mixed
- $galLatMin : mixed
- $galLatSec : mixed
angle_between_two_objects()
Calculate the angle between two celestial objects
angle_between_two_objects(mixed $raLong1HourDeg, mixed $raLong1Min, mixed $raLong1Sec, mixed $decLat1Deg, mixed $decLat1Min, mixed $decLat1Sec, mixed $raLong2HourDeg, mixed $raLong2Min, mixed $raLong2Sec, mixed $decLat2Deg, mixed $decLat2Min, mixed $decLat2Sec, AngleMeasure $hourOrDegree) : mixed
Parameters
- $raLong1HourDeg : mixed
- $raLong1Min : mixed
- $raLong1Sec : mixed
- $decLat1Deg : mixed
- $decLat1Min : mixed
- $decLat1Sec : mixed
- $raLong2HourDeg : mixed
- $raLong2Min : mixed
- $raLong2Sec : mixed
- $decLat2Deg : mixed
- $decLat2Min : mixed
- $decLat2Sec : mixed
- $hourOrDegree : AngleMeasure
rising_and_setting()
Calculate rising and setting times for an object.
rising_and_setting(mixed $raHours, mixed $raMinutes, mixed $raSeconds, mixed $decDeg, mixed $decMin, mixed $decSec, mixed $gwDateDay, mixed $gwDateMonth, mixed $gwDateYear, mixed $geogLongDeg, mixed $geogLatDeg, mixed $vertShiftDeg) : mixed
Parameters
- $raHours : mixed
- $raMinutes : mixed
- $raSeconds : mixed
- $decDeg : mixed
- $decMin : mixed
- $decSec : mixed
- $gwDateDay : mixed
- $gwDateMonth : mixed
- $gwDateYear : mixed
- $geogLongDeg : mixed
- $geogLatDeg : mixed
- $vertShiftDeg : mixed
correct_for_precession()
Calculate precession (corrected coordinates between two epochs)
correct_for_precession(mixed $raHour, mixed $raMinutes, mixed $raSeconds, mixed $decDeg, mixed $decMinutes, mixed $decSeconds, mixed $epoch1Day, mixed $epoch1Month, mixed $epoch1Year, mixed $epoch2Day, mixed $epoch2Month, mixed $epoch2Year) : mixed
Parameters
- $raHour : mixed
- $raMinutes : mixed
- $raSeconds : mixed
- $decDeg : mixed
- $decMinutes : mixed
- $decSeconds : mixed
- $epoch1Day : mixed
- $epoch1Month : mixed
- $epoch1Year : mixed
- $epoch2Day : mixed
- $epoch2Month : mixed
- $epoch2Year : mixed
nutation_in_ecliptic_longitude_and_obliquity()
Calculate nutation for two values: ecliptic longitude and obliquity, for a Greenwich date.
nutation_in_ecliptic_longitude_and_obliquity(mixed $greenwichDay, mixed $greenwichMonth, mixed $greenwichYear) : mixed
Parameters
- $greenwichDay : mixed
- $greenwichMonth : mixed
- $greenwichYear : mixed
correct_for_aberration()
Correct ecliptic coordinates for the effects of aberration.
correct_for_aberration(mixed $utHour, mixed $utMinutes, mixed $utSeconds, mixed $gwDay, mixed $gwMonth, mixed $gwYear, mixed $trueEclLongDeg, mixed $trueEclLongMin, mixed $trueEclLongSec, mixed $trueEclLatDeg, mixed $trueEclLatMin, mixed $trueEclLatSec) : mixed
Parameters
- $utHour : mixed
- $utMinutes : mixed
- $utSeconds : mixed
- $gwDay : mixed
- $gwMonth : mixed
- $gwYear : mixed
- $trueEclLongDeg : mixed
- $trueEclLongMin : mixed
- $trueEclLongSec : mixed
- $trueEclLatDeg : mixed
- $trueEclLatMin : mixed
- $trueEclLatSec : mixed
atmospheric_refraction()
Calculate corrected RA/Dec, accounting for atmospheric refraction.
atmospheric_refraction(mixed $trueRAHour, mixed $trueRAMin, mixed $trueRASec, mixed $trueDecDeg, mixed $trueDecMin, mixed $trueDecSec, CoordinateType $coordinateType, mixed $geogLongDeg, mixed $geogLatDeg, mixed $daylightSavingHours, mixed $timezoneHours, mixed $lcdDay, mixed $lcdMonth, mixed $lcdYear, mixed $lctHour, mixed $lctMin, mixed $lctSec, mixed $atmosphericPressureMbar, mixed $atmosphericTemperatureCelsius) : mixed
Parameters
- $trueRAHour : mixed
- $trueRAMin : mixed
- $trueRASec : mixed
- $trueDecDeg : mixed
- $trueDecMin : mixed
- $trueDecSec : mixed
- $coordinateType : CoordinateType
- $geogLongDeg : mixed
- $geogLatDeg : mixed
- $daylightSavingHours : mixed
- $timezoneHours : mixed
- $lcdDay : mixed
- $lcdMonth : mixed
- $lcdYear : mixed
- $lctHour : mixed
- $lctMin : mixed
- $lctSec : mixed
- $atmosphericPressureMbar : mixed
- $atmosphericTemperatureCelsius : mixed
corrections_for_geocentric_parallax()
Calculate corrected RA/Dec, accounting for geocentric parallax.
corrections_for_geocentric_parallax(mixed $raHour, mixed $raMin, mixed $raSec, mixed $decDeg, mixed $decMin, mixed $decSec, CoordinateType $coordinateType, mixed $equatorialHorParallaxDeg, mixed $geogLongDeg, mixed $geogLatDeg, mixed $heightM, mixed $daylightSaving, mixed $timezoneHours, mixed $lcdDay, mixed $lcdMonth, mixed $lcdYear, mixed $lctHour, mixed $lctMin, mixed $lctSec) : mixed
Parameters
- $raHour : mixed
- $raMin : mixed
- $raSec : mixed
- $decDeg : mixed
- $decMin : mixed
- $decSec : mixed
- $coordinateType : CoordinateType
- $equatorialHorParallaxDeg : mixed
- $geogLongDeg : mixed
- $geogLatDeg : mixed
- $heightM : mixed
- $daylightSaving : mixed
- $timezoneHours : mixed
- $lcdDay : mixed
- $lcdMonth : mixed
- $lcdYear : mixed
- $lctHour : mixed
- $lctMin : mixed
- $lctSec : mixed
heliographic_coordinates()
Calculate heliographic coordinates for a given Greenwich date, with a given heliographic position angle and heliographic displacement in arc minutes.
heliographic_coordinates(mixed $helioPositionAngleDeg, mixed $helioDisplacementArcmin, mixed $gwdateDay, mixed $gwdateMonth, mixed $gwdateYear) : mixed
Parameters
- $helioPositionAngleDeg : mixed
- $helioDisplacementArcmin : mixed
- $gwdateDay : mixed
- $gwdateMonth : mixed
- $gwdateYear : mixed
carrington_rotation_number()
Calculate carrington rotation number for a Greenwich date
carrington_rotation_number(mixed $gwdateDay, mixed $gwdateMonth, mixed $gwdateYear) : mixed
Parameters
- $gwdateDay : mixed
- $gwdateMonth : mixed
- $gwdateYear : mixed
selenographic_coordinates1()
Calculate selenographic (lunar) coordinates (sub-Earth)
selenographic_coordinates1(mixed $gwdateDay, mixed $gwdateMonth, mixed $gwdateYear) : mixed
Parameters
- $gwdateDay : mixed
- $gwdateMonth : mixed
- $gwdateYear : mixed
selenographic_coordinates2()
Calculate selenographic (lunar) coordinates (sub-Solar)
selenographic_coordinates2(mixed $gwdateDay, mixed $gwdateMonth, mixed $gwdateYear) : mixed
Parameters
- $gwdateDay : mixed
- $gwdateMonth : mixed
- $gwdateYear : mixed