Angelus (Angelus v1.0.1)

Copy Markdown View Source

Geocentric tropical ephemerides backed by SPICE/JPL.

{:ok, ephemeride} = Angelus.get_ephemeride(~U[1998-01-01 00:00:00Z])

Summary

Functions

Returns the fixed 14-body geocentric tropical ephemeris for datetime.

Functions

get_ephemeride(datetime)

@spec get_ephemeride(DateTime.t()) :: {:ok, Angelus.Ephemeride.t()} | {:error, term()}

Returns the fixed 14-body geocentric tropical ephemeris for datetime.

The supplied instant is normalized to UTC. A NaiveDateTime is rejected, because it has no offset from which UTC can be determined. Kernel loading is managed internally; run mix angelus.prepare once to install runtime data.