aboutsummaryrefslogtreecommitdiffstats
path: root/src/OfdmGenerator.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-28 13:34:53 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-28 13:36:48 +0200
commit0cfca99b6f0a9b03f148e30c7c44e1f32b82baa1 (patch)
tree64a34cf248ad7d525873e08c5f4446e87f748e6b /src/OfdmGenerator.h
parent4574756f50fd34355aa9d6bfc8a5662f87e88661 (diff)
downloaddabmod-0cfca99b6f0a9b03f148e30c7c44e1f32b82baa1.tar.gz
dabmod-0cfca99b6f0a9b03f148e30c7c44e1f32b82baa1.tar.bz2
dabmod-0cfca99b6f0a9b03f148e30c7c44e1f32b82baa1.zip
CFR: add some sort of MER calculation that is not correct yet
Diffstat (limited to 'src/OfdmGenerator.h')
-rw-r--r--src/OfdmGenerator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/OfdmGenerator.h b/src/OfdmGenerator.h
index 9ac0387..f357fa6 100644
--- a/src/OfdmGenerator.h
+++ b/src/OfdmGenerator.h
@@ -101,6 +101,9 @@ class OfdmGenerator : public ModCodec, public RemoteControllable
// Statistics for CFR
std::deque<double> myClipRatios;
std::deque<double> myErrorClipRatios;
+
+ size_t myLastMERCalc = 0;
+ std::deque<double> myMERs;
};