orbitx.utils._orbit.simulate_orbit.simulate_orbit

Contents

orbitx.utils._orbit.simulate_orbit.simulate_orbit#

orbitx.utils._orbit.simulate_orbit.simulate_orbit(start_date: datetime64, end_date: datetime64, tle: TLE, propagation_sampling_interval: timedelta64, reference_date: datetime64 = np.datetime64('1970-01-01T00:00:00')) Tuple[ndarray[tuple[Any, ...], dtype[float64]], ndarray[tuple[Any, ...], dtype[datetime64]], ndarray[tuple[Any, ...], dtype[float64]], ndarray[tuple[Any, ...], dtype[float64]]][source]#

Return latitude, longitude and time arrays for full simulated orbit

Parameters:
  • start_date (np.datetime64) – The date from which the orbit needs to be simulated

  • end_date (np.datetime64) – The date until which the orbit needs to be simulated

  • tle (TLE) – The TLE object containing relevant information

  • propagation_sampling_interval (np.timedelta64) – propagation sampling interval in seconds

  • reference_date (_type_, optional) – _description_. Defaults to np.datetime64(“1970-01-01T00:00:00”).

Returns:

A tuple containing the simultation times in seconds since the reference date, the simulation time in numpy datetime64, latitudes and longitudes.

Return type:

Tuple[ npt.NDArray[np.float64], npt.NDArray[np.datetime64], npt.NDArray[np.float64], npt.NDArray[np.float64], ]