fix: get sorted the pywt lib

This commit is contained in:
Skudalen 2021-06-25 11:47:12 +02:00
parent f90494b102
commit 9634a63d31
4 changed files with 3 additions and 1 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -43,10 +43,12 @@ def wavelet_db4_denoising(df:DataFrame):
return N_trans, cA, cD
# Filters signal accordning to Stein's Unbiased Risk Estimate(SURE)
'''
def sure_threshold_filter(cA, cD):
cA_filt = pyyawt.theselect(cA, 'rigrsure')
cD_filt = cD
return cA_filt, cD_filt
'''
# soft filtering of wavelet trans with the 40% lowest removed
def soft_threshold_filter(cA, cD):

View File

@ -1,6 +1,6 @@
from Handle_emg_data import *
import matplotlib.pyplot as plt
#from Signal_prep import *
from Signal_prep import *
def test_df_extraction(emg_nr):
handler = CSV_handler()