Skip to content

replace deprecated interp2d with RectBivariateSpline

Created by: asouthgate

Closes #1580 (closed)

(near) drop-in replacement found at see https://gist.github.com/ev-br/8544371b40f414b7eaf3fe6217209bff

https://gwpy.github.io/docs/latest/examples/timeseries/qscan/ produces same result

unit tests seem to pass, though gwpy/timeseries/tests/test_timeseries.py maybe contains a more robust test (though it downloads data) than gwpy/signal/tests/test_qtransform.py. Not sure the latter ones passing will prove the result is the same in general.

Added another assertion to test in test_timeseries, to check not just max val but mean of vals (perhaps more sensitive to subtle changes)

Merge request reports