PPG_EVA_GUI module

Created on Fri Feb 28 14:01:14 2025

@author: alko18

class PPG_EVA_GUI.ConsoleRedirector(text_widget)

Bases: object

flush()
write(message)
PPG_EVA_GUI.main_loop(testrun=False)

Starts the PPG_EVA_tool.process()-function in evaluation mode.

Parameters

testrunbool, optional

If True, PPG-EVA takes the first signal in the given directory and process it. Else, PPG-Eva will process the whole batch in the given directory. The default is False.

PPG_EVA_GUI.main_window()
PPG_EVA_GUI.set_values()

This function will generate a config.ini file. This file contains all the data like paths and metadata like the filtersettings. Examplefile:

config['Paths'] = {\n
    'working_folder': A:\my\working\directory ,
    'export_path': A:\my\result\directory,
    'classifier_path': A:\PPG_EVA\classifier.pcl, #classifier
    'training_values_path': A:\PPG_EVA\all_data_tuples.xlsx, #all_data_tuples

}

config['Settings'] = {
    'fs_A': 128,
    'order': 2,
    'lowcut': 0.8,
    'highcut': 2.0,
    'chunk_length': 10,

}