Angelus.Ephemeris.Adapters.Spice (Angelus v0.0.2)

Copy Markdown View Source

SPICE-backed adapter for Angelus.Ephemeris.

Summary

Functions

Returns SPICE-backed state data for a public ephemeris body atom.

Converts UTC datetime to SPICE ephemeris time through Angelus.Spice.

Functions

state(body, et)

@spec state(atom(), float()) :: {:ok, map()} | {:error, term()}

Returns SPICE-backed state data for a public ephemeris body atom.

utc_to_et(datetime)

@spec utc_to_et(DateTime.t()) :: {:ok, float()} | {:error, term()}

Converts UTC datetime to SPICE ephemeris time through Angelus.Spice.