diff --git a/neurokit2/ecg/ecg_quality.py b/neurokit2/ecg/ecg_quality.py index 2275c51493..83d99587f3 100644 --- a/neurokit2/ecg/ecg_quality.py +++ b/neurokit2/ecg/ecg_quality.py @@ -157,7 +157,7 @@ def _ecg_quality_averageQRS(ecg_cleaned, rpeaks=None, sampling_rate=1000): # Interpolate quality = signal_interpolate( - rpeaks, quality, x_new=np.arange(len(ecg_cleaned)), method="quadratic" + rpeaks, quality, x_new=np.arange(len(ecg_cleaned)), method="linear" ) return quality