src.plots.erp_image package

Submodules

src.plots.erp_image.erp_image_controller module

ERP image controller

class src.plots.erp_image.erp_image_controller.erpImageController(all_channels_names)[source]

Bases: plots.erp_image.erp_image_listener.erpImageListener

cancel_button_clicked()[source]

Close the window.

confirm_button_clicked(channel_selected)[source]

Close the window and send the information to the main controller. :param channel_selected: The channel selected. :type channel_selected: 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_image.erp_image_listener module

ERP image listener

class src.plots.erp_image.erp_image_listener.erpImageListener[source]

Bases: abc.ABC

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

cancel_button_clicked()[source]
confirm_button_clicked(channel_selected)[source]

src.plots.erp_image.erp_image_view module

ERP image view

class src.plots.erp_image.erp_image_view.erpImageView(all_channels_names)[source]

Bases: PyQt5.QtWidgets.QWidget

cancel_erp_image_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 a single channel.

confirm_erp_image_trigger()[source]

Retrieve the parameters and send the information to the controller.

set_channels_selected(channel_selected)[source]

Set the channel selected in the multiple selector window. :param channel_selected: The channel selected. :type channel_selected: str

set_listener(listener)[source]

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

Module contents