Training Protocol (Panel)¶
- class myogestic.gui.protocols.training.PopupWindowFeatures(self, parent: PySide6.QtWidgets.QWidget | None = None, f: PySide6.QtCore.Qt.WindowType = Default(Qt.WindowFlags))[source]¶
Bases:
QDialog
Initialize self. See help(type(self)) for accurate signature.
- class myogestic.gui.protocols.training.PopupWindowParameters(self, parent: PySide6.QtWidgets.QWidget | None = None, f: PySide6.QtCore.Qt.WindowType = Default(Qt.WindowFlags))[source]¶
Bases:
QDialog
Initialize self. See help(type(self)) for accurate signature.
- class myogestic.gui.protocols.training.PyQtThread(self, parent: PySide6.QtCore.QObject | None = None)[source]¶
Bases:
QThread
Custom PyQt thread class for running a target function in a separate thread.
- Parameters:
target (function) – The target function to run in the thread.
parent (QObject | None) – The parent object of the thread.
- has_finished_signal¶
Signal for emitting when the thread has finished.
- Type:
Signal
- progress_bar_signal¶
Signal for emitting the progress of the thread.
- Type:
Signal
Initialize self. See help(type(self)) for accurate signature.
- class myogestic.gui.protocols.training.TrainingProtocol(self, parent: PySide6.QtCore.QObject | None = None)[source]¶
Bases:
QObject
Class for handling the training protocol of the MyoGestic application.
- Parameters:
parent (MyoGestic | None) – The parent object of the protocol object.
- main_window¶
The main window of the MyoGestic application.
- Type:
MyoGestic
- model_interface¶
Interface for the models.
- Type:
MyoGesticModelInterface
- selected_dataset_filepath¶
Dictionary for the selected dataset file path.
- create_dataset_thread¶
Thread for creating a dataset.
- Type:
- train_model_thread¶
Thread for training a models.
- Type:
Initialize self. See help(type(self)) for accurate signature.