test: try to plot compare between filter and not

This commit is contained in:
Skudalen 2021-06-25 16:52:30 +02:00
parent 352b5b1b73
commit f1ba1e93a8
2 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ def main():
N_trans, cA, cD = wavelet_db4_denoising(data_frame) N_trans, cA, cD = wavelet_db4_denoising(data_frame)
data_frame_freq = make_df_from_xandy(N_trans, cA, 1) data_frame_freq = make_df_from_xandy(N_trans, cA, 1)
cA_filt, cD_filt = soft_threshold_filter(cA, cD, 0.4) cA_filt, cD_filt = soft_threshold_filter(cA, cD, 0.6)
data_frame_freq_filt = make_df_from_xandy(N_trans, cA_filt, 1) data_frame_freq_filt = make_df_from_xandy(N_trans, cA_filt, 1)
plot_compare_two_df(data_frame_freq, data_frame_freq_filt) plot_compare_two_df(data_frame_freq, data_frame_freq_filt)