ADCS.environment.ephemeris.ephemeris module¶
Parent interface for ephemeris models.
- class ADCS.environment.ephemeris.ephemeris.Ephemeris[source]¶
Bases:
ABCBase type for ephemeris models consumed by orbital states and sensors.
- abstractmethod position_eci(target, j2000, *, observer='earth', apparent=True)[source]¶
Find the target relative to an observer in the inertial frame.
- Parameters:
target (str or int) – Body name or identifier to locate.
j2000 (float or numpy.ndarray) – Epoch or epochs in Julian centuries since J2000.
observer (str or int) – Body name or identifier used as the origin.
apparent (bool) – Apply light time and aberration when supported.
- Returns:
Relative ECI position vector or vectors [km].
- Return type:
numpy.ndarray
- abstractmethod sun_position_eci(j2000)[source]¶
Find the Earth to Sun vector in the inertial frame.
- Parameters:
j2000 (float or numpy.ndarray) – Epoch or epochs in Julian centuries since J2000.
- Returns:
Earth to Sun ECI position vector or vectors [km].
- Return type:
numpy.ndarray
- abstract property available_bodies: tuple[str, ...]¶
List bodies exposed by the selected ephemeris.
- Returns:
Body names and supported aliases.
- Return type:
tuple[str, …]