Go to the source code of this file.
Definition at line 12 of file test_simple_channel_noisedb.cxx.
14 const int nsamples = 5432;
20 Assert(cndb.nominal_baseline(0) == 0.0);
21 Assert(cndb.gain_correction(0) == 1.0);
23 auto rcrc0 = cndb.rcrc(0);
24 auto config0 = cndb.config(0);
25 auto noise0 = cndb.noise(0);
27 cerr << rcrc0.size() <<
endl;
29 Assert(rcrc0.size() == nsamples);
30 Assert(config0.size() == nsamples);
31 Assert(noise0.size() == nsamples);
33 cndb.set_gains_shapings({0,1,2,3});
35 auto config1 = cndb.config(1);
36 cerr << config1.size() <<
endl;
37 Assert(config1.size() == nsamples);
QTextStream & endl(QTextStream &s)