public class TSpectrumStats
Encapsulates properties for averaging and confidence interval calculation of the spectrum.
Encapsulates properties for averaging and confidence interval calculation of the spectrum.
Properties
| Name | Type | Description |
|---|---|---|
| Averaged | Int32 | Contains the number of averages made so far. |
| Averages | Int32 | Defines the number of averages to make. |
| Averaging | TAveraging | Defines the type of averaging to perform. |
| CalcLimits | Boolean | If True, the upper and lower limits of the confidence interval will be calculated and placed in UpperLimit and LowerLimit. |
| CalcMinMax | Boolean | If True, the averaging process will also compute the standard deviation. |
| CalcStdDev | Boolean | If True, the averaging process will also compute the standard deviation for each spectral line. |
| ConfidenceInterval | Double | Defines the confidence interval in percent to determine the upper and lower confidence limit. |
| ExpDecay | Int32 | The parameter for the exponential averaging. |
| LowerLimit | TVecList | Holds a list of vectors with lower confidence interval limits. |
| Recursive | Boolean | If True the result is computed each time a new spectrum is added. |
| StdDev | TVecList | If CalcStdDev is True and frequency spectrum has been averaged, this property contains the standard deviation of Amplt and Phase vectors. |
| UpperLimit | TVecList | Holds a list of vectors with upper confidence interval limits. |
Methods
| Name | Description |
|---|---|
| ConfidenceLimitsPresent | Returns true, if confidence intervals have been computed and are available. |
| Reset | Reset the averaging process and deallocate any associated memory. |
| Update | Apply averaging. Called by TSpectrumAnalyzer. |
| UpdateStats | Computes average and standard deviations of the spectrums optionally with upper and lower confidence levels, if Recursive property was false while spectrums were added. |
| UpdateStatsAmpltLimits | Recalculates limits considering the current value of the ConfidenceInterval. |
| UpdateStatsLimits | Recalculates limits considering the current value of the ConfidenceInterval. |