Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure ConvergeToMaximum(const Freqs: TVec; const Center: TVecInt); | Searches for the closest peaks of the amplitude spectrum. |
| 2 | function ConvergeToMaximum(Freq: Double): Double; | Searches for the closest peaks of the amplitude spectrum. |
Overload 1: procedure ConvergeToMaximum(const Freqs: TVec; const Center: TVecInt);
Searches for the closest peaks of the amplitude spectrum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Freqs | TVec | source TVec |
| 2 | Center | TVecInt | source TVecInt |
Result: stored in self (calling object)
Remarks:
Stores the new peak frequency back in to the Freqs parameter. The center holds the central spectral line and is guaranteed not to be on the edge of the array. Even if the maximum value is in fact on the edge of the array both Freqs and Center will be moved one line inside to starting index 1 and final index Length-2.
Overload 2: function ConvergeToMaximum(Freq: Double): Double;
Searches for the closest peaks of the amplitude spectrum.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Freq | Double | scalar |
Returns: Double
Remarks:
Returns the frequency as the result.