Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double Crest(double AStdDev, double aPeak); | Compute the crest factor. |
| 2 | double Crest(TCplx AStdDev, TCplx aPeak); | Returns crest factor, for complex data. |
Overload 1: double Crest(double AStdDev, double aPeak);
Compute the crest factor.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | AStdDev | double | The signal standard deviation sigma. |
| 2 | aPeak | double | The peak deviation from the mean x_(peak). |
Returns: The crest factor C, or 0 when sigma=0.
Remarks:
Returns the crest factor of a zero-mean signal, defined as the ratio of its peak deviation to its standard deviation: C = x_(peak)/sigma where aPeak = x_(peak) is the maximum deviation from the mean (see Peak) and aStdDev = sigma is the standard deviation (see StdDev). When sigma = 0 the function returns 0 (a constant signal has no crest), so no division by zero occurs. The crest factor is a useful impulsiveness indicator, for example when monitoring ball bearings.
See Also: SignalUtils::Peak
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler
Overload 2: double Crest(TCplx AStdDev, TCplx aPeak);
Returns crest factor, for complex data.
See Also: SignalUtils::Peak
Declared in Dew::Signal::Units::SignalUtils · Dew.Signal/Units.SignalUtils.h · Cross-compiler