TBiSpectrumAnalyzer.PeakApproximate Method

Overload List

#SignatureDescription
1function PeakApproximate(Freq: Double): Double;Find the peak nearest to the Freq frequency and return the frequenyc of the newly found peak.
2function PeakApproximate(Freq: Double; var spcEstimate: TCplx): Double;Find the peak nearest to the Freq frequency and return the frequenyc of the newly found peak.

Overload 1: function PeakApproximate(Freq: Double): Double;

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

#NameTypeDescription
1FreqDoublescalar

Returns: Double

Overload 2: function PeakApproximate(Freq: Double; var spcEstimate: TCplx): Double;

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

#NameTypeDescription
1FreqDoublescalar
2spcEstimateTCplx

Returns: Double

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.