From df1173a69c6cee61bd76d0f2c6331508e81b453c Mon Sep 17 00:00:00 2001 From: andreas128 Date: Mon, 25 Sep 2017 12:20:09 +0200 Subject: Change filename of MER plot --- dpd/src/MER.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dpd/src') diff --git a/dpd/src/MER.py b/dpd/src/MER.py index 9c72dfb..7aea38f 100644 --- a/dpd/src/MER.py +++ b/dpd/src/MER.py @@ -69,7 +69,7 @@ class MER: return x_mean, y_mean, U_RMS, U_ERR, MER - def calc_mer(self, tx, debug=False): + def calc_mer(self, tx, debug=False, debug_name=""): assert tx.shape[0] == self.c.T_U,\ "Wrong input length" @@ -77,7 +77,7 @@ class MER: if debug: dt = datetime.datetime.now().isoformat() - fig_path = logging_path + "/" + dt + "_MER.svg" + fig_path = logging_path + "/" + dt + "_MER" + debug_name + ".svg" MERs = [] for i, (x, y) in enumerate(self._split_in_carrier( -- cgit v1.2.3