public void GenerateStats() { Mean = Statistics.AvgSignal(StartTime, EndTime, Y); AbsMean = Statistics.AbsAvgSignal(StartTime, EndTime, Y); Variance = Statistics.SignalVariance(StartTime, EndTime, Y); Rms = Statistics.RMSSignal(StartTime, EndTime, Y); AvgPower = Statistics.AvgSignalPower(StartTime, EndTime, Y); }