test: test total denoising func
This commit is contained in:
parent
46558a075d
commit
cb3cca71fb
@ -463,8 +463,8 @@ def get_min_max_timestamp(df:DataFrame):
|
||||
|
||||
# Help: returns df_time_emg
|
||||
def make_df_from_xandy(x, y, emg_nr):
|
||||
print(type(x))
|
||||
print(type(y))
|
||||
df = DataFrame([x, y], columns=['timestamp', get_emg_str(emg_nr)])
|
||||
dict = {'timestamp': x, get_emg_str(emg_nr): y}
|
||||
df = DataFrame(dict)
|
||||
#print(df)
|
||||
return df
|
||||
|
||||
|
@ -69,8 +69,8 @@ def test_total_denoising():
|
||||
plot_df(df)
|
||||
|
||||
# Denoised df:
|
||||
df_denoised = denoice_dataset(handler, 3, 'left', 3, 3)
|
||||
print(df.head)
|
||||
N_trans, y_values, df_denoised = denoice_dataset(handler, 3, 'left', 3, 3)
|
||||
print(df_denoised.head)
|
||||
plot_df(df_denoised)
|
||||
|
||||
test_total_denoising()
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user