Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function PeakApproximate(Freq: Double): Double; | Find the peak nearest to the Freq frequency and return the frequenyc of the newly found peak. |
| 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. |
Overload 1: function PeakApproximate(Freq: Double): Double;
Find the peak nearest to the Freq frequency and return the frequenyc of the newly found peak.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Freq | Double | scalar |
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.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Freq | Double | scalar |
| 2 | spcEstimate | TCplx |
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.