ssapy_toolkit.IO.tle_prop_to_time

ssapy_toolkit.IO.tle_prop_to_time(t, tle_path, *, validate_checksum=False, truncate=False, return_arrays=False)[source]

Propagate all TLE pairs in tle_path to a common epoch t using SGP4.

Parameters:
  • t (float | str | astropy.time.Time) – Target time. If float, interpreted as GPS seconds. If str, interpreted as UTC ISO (e.g., ‘2025-01-01T00:00:00’). If astropy Time, uses its .gps.

  • tle_path (str | pathlib.Path) – Path to a text file containing 0/1/2 TLE lines.

  • validate_checksum (bool, optional) – If True, verify TLE checksums before using pairs.

  • truncate (bool, optional) – Passed to SGP4Propagator(truncate=…).

  • return_arrays (bool, optional) – If True, also return stacked R (m) and V (m/s) arrays and names.

Returns:

orbits – Or list plus (names, R, V) if return_arrays=True.

Return type:

list[Orbit]