src.file.study_creation package

Submodules

src.file.study_creation.study_creation_controller module

Study Controller

class src.file.study_creation.study_creation_controller.studyCreationController(dataset_names)[source]

Bases: file.study_creation.study_creation_listener.studyCreationListener

cancel_button_clicked()[source]

Close the window.

confirm_button_clicked(study_name, task_name, dataset_names, dataset_indexes, subjects, sessions, runs, conditions, groups)[source]

Close the window and send the information to the main controller :param study_name: The name of the study_creation :type study_name: str :param task_name: The name of the task linked to the study_creation :type task_name: str :param dataset_names: The name of the datasets linked to the study_creation :type dataset_names: list of str :param dataset_indexes: The indexes of the datasets selected to be in the study_creation :type dataset_indexes: list of int :param subjects: The subjects assigned to each dataset in the study_creation :type subjects: list of str :param sessions: The sessions assigned to each dataset in the study_creation :type sessions: list of str :param runs: The runs assigned to each dataset in the study_creation :type runs: list of str :param conditions: The conditions assigned to each dataset in the study_creation :type conditions: list of str :param groups: The groups assigned to each dataset in the study_creation :type groups: list of str

set_listener(listener)[source]

Set the main listener so that the controller is able to communicate with the main controller. :param listener: main listener :type listener: mainController

src.file.study_creation.study_creation_listener module

Study Listener

class src.file.study_creation.study_creation_listener.studyCreationListener[source]

Bases: abc.ABC

Listener doing the connection between the controller and the view for creating the study It retrieves the information from the view to send it to the controller.

cancel_button_clicked()[source]
confirm_button_clicked(study_name, task_name, dataset_names, dataset_indexes, subjects, sessions, runs, conditions, groups)[source]

src.file.study_creation.study_creation_view module

Study View

class src.file.study_creation.study_creation_view.studyCreationView(dataset_names)[source]

Bases: PyQt5.QtWidgets.QWidget

cancel_study_trigger()[source]

Send the information to the controller that the computation is cancelled.

confirm_study_trigger()[source]

Retrieve the all the additional information and send the information to the controller.

set_listener(listener)[source]

Set the listener to the controller. :param listener: Listener to the controller. :type listener: loadDataInfoController

Module contents