@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.
18 lines (17 loc) • 1.02 kB
TypeScript
/*****************************************************************************************************************/
/*****************************************************************************************************************/
import type { EquatorialCoordinate } from './common';
/*****************************************************************************************************************/
/**
*
* getCorrectionToEquatorialForPrecessionOfEquinoxes()
*
* Corrects the equatorial coordinates of a target for the precession of the equinoxes.
*
* @param date - The date to correct the equatorial coordinates for.
* @param target - The equatorial J2000 coordinates of the target.
* @returns The corrected equatorial coordinates of the target.
*
*/
export declare const getCorrectionToEquatorialForPrecessionOfEquinoxes: (datetime: Date, target: EquatorialCoordinate) => EquatorialCoordinate;
/*****************************************************************************************************************/