astronomy-bundle
Version:
Bundle for astronomical calculations such as position of moon, sun and planets, sunrise, sunset or solar eclipses. Most of the calculations are based on Jean Meeus 'Astronomical Algorithms' book and the VSOP87 theory.
12 lines (11 loc) • 538 B
TypeScript
import TimeOfInterest from '../time/TimeOfInterest';
import Planet from './Planet';
import { Vsop87 } from './types/Vsop87Types';
export default class Mercury extends Planet {
constructor(toi?: TimeOfInterest, useVsop87Short?: boolean);
get diameter(): number;
protected get vsop87J2000(): Promise<Vsop87>;
protected get vsop87Date(): Promise<Vsop87>;
protected get vsop87DateShort(): Promise<Vsop87>;
protected calculateApparentMagnitude(distanceSun: number, distanceEarth: number, phaseAngle: number): number;
}