src.plots.erp package

Submodules

src.plots.erp.erp_controller module

ERP controller

class src.plots.erp.erp_controller.erpController(all_channels_names)[source]

Bases: plots.erp.erp_listener.erpListener

cancel_button_clicked()[source]

Close the window.

confirm_button_clicked(channels_selected)[source]

Close the window and send the information to the main controller. :param channels_selected: The channels selected. :type channels_selected: list of str

get_elements_selected(elements_selected)[source]

Get the elements selected by the user in the multiple elements’ selector. :param elements_selected: Elements selected in the multiple elements’ selector. :type elements_selected: 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.plots.erp.erp_listener module

ERP listener

class src.plots.erp.erp_listener.erpListener[source]

Bases: abc.ABC

Listener doing the connection between the controller and the view for computing the ERPs on the dataset. It retrieves the information from the view to send it to the controller.

cancel_button_clicked()[source]
confirm_button_clicked(channels_selected)[source]

src.plots.erp.erp_view module

ERP view

class src.plots.erp.erp_view.erpView(all_channels_names)[source]

Bases: PyQt5.QtWidgets.QWidget

cancel_erp_trigger()[source]

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

channels_selection_trigger()[source]

Open the multiple selector window. The user can select multiple channels.

confirm_erp_trigger()[source]

Retrieve the parameters and send the information to the controller.

set_channels_selected(channels_selected)[source]

Set the channels selected in the multiple selector window. :param channels_selected: Channels selected. :type channels_selected: list of str

set_listener(listener)[source]

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

Module contents