See physiopy/peakdet#76 and physiopy/peakdet#77
See physiopy/peakdet#76 and physiopy/peakdet#77