replace removed scipy.interpolate.spline
Compare changes
+ 5
− 4
@@ -3,7 +3,7 @@ import os
@@ -923,14 +923,15 @@ def plot_spline_pos(log_freqs, samples, nfreqs=100, level=0.9, color='k', label=
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
scipy.interpolate.spline
was deprecated in 0.19.0
and removed in 1.3.0
see here.
This is used for the calibration plotting.
I updated the call to scipy.interpolate.spline
to use scipy.interpolate.interp1d
.
This is the same method as is used in the calibration module.
We may want to make a change down the line to make the plotting use the code from the calibration module.
This is currently broken in the current ligo cvmfs builds so we should fix ASAP.