TSpectrumPeaksAnalyzer.FindLargestPeaks Method

procedure FindLargestPeaks;

Called by Update method, if TraceMethod is ptLargest.

Result: stored in self (calling object)

Remarks:

The function will find the largest peaks count specified with the LargestCount property. The search is analytical and guaranteed to return the largest peaks, when peak interpolation.method property is set to TSignalInterpolation.imNumeric. The result is also influenced by the LargestRatio property. The largest peaks are returned in the List property, which is sorted by descending amplitude. It is recommended that the ZeroPadding is 2 or 4 for best performance. ZeroPadding bigger than 1 speeds up the processing mostly when the signal being analyzed is close to pure noise. Using TSpectrumAnalyzer.Window set to wtKaiser with TSpectrumAnalyzer.SidelobeAtt value equal or more than 60 will help with performance.

This function is called by

  • FindFirstHarmonic
  • FindFundamentals
  • FindAllPeaks