dsgp4.util.propagate#

dsgp4.util.propagate(tle, tsinces, initialized=True)#

This function takes a tensor of inputs and a TLE, and returns the corresponding state. In particular, multiple behaviors are supported: - if a single TLE is provided, then the function returns the state of the satellite at the requested time(s) - if a list of TLEs is provided, then the function returns the state of each satellite at the requested times

In the second case, the length of the list of TLEs must be equal to the length of the tensor of times.

Parameters:#

tle (dsgp4.tle.TLE or list of dsgp4.tle.TLE): TLE object or list of TLE objects to be propagated tsinces (torch.tensor): propagation times in minutes initialized (bool): whether the TLEs have been initialized or not (default: True)

Returns:#

state (torch.tensor): (2x3) tensor representing position and velocity in km and km/s.