API Reference Astro v#2.5.0

Copy Markdown View Source

Modules

High-level API for common astronomical observations.

Coordinate transformations for high-precision lunar and solar position calculations.

Earth constants, nutation, and elevation-related corrections for rise/set calculations.

Computes the geocentric position of the Moon using a JPL DE440s (or compatible) SPK binary ephemeris kernel.

Downloads JPL DE-series SPK binary ephemeris files from NASA NAIF.

Parses JPL DE-series binary SPK ephemeris files (DAF/SPK format).

Extracts a smaller DAF/SPK ephemeris kernel from a larger one.

Calculates lunar position, phases, distance and related quantities.

Implements three criteria for predicting the visibility of the new crescent moon: Yallop (1997), Odeh (2006), and Schaefer (1988/2000).

Computes moonrise and moonset times using the JPL DE440s ephemeris and a fully topocentric bisection algorithm.

Solar position, orbital mechanics, and equinox/solstice calculations.

Computes sunrise and sunset times using the JPL DE440s ephemeris and a scan-and-bisect algorithm.

Provides a supervision tree under which the required TzWorld backend server can be started.

Time scales, conversions, and calendar utilities for astronomical calculations.

Mix Tasks

Builds a compact ephemeris kernel from JPL's de440s.bsp.

Downloads the JPL DE440s ephemeris file (de440s.bsp) from NASA's NAIF server and places it in the application's priv directory.