mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 12:27:14 +02:00
added moenchT1 data structure
This commit is contained in:
@ -25,6 +25,16 @@ class MovingStat
|
||||
m_newM=0;
|
||||
m_newM2=0;
|
||||
}
|
||||
|
||||
/**
|
||||
clears the moving average number of samples parameter, mean and standard deviation
|
||||
*/
|
||||
void Set(double val)
|
||||
{
|
||||
m_n = n;
|
||||
m_newM=val*n;
|
||||
m_newM2=val*val*n;
|
||||
}
|
||||
|
||||
|
||||
/** sets number of samples parameter
|
||||
|
Reference in New Issue
Block a user