virtual void detect(const std::vector< double > &x, const std::vector< double > &y, std::vector< double > &xPeakValues, std::vector< double > &yPeakValues, std::vector< Peak > *peaks=NULL)=0
find peaks in the signal profile described by the x and y vectors