Don Cross ccd4925cd4 Hack to prevent Travis CI from trying to invoke jsdoc.
This broken the Travis CI build, and we don't ship html documentation
anyway, so there is no need to unit test it.

Skip local html doc generation if html directory does not exist.
2019-05-05 17:27:25 -04:00
2019-05-05 14:14:27 -04:00
2019-04-07 16:55:21 -04:00
2019-05-05 15:27:08 -04:00

Astronomy

Overview

Build Status

A suite of open source libraries for calculating positions of the Sun, Moon, and planets.

This code is designed to be small, fast, and accurate to within ±1 arcminute. It is based on the authoritative and well-tested models VSOP87 and NOVAS C 3.1.

Rigorously unit-tested against NOVAS, JPL Horizons, and other reliable sources of ephemeris data.

Features

  • Provides calculations for the Sun, Moon, Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune, and Pluto.

  • Calculates for any calendar date and time between the years 1600 and 2200.

  • Provides heliocentric and geocentric cartesian vectors of all the above bodies.

  • Determines apparent horizon-based positions for an observer anywhere on the Earth, given that observer's latitude, longitude, and elevation in meters. Optionally corrects for atmospheric refraction.

  • Rise, set and culmination times of Sun, Moon, and planets.

  • Date and time of Moon phases: new, first quarter, full, third quarter (or anywhere in between as expressed in degrees of ecliptic longitude).

  • Finds equinoxes and solstices for a given calendar year.

  • Finds apparent visual magnitudes of all the supported celestial bodies.

  • Predicts date and time of Venus' peak visual magnitude.

  • Predicts date and time of maximum elongation for Mercury and Venus.

Supported Languages

JavaScript

API Reference

C/C++

(Coming soon.)

Go

(Coming soon.)

Python

(Coming soon.)

Description
No description provided
Readme MIT 57 MiB
Languages
C 23%
JavaScript 15.9%
C# 14.2%
Python 11.1%
HTML 10.2%
Other 25.6%