vectdata#

vectdata(data, times, *, timesout, method='linear', average=None, avgtype='const', border='off')#

Interpolate along the final data axis and optionally smooth first.

average is a window width in the units of times. MATLAB’s legacy v4 biharmonic griddata method has no well-defined one-dimensional equivalent and is rejected explicitly.

Parameters:
  • data (Any)

  • times (Any)

  • timesout (Any)

  • method (Literal['linear', 'cubic', 'nearest', 'v4'])

  • average (float | None)

  • avgtype (Literal['const', 'gauss'])

  • border (Literal['on', 'off'])

Return type:

tuple[ndarray, ndarray]