aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/MER.py
diff options
context:
space:
mode:
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