dsgp4.util.propagate_batch#
- dsgp4.util.propagate_batch(tles, tsinces, initialized=True)#
This function takes a list of TLEs and a tensor of times (which must be of same length), and returns the corresponding states.
Parameters:#
tles (
list
ofdsgp4.tle.TLE
): list of TLE objects to be propagated tsinces (torch.tensor
): propagation times in minutes (it has to be a tensor of the same size of the list of TLEs) initialized (bool
): whether the TLEs have been initialized or not (default: TrueReturns:#
state (
torch.tensor
): (Nx2x3) tensor representing position and velocity in km and km/s, where the first dimension is the batch size.