fix: get sorted the pywt lib
This commit is contained in:
parent
f90494b102
commit
9634a63d31
@ -43,10 +43,12 @@ def wavelet_db4_denoising(df:DataFrame):
|
|||||||
return N_trans, cA, cD
|
return N_trans, cA, cD
|
||||||
|
|
||||||
# Filters signal accordning to Stein's Unbiased Risk Estimate(SURE)
|
# Filters signal accordning to Stein's Unbiased Risk Estimate(SURE)
|
||||||
|
'''
|
||||||
def sure_threshold_filter(cA, cD):
|
def sure_threshold_filter(cA, cD):
|
||||||
cA_filt = pyyawt.theselect(cA, 'rigrsure')
|
cA_filt = pyyawt.theselect(cA, 'rigrsure')
|
||||||
cD_filt = cD
|
cD_filt = cD
|
||||||
return cA_filt, cD_filt
|
return cA_filt, cD_filt
|
||||||
|
'''
|
||||||
|
|
||||||
# soft filtering of wavelet trans with the 40% lowest removed
|
# soft filtering of wavelet trans with the 40% lowest removed
|
||||||
def soft_threshold_filter(cA, cD):
|
def soft_threshold_filter(cA, cD):
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
from Handle_emg_data import *
|
from Handle_emg_data import *
|
||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
#from Signal_prep import *
|
from Signal_prep import *
|
||||||
|
|
||||||
def test_df_extraction(emg_nr):
|
def test_df_extraction(emg_nr):
|
||||||
handler = CSV_handler()
|
handler = CSV_handler()
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user