Packages

Elixir wrapper for Vallado's SGP4 propagator implementation

Current section

Files

Jump to
sgp4_ex lib teme_state.ex
Raw

lib/teme_state.ex

defmodule Sgp4Ex.TemeState do
@moduledoc """
Represents the position and velocity of a satellite in the TEME coordinate system.
TEME (True Equator Mean Equinox) is the reference frame used by SGP4 propagators.
## Units
- Position: kilometers (km) from Earth's center
- Velocity: kilometers per second (km/s)
"""
@type t :: %__MODULE__{
position: {float(), float(), float()},
velocity: {float(), float(), float()}
}
defstruct [
:position,
:velocity
]
end