diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-09-14 16:30:52 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2017-09-14 16:30:52 +0200 |
commit | ef78d66f6b3afc47121f7352d961943fa29d1518 (patch) | |
tree | f3d02bbef9e60d4d4ed89527e84ae802857acfdc /dpd/src/subsample_align.py | |
parent | 1ca5368f547c429bf0d86dac78162310e1d2b032 (diff) | |
parent | bf32d4e1efb87eb7a51207281f2565ee54e1aee2 (diff) | |
download | dabmod-ef78d66f6b3afc47121f7352d961943fa29d1518.tar.gz dabmod-ef78d66f6b3afc47121f7352d961943fa29d1518.tar.bz2 dabmod-ef78d66f6b3afc47121f7352d961943fa29d1518.zip |
Merge LUT into 'next_memless'
Diffstat (limited to 'dpd/src/subsample_align.py')
-rwxr-xr-x | dpd/src/subsample_align.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/src/subsample_align.py b/dpd/src/subsample_align.py index 6d1cd2a..b0cbe88 100755 --- a/dpd/src/subsample_align.py +++ b/dpd/src/subsample_align.py @@ -78,7 +78,7 @@ def subsample_align(sig, ref_sig, plot=False): plt.plot(ixs, taus) plt.title("Subsample correlation, minimum is best: {}".format(best_tau)) plt.savefig(tau_path) - plt.clf() + plt.close() # Prepare rotate_vec = fft_sig with rotated phase rotate_vec = np.exp(1j * best_tau * omega) |