Skip to content

numpy.trapz is deprecated

As of numpy 2.0.0, numpy.trapz is deprecated, so inspiral_range.waveform.CBCWaveform.SNR emits this warning:

`trapz` is deprecated. Use `trapezoid` instead, or one of the numerical integration functions in `scipy.integrate`.

There is a second usage in inspiral_range.inspiral_range.int73.

The relevant code should be updated as recommended.