uvvis.binsmooth

uvvis.binsmooth(x, y, d)

Returned smoothed version of x, y based on binning and cubic interpolation.

Parameters:
  • x (array) – x-axis.
  • y (array) – Data (same shape as x).
  • d (int) – Bin width in indices. Should be an odd number.
Returns:

Smoothed data array (same shape as x).