4.6.6. pde.tools.math module¶
Auxiliary mathematical functions
- class SmoothData1D(x, y, sigma=None)¶
allows smoothing data in 1d using a Gaussian kernel of defined width
The data is given a pairs of x and y, the assumption being that there is an underlying relation y = f(x).
initialize with data
x – List of x values
y – List of y values
sigma (float) – The size of the smoothing window in units of x. If omitted, the average distance of x values multiplied by sigma_auto_scale is used.
return the derivative of the smoothed values for the positions xs
Note that this value