summaryrefslogtreecommitdiffstats
path: root/dpd/src/MER.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-14 16:30:52 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-09-14 16:30:52 +0200
commitef78d66f6b3afc47121f7352d961943fa29d1518 (patch)
treef3d02bbef9e60d4d4ed89527e84ae802857acfdc /dpd/src/MER.py
parent1ca5368f547c429bf0d86dac78162310e1d2b032 (diff)
parentbf32d4e1efb87eb7a51207281f2565ee54e1aee2 (diff)
downloaddabmod-ef78d66f6b3afc47121f7352d961943fa29d1518.tar.gz
dabmod-ef78d66f6b3afc47121f7352d961943fa29d1518.tar.bz2
dabmod-ef78d66f6b3afc47121f7352d961943fa29d1518.zip
Merge LUT into 'next_memless'
Diffstat (limited to 'dpd/src/MER.py')
-rw-r--r--dpd/src/MER.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/src/MER.py b/dpd/src/MER.py
index 00fcc23..4f2918e 100644
--- a/dpd/src/MER.py
+++ b/dpd/src/MER.py
@@ -106,7 +106,7 @@ class MER:
plt.tight_layout()
plt.savefig(fig_path)
plt.show()
- plt.clf()
+ plt.close()
MER_res = 20 * np.log10(np.mean([10 ** (MER / 20) for MER in MERs]))
return MER_res