across.tools.ephemeris.tle_ephem
Classes
TLE (Two-Line Element) based satellite ephemeris calculator. |
Functions
|
Compute the ephemeris for a space object using TLE data. |
Module Contents
- class TLEEphemeris(begin, end, step_size=60, tle=None)[source]
Bases:
across.tools.ephemeris.base.EphemerisTLE (Two-Line Element) based satellite ephemeris calculator.
This class implements satellite position and velocity calculations using TLE data through the SGP4 propagator. It converts TEME (True Equator Mean Equinox) coordinates to ITRS (International Terrestrial Reference System) and GCRS (Geocentric Celestial Reference System). ITRS coordinates are stored as astropy EarthLocation objects, while GCRS coordinates are stored as astropy SkyCoord objects.
- Parameters:
begin (Union[datetime, Time]) – Start time for ephemeris calculations
end (Union[datetime, Time]) – End time for ephemeris calculations
step_size (Union[int, TimeDelta, timedelta], optional) – Time step between calculations, defaults to 60 seconds
tle (Optional[TLE], optional) – TLE data object containing orbital elements, defaults to None
- Raises:
ValueError – If no TLE data is provided when preparing calculations
Notes
The calculation process involves: 1. Converting TLE to Satrec object 2. Calculating TEME positions using SGP4 3. Converting TEME to ITRS coordinates 4. Converting ITRS to GCRS coordinates
- tle: across.tools.core.schemas.tle.TLE | None = None[source]
- compute_tle_ephemeris(begin, end, step_size, tle)[source]
Compute the ephemeris for a space object using TLE data.
- Parameters:
begin (Union[datetime, Time]) – The start time for the ephemeris computation.
end (Union[datetime, Time]) – The end time for the ephemeris computation.
step_size (Union[int, timedelta, TimeDelta]) – Time step size between ephemeris points, in seconds if int
tle (TLE) – The TLE data entry for the space object.
- Returns:
The computed ephemeris object containing the position and velocity data.
- Return type: