TestData.hpp 808 Bytes
Newer Older
1
2
3
#ifndef TESTDATA_HPP
#define TESTDATA_HPP

niklas.baumgarten's avatar
niklas.baumgarten committed
4
#include "MultilevelEstimator.hpp"
5

niklas.baumgarten's avatar
niklas.baumgarten committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

const SampleCounterMap _ctrs = {
  {3, SampleCounter{1600, 0, 0, 0}},
  {4, SampleCounter{400, 0, 0, 0}},
  {5, SampleCounter{100, 0, 0, 0}},
  {6, SampleCounter{25, 0, 0, 0}}
};

const MeanMap _means = {
  {3, Mean{400, 2.0e-02, 2.0e-02}},
  {4, Mean{800, 1.0e-02, 1.0e-02}},
  {5, Mean{1600, 0.5e-02, 0.5e-02}},
  {6, Mean{3200, 0.25e-02, 0.25e-02}}
};

const SVarMap _sVars = {
  {3, SVar{0.0, 64.0e-02, 64.0e-02}},
  {4, SVar{0.0, 16.0e-02, 16.0e-02}},
  {5, SVar{0.0, 4.0e-02, 4.0e-02}},
  {6, SVar{0.0, 1.0e-02, 1.0e-02}}
};

const KurtosisMap _kurtosis = {
  {3, Kurtosis()},
  {4, Kurtosis()},
  {5, Kurtosis()},
  {6, Kurtosis()}
33
34
};

niklas.baumgarten's avatar
niklas.baumgarten committed
35
36
const MultilevelData _data{_ctrs, _means, _sVars, _kurtosis};

37
#endif //TESTDATA_HPP