diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..3c36496 Binary files /dev/null and b/.DS_Store differ diff --git a/Handle_emg_data.py b/Handle_emg_data.py index a086d97..522cd27 100644 --- a/Handle_emg_data.py +++ b/Handle_emg_data.py @@ -1,4 +1,21 @@ import pandas as pd +from pathlib import Path + +class CSV_handler: + + self.working_dir + + def __init__(): + self.working_dir = str(Path.cwd()) + + def make_df(self, filename) + filepath = self.working_dir + str(filename) + df = pd.read_csv(filepath) + return df + + def get_time_emg_table(filepaths, subject_nr): + return None + + -def get_time_emg_table(filepath, ) diff --git a/Signal_prep.py b/Signal_prep.py index c09ebf0..62eeb3e 100644 --- a/Signal_prep.py +++ b/Signal_prep.py @@ -1,2 +1,5 @@ -import numpy +import numpy as np + + +