flopscope.

flopscope.numpy.trapz

flopscope.numpy.trapz(y, x=None, dx=1.0, axis=-1)[flopscope source]

`trapz` is deprecated in NumPy 2.0.

trapz is deprecated in NumPy 2.0.

Please use trapezoid instead, or one of the numerical integration functions in scipy.integrate.