6.4.4. integral_interpolation

integral_interpolation(x, xp, fp)[source]

Re-samples data maintaining the signal integral.

Parameters:
  • x (numpy.array) – The x-coordinates of the re-sampled values.
  • xp (numpy.array) – The x-coordinates of the data points.
  • fp (numpy.array) – The y-coordinates of the data points, same length as xp.
Returns:

Re-sampled y-values.

Return type:

numpy.array