Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double Approximate(double Freq); | Finds the maximum of the peak at Freq and applies interpolation. |
| 2 | void Approximate(TVec *Freqs, TVecInt *freqIdx); | Finds the maximum of the peak at Freq and applies interpolation. |
| 3 | void Approximate(TVec *srcFreq, TVec *dstAmplt, TVec *dstPhase); | Finds the maximum of the peak at Freq and applies interpolation. |
Overload 1: double Approximate(double Freq);
Finds the maximum of the peak at Freq and applies interpolation.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Freq | double |
Remarks:
Applies the peak interpolation methods, specified with the interpolation property, to get a better estimate of the frequency of the peak then Freq. The value of the Freq can be the frequency of the closest frequency bin in the frequency spectrum.
Declared in Dew::Signal::TSpectrumPeaksAnalyzer · Dew.Signal/SignalAnalysis.h · Cross-compiler
Overload 2: void Approximate(TVec *Freqs, TVecInt *freqIdx);
Finds the maximum of the peak at Freq and applies interpolation.
Declared in Dew::Signal::TSpectrumPeaksAnalyzer · Dew.Signal/SignalAnalysis.h · Cross-compiler
Overload 3: void Approximate(TVec *srcFreq, TVec *dstAmplt, TVec *dstPhase);
Finds the maximum of the peak at Freq and applies interpolation.
Remarks:
Finds the nearest peak and applies interpolation for each srcFreq. It stores the amplitude and phase in to dstAmplt and dstPhase.
Declared in Dew::Signal::TSpectrumPeaksAnalyzer · Dew.Signal/SignalAnalysis.h · Cross-compiler