pyrfu.pyrf.find_closest module#

pyrfu.pyrf.find_closest.find_closest(inp1, inp2)[source]#

Finds pairs that are closest to each other in two time series.

Parameters:
  • inp1 (ndarray) – Vector with time instants.

  • inp2 (ndarray) – Vector with time instants.

Returns:

  • t1new (ndarray) – Identified time instants that are closest each other.

  • t2new (ndarray) – Identified time instants that are closest each other.

  • ind1new (ndarray) – Identified time instants that are closest each other.

  • ind2new (ndarray) – Identified time instants that are closest each other.