diff --git a/fitter.py b/fitter.py index 84307cd..9e8ab2d 100644 --- a/fitter.py +++ b/fitter.py @@ -42,7 +42,7 @@ class Fitter: return current k = np.zeros(current.size) - k[k.size // 2:] = np.exp(-np.arange(k.size // 2) / np.abs(tau)) + k[k.size // 2 :] = np.exp(-np.arange(k.size // 2) / np.abs(tau)) k /= k.sum() if tau > 0: @@ -210,9 +210,7 @@ if __name__ == "__main__": res_filename = res_filename.replace(" ", "_").replace(":", "-") fit_hist.to_csv(res_filename, index=True) - eid_cleaned = re.sub( - r"[^\w.-]", "", eid - ) # Eemaldab eritahed + eid_cleaned = re.sub(r"[^\w.-]", "", eid) # Eemaldab eritahed fig.savefig(f"plot_{eid_cleaned}.png") fig.savefig(f"plot_{eid_cleaned}.pdf")