PErformance indicators of spatiotemporal PATterns of the spinal muscle coordination Output during walking with an exoskeleton
4.5. Electromyography file
Please specify the EMG timestamp in miliseconds (see examples from test_data
folder)
- Electromiography and Gait events files should be named the same
- File name format (gait speed V should be from the list of [2, 4, 6] km per hour):
subject_N_run_R_emg_speedVkmh.csv
subject_N_run_R_gaitEvents_speedVkmh.yaml
Full datasets available for adults (10 subjects, both body sides) and elderly (10 subjects, right body side only).
(full functionality, advanced GUI, see User Gide)
>>> PEPATO(8, 'left', 'cfg/initial_cfg', 'db/db_healthy_adults_8m', {'BiFe', 'SeTe', 'VaMe', 'VaLa', 'ReFe', 'TiAn', 'GaMe', 'Sol'});
- Set GUI font size, body side, path to config file, path to database file and muscle list (optional)
- Databases available for {'BiFe', 'SeTe', 'VaMe', 'VaLa', 'ReFe', 'TiAn', 'GaMe', 'Sol'} muscle list:
db_healthy_adults_8m
- adults,db_healthy_elderly_8m
- elderly
(basic functionality)
>>> ./run_pepato left BLF db_healthy_adults_8m ./test_data/input/subject_0_run_0_emg_speed2kmh.csv ./test_data/input/subject_0_run_0_gaitEvents_speed2kmh.yaml ./test_data/input/subject_0_run_0_emg_speed4kmh.csv ./test_data/input/subject_0_run_0_gaitEvents_speed4kmh.yaml ./test_data/input/subject_0_run_0_emg_speed6kmh.csv ./test_data/input/subject_0_run_0_gaitEvents_speed6kmh.yaml ./test_data/output
- Set body side, NMF stop criteria, database filename (from
pepato/db
folder), input files (random order allowed) and output directory - Body side should be from the list of ['left', 'right']
- NMF stop criteria should be from the list of ['BLF', 'R2=0.90', 'N=4']
- Databases available: db_healthy_adults_8m, db_healthy_elderly_8m
>>> pepato_basic({'test_data/input/subject_0_run_0_emg_speed2kmh.csv', 'test_data/input/subject_0_run_0_gaitEvents_speed2kmh.yaml', 'test_data/input/subject_0_run_0_emg_speed4kmh.csv', 'test_data/input/subject_0_run_0_gaitEvents_speed4kmh.yaml', 'test_data/input/subject_0_run_0_emg_speed6kmh.csv', 'test_data/input/subject_0_run_0_gaitEvents_speed6kmh.yaml'}, 'test_data/output', 'left', {30, 400, 200, 8, 50, 'BLF'}, 'db/db_healthy_adults_8m', {'BiFe', 'SeTe', 'VaMe', 'VaLa', 'ReFe', 'TiAn', 'GaMe', 'Sol'});
- Set input_folder, output_folder, body_side, config parameters, database filename and list of muscles (optional)
- Format of path folder: path from current folder or full path
- The output files will be saved to the output folder as 'subject_N_run_R_PIname.yaml'