simpson

msaexp.resample_numba.simpson(y, x)[source]

Simpson’s rule integration by Mason Stoeker See: https://masonstoecker.com/2021/04/03/Simpson-and-Numba.html

Parameters
yarray-like

dependent variable

xarray-like

independent variable

Returns
resultfloat

Numerical integral of y(x)