solar library

Functions

aberration(double r) double
Low-accuracy aberration correction.
apparentEquatorial(double jde) → ({double dec, double ra})
Apparent equatorial coordinates of the Sun.
apparentLongitude(double t) double
Apparent longitude of the Sun (includes nutation and aberration).
apparentVSOP87(Planet earth, double jde) → ({double lat, double lon, double range})
Apparent longitude of the Sun using VSOP87 (high accuracy).
eccentricity(double t) double
Eccentricity of Earth's orbit.
meanAnomaly(double t) double
Mean anomaly of the Sun.
radius(double t) double
Sun-Earth distance in AU.
true2000(double t) → ({double anomaly, double lon})
True geometric longitude referenced to equinox J2000.
trueEquatorial(double jde) → ({double dec, double ra})
True equatorial coordinates of the Sun.
trueSun(double t) → ({double anomaly, double lon})
True geometric longitude and anomaly of the Sun.
trueVSOP87(Planet earth, double jde) → ({double lat, double lon, double range})
True geometric longitude of the Sun using VSOP87 (high accuracy).