@observerly/astrometry
Version:
observerly's lightweight, zero-dependency, type safe astrometry library written in Typescript for calculating the position of celestial objects in the sky.
19 lines (18 loc) • 1.01 kB
TypeScript
/*****************************************************************************************************************/
import type { EquatorialCoordinate } from './common';
/*****************************************************************************************************************/
/**
*
* getCorrectionToEquatorialForNutation()
*
* Corrects the equatorial coordinate of a target for nutation in longitude and obliquity due to the
* gravitational influence of the moon and sun on the Earth, causing the Earth's axial precession
* to vary over time.
*
* @param date - 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 const getCorrectionToEquatorialForNutation: (datetime: Date, target: EquatorialCoordinate) => EquatorialCoordinate;
/*****************************************************************************************************************/