highestPeak¶
-
fiducia.rawProcess.
highestPeak
(signal, peakIdxs)[source]¶ Find the highest peak, and return list of peaks with the highest peak removed from the list.
- Parameters
signal (pandas.core.series.Series) – A data series consisting of signals from a single dante channel.
peakIdxs (list) – A list of indices corresponding to peaks identified in the signal by using scipy’s find_peaks() function.
- Returns
peakHighestIdx (int) – Returns the index corresponding to the highest peak.
peakIdxs2 (list) – Returns a list of peak index locations with the highest peak removed from the list. This makes it easier for highestN() to apply highestPeak() iteratively to find the N highest peaks.
Notes
Examples