Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function Peak(aMax: TCplx; aMin: TCplx; aMean: TCplx): Double; | Find the maximum deviation from the aMean for complex data. |
| 2 | function Peak(aMax: Double; aMin: Double; aMean: Double): Double; | Find the maximum absolute deviation from the mean. |
Overload 1: function Peak(aMax: TCplx; aMin: TCplx; aMean: TCplx): Double;
Find the maximum deviation from the aMean for complex data.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aMax | TCplx | scalar |
| 2 | aMin | TCplx | scalar |
| 3 | aMean | TCplx | scalar |
Returns: Double
Overload 2: function Peak(aMax: Double; aMin: Double; aMean: Double): Double;
Find the maximum absolute deviation from the mean.
| # | Name | Description |
|---|---|---|
| 1 | aMax | The maximum sample value x_(max). |
| 2 | aMin | The minimum sample value x_(min). |
| 3 | aMean | The signal mean x. |
Returns: Double - The peak deviation x_(peak) >= 0.
Remarks:
Returns the larger of the upward and downward excursions of a signal about its mean:
x_(peak) = max( | x_(max)-x|, | x-x_(min)| ) where aMax = x_(max) is the maximum value, aMin = x_(min) is the minimum value and aMean = x is the signal average. The result is always non-negative and feeds directly into the crest factor.
See Also: SignalUtils.Crest