orbitx.utils._orbit.get_matching_indices.get_matching_indices#
- orbitx.utils._orbit.get_matching_indices.get_matching_indices(simulation_time: ndarray, tle_time: ndarray) Tuple[ndarray[tuple[Any, ...], dtype[uint8]], ndarray[tuple[Any, ...], dtype[uint8]]][source]#
Locate the index of the closest two line element (at a time equal to or smaller than the simulation time) and return the matching pointers/indices.
- Parameters:
sim_time – a vector of time containing all the instances when we want to simulate the orbit
tle_time – a vector of time containing all tle instances
- Returns:
tuple of lists containing corresponding indices between simulation space and tle references