mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-15 23:24:18 +01:00
general funcs for pedestal subtraction, common mode, photon finding developed and implemented specifically for moench
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorCalibration@12 113b152e-814d-439b-b186-022a431db7b5
This commit is contained in:
@@ -7,11 +7,15 @@
|
||||
class MovingStat
|
||||
{
|
||||
public:
|
||||
MovingStat() : n(1000), m_n(0) {}
|
||||
MovingStat(int nn=1000) : n(nn), m_n(0) {}
|
||||
|
||||
void Clear()
|
||||
{
|
||||
m_n = 0;
|
||||
m_n = 0;
|
||||
m_oldM=0;
|
||||
m_newM=0;
|
||||
m_oldM2=0;
|
||||
m_newM2=0;
|
||||
}
|
||||
|
||||
void SetN(int i) {n=i;};
|
||||
|
||||
Reference in New Issue
Block a user