TSpectrumStats Class

Source: SignalAnalysis.cs · Assembly: Dew.Signal

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

NameTypeDescription
AveragedInt32Contains the number of averages made so far.
AveragesInt32Defines the number of averages to make.
AveragingTAveragingDefines the type of averaging to perform.
CalcLimitsBooleanIf True, the upper and lower limits of the confidence interval will be calculated and placed in UpperLimit and LowerLimit.
CalcMinMaxBooleanIf True, the averaging process will also compute the standard deviation.
CalcStdDevBooleanIf True, the averaging process will also compute the standard deviation for each spectral line.
ConfidenceIntervalDoubleDefines the confidence interval in percent to determine the upper and lower confidence limit.
ExpDecayInt32The parameter for the exponential averaging.
LowerLimitTVecListHolds a list of vectors with lower confidence interval limits.
RecursiveBooleanIf True the result is computed each time a new spectrum is added.
StdDevTVecListIf CalcStdDev is True and frequency spectrum has been averaged, this property contains the standard deviation of Amplt and Phase vectors.
UpperLimitTVecListHolds a list of vectors with upper confidence interval limits.

Methods

NameDescription
ConfidenceLimitsPresentReturns true, if confidence intervals have been computed and are available.
ResetReset the averaging process and deallocate any associated memory.
UpdateApply averaging. Called by TSpectrumAnalyzer.
UpdateStatsComputes average and standard deviations of the spectrums optionally with upper and lower confidence levels, if Recursive property was false while spectrums were added.
UpdateStatsAmpltLimitsRecalculates limits considering the current value of the ConfidenceInterval.
UpdateStatsLimitsRecalculates limits considering the current value of the ConfidenceInterval.