diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-30 09:55:45 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-12-30 10:06:23 +0100 |
commit | 18276a5d2eac39b08caa2ce44e196e7a98f1a108 (patch) | |
tree | 2a45036399b0522af6e2a554c9e2a9877b30ef62 /src/PAPRStats.cpp | |
parent | e0c9959bb4303b81e43fff7efe23f4f583f8422f (diff) | |
download | dabmod-18276a5d2eac39b08caa2ce44e196e7a98f1a108.tar.gz dabmod-18276a5d2eac39b08caa2ce44e196e7a98f1a108.tar.bz2 dabmod-18276a5d2eac39b08caa2ce44e196e7a98f1a108.zip |
Calculate PAPR in the OfdmGenerator
Diffstat (limited to 'src/PAPRStats.cpp')
-rw-r--r-- | src/PAPRStats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PAPRStats.cpp b/src/PAPRStats.cpp index bf6acc4..2e8bca9 100644 --- a/src/PAPRStats.cpp +++ b/src/PAPRStats.cpp @@ -69,7 +69,7 @@ void PAPRStats::process_block(const complexf* data, size_t data_len) } } -double PAPRStats::calculate_papr() +double PAPRStats::calculate_papr() const { if (m_squared_mean.size() < m_num_blocks_to_accumulate) { return 0; |