findPeaks function

Find Score Peaks and Detections in a templateScores Object