TCrossSpectrumAnalyzer::PeakApproximate Method

Overload List

#SignatureDescription
1double PeakApproximate(double Freq);Find the peak nearest to the Freq frequency and return the frequenyc of the newly found peak.
2double PeakApproximate(double Freq, TCplx &spcEstimate);Find the peak nearest to the Freq frequency and return the frequenyc of the newly found peak.

Overload 1: double PeakApproximate(double Freq);

Find the peak nearest to the Freq frequency and return the frequenyc of the newly found peak.

#NameTypeDescription
1Freqdouble
Declared in Dew::Signal::TSpectrumAnalyzer · Dew.Signal/SignalAnalysis.h · Cross-compiler

Overload 2: double PeakApproximate(double Freq, TCplx &spcEstimate);

Find the peak nearest to the Freq frequency and return the frequenyc of the newly found peak.

#NameTypeDescription
1Freqdouble
2spcEstimateTCplx &
Remarks:

This overload returns also spcEstimate, which is the spectral line of the complex spectrum at approximated Freq. Only the numeric peak interpolation will return something else that the nearest peak for spcEstimate. This spcEstimate can then be passed on to the AmpltEst, which accepts also the complex parameter.

Declared in Dew::Signal::TSpectrumAnalyzer · Dew.Signal/SignalAnalysis.h · Cross-compiler