src.file.find_events_from_channel package

Submodules

src.file.find_events_from_channel.find_events_from_channel_controller module

Find Events From Channel Controller

class src.file.find_events_from_channel.find_events_from_channel_controller.findEventsFromChannelController(all_channels_names)[source]

Bases: file.find_events_from_channel.find_events_from_channel_listener.findEventsFromChannelListener

cancel_button_clicked()[source]

Close the window.

confirm_button_clicked(stim_channel)[source]

Close the window and send the information to the main controller. :param stim_channel: Stimulation channel. :type stim_channel: 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: 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.find_events_from_channel.find_events_from_channel_listener module

Find Events From Channel Listener

class src.file.find_events_from_channel.find_events_from_channel_listener.findEventsFromChannelListener[source]

Bases: abc.ABC

Listener doing the connection between the controller and the view for finding events with a channel. It retrieves the information from the view to send it to the controller.

cancel_button_clicked()[source]
confirm_button_clicked(stim_channel)[source]

src.file.find_events_from_channel.find_events_from_channel_view module

Find Events From Channel View

class src.file.find_events_from_channel.find_events_from_channel_view.findEventsFromChannelView(all_channels_names)[source]

Bases: PyQt5.QtWidgets.QWidget

cancel_find_events_from_channel_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_find_events_from_channel_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: Channel selected. :type channel_selected: str

set_listener(listener)[source]

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

Module contents