orbitx.utils._matchups.get_delay.get_delay

Contents

orbitx.utils._matchups.get_delay.get_delay#

orbitx.utils._matchups.get_delay.get_delay(existing_orbits: Dataset, new_orbit: Dataset) DataArray[source]#

Calculate the delay in seconds between a collection of orbits and a new orbit at each time stamp

Parameters:
  • existing_orbits (xr.Dataset) – the orbits which have already been matched up

  • new_orbit (xr.Dataset) – the new orbit

Returns:

at each matchup, the delay between the new orbit and the existing orbits

Return type:

np.array