/*****************************************************************************************************************/ /*****************************************************************************************************************/ import type { CartesianCoordinate, EquatorialCoordinate, GeographicCoordinate } from './common'; /*****************************************************************************************************************/ /** * * getBarycentricEarthVelocity() * * The velocity of the centre of the Earth about the barycentre of the Solar System, referred to the mean equator * and equinox of J2000.0, e.g., the velocity of the Earth about the Sun of the VSOP87 theory, which carries the * motion of the Earth about the barycentre of the Earth and the Moon, together with the velocity of the Sun about * the barycentre of the Solar System, as eraEpv00 resolves the barycentric velocity of the Earth. * * The velocities are resolved as the central differences of the positions over a day, e.g., the truncation of the * difference is ~0.2 % of the monthly motion of the Earth about the barycentre of the Earth and the Moon, which is * ~12.5 metres per second, and so is ~0.02 metres per second, or ~0.02 milliarcseconds of aberration. * * @param datetime - The date to resolve the velocity of the Earth for. * @returns The barycentric velocity of the Earth (in astronomical units per day). * */ export declare function getBarycentricEarthVelocity(datetime: Date): Required; /*****************************************************************************************************************/ /** * * getCorrectionToEquatorialForAnnualAberration() * * Corrects the equatorial coordinate of a target for the annual aberration of light, e.g., the displacement of the * target towards the direction of the motion of the Earth about the barycentre of the Solar System, of up to ~20.5 * arcseconds. The correction terms should be added to the target's coordinate by the caller. * * The aberration is that of the special relativistic composition of the velocity of the Earth with the direction * of the target, to the second order in the velocity, together with the term of the gravitational potential of * the Sun at the Earth, as eraAb of the IAU Standards of Fundamental Astronomy (SOFA) resolves it. * * N.B. The aberration is resolved within the mean equator and equinox of J2000.0, as eraAtciq resolves it within * the BCRS, and so it is applied to the J2000 coordinate before the precession and the nutation. * * @param datetime - The date to correct the equatorial coordinate for. * @param target - The equatorial J2000 coordinate of the target. * @returns The correction to the equatorial coordinate (in degrees) to add to the target's coordinate. * */ export declare function getCorrectionToEquatorialForAnnualAberration(datetime: Date, target: EquatorialCoordinate): EquatorialCoordinate; /*****************************************************************************************************************/ /** * * getCorrectionToEquatorialForDiurnalAberration() * * Corrects the equatorial coordinate of a target for the diurnal aberration of light, e.g., the * displacement of the target towards the east point of the observer's horizon, as the observer is * carried eastward by the rotation of the Earth, of up to ~0.32 arcseconds for an observer at the * equator. The correction terms should be added to the target's coordinate by the caller. * * The aberration is that of the velocity the rotation of the Earth carries the observer at, and * so it vanishes for an observer at either pole of the Earth, who is not carried at all. * * N.B. The correction is recovered from the displaced vector of the target, and is not expanded * about the target, e.g., as Δα = κ cos φ cos H / cos δ, which divides by cos δ and so is * unbounded towards the celestial poles. * * @param datetime - The date to correct the equatorial coordinate for. * @param observer - The geographic coordinate of the observer. * @param target - The equatorial coordinate of the target. * @returns The correction to the equatorial coordinate (in degrees) to add to the target's coordinate. * */ export declare function getCorrectionToEquatorialForDiurnalAberration(datetime: Date, observer: GeographicCoordinate, target: EquatorialCoordinate): EquatorialCoordinate; /*****************************************************************************************************************/ /** * * getCorrectionToEquatorialForAberration() * * Corrects the equatorial coordinate of a target for aberration in * longitude and obliquity due to the apparent motion of the Earth. * * @param datetime - The date to correct the equatorial coordinate for. * @param target - The equatorial J2000 coordinate of the target. * @returns The corrected equatorial coordinate of the target. * */ export declare function getCorrectionToEquatorialForAberration(datetime: Date, observer: GeographicCoordinate, target: EquatorialCoordinate): EquatorialCoordinate; /*****************************************************************************************************************/ /** * * getCorrectionToEquatorialForVelocityAberration() * * Corrects the equatorial coordinate of a target for the aberration due to the velocity of the * observer themselves, e.g., the velocity of a spacecraft in its orbit, which displaces the target * towards the direction the observer is travelling in. * * The correction is the first order aberration of the direction to the target, e.g., the unit * vector of the target displaced by v/c, and so it is the same physics as the diurnal aberration * of an observer carried by the rotation of the Earth, for a velocity that is not constrained to * that rotation. An observer in a low Earth orbit travels at ~7.7 km/s, and so the displacement * reaches ~5.3 arcseconds, against the ~0.32 arcseconds of an observer at the equator. * * @param target - The equatorial coordinate of the target. * @param velocity - The velocity of the observer, in the equatorial frame (in SI metres per second). * @returns The correction to the equatorial coordinate of the target (in degrees). * */ export declare function getCorrectionToEquatorialForVelocityAberration(target: EquatorialCoordinate, velocity: Required): EquatorialCoordinate; /*****************************************************************************************************************/ /** * * getCorrectionToEquatorialForLightDeflection() * * Corrects the equatorial coordinate of a target for the gravitational deflection of light by the * Sun, e.g., the bending of the light of the target towards the Sun as it passes through the * gravitational field of the Sun, which displaces the apparent place of the target away from the * Sun. The correction terms should be added to the target's coordinate by the caller. * * The deflection is that of the first post-Newtonian order of the Schwarzschild metric, e.g., up to * ~1.75 arcseconds at the limb of the Sun, and ~4 milliarcseconds at right angles to the Sun. * * N.B. The deflection is unbounded for a target behind the Sun, and so the distance of the target * from the direction of the Sun is held to a small floor of 10⁻⁶ / max(d², 1), where d is the * distance of the Sun in astronomical units, as eraLdsun of the IAU Standards of Fundamental * Astronomy (SOFA) holds it. * * @param datetime - The date to correct the equatorial coordinate for. * @param target - The equatorial J2000 coordinate of the target. * @returns The correction to the equatorial coordinate (in degrees) to add to the target's coordinate. * */ export declare function getCorrectionToEquatorialForLightDeflection(datetime: Date, target: EquatorialCoordinate): EquatorialCoordinate; /*****************************************************************************************************************/