src.file.load_data_info package

Submodules

src.file.load_data_info.load_data_info_controller module

Load Data Info Controller

class src.file.load_data_info.load_data_info_controller.loadDataInfoController(channel_names, tmin, tmax)[source]

Bases: file.load_data_info.load_data_info_listener.loadDataInfoListener

cancel_button_clicked()[source]

Close the window.

confirm_button_clicked(montage, channels_selected, tmin, tmax, dataset_name)[source]

Close the window and send the information to the main controller :param montage: Montage of the headset :type montage: str :param channels_selected: Channels selected :type channels_selected: list of str :param tmin: Start time of the epoch or raw file to keep :type tmin: float :param tmax: End time of the epoch or raw file to keep :type tmax: float :param dataset_name: The name of the loaded dataset. :type dataset_name: 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.file.load_data_info.load_data_info_listener module

Load Data Info Listener

class src.file.load_data_info.load_data_info_listener.loadDataInfoListener[source]

Bases: abc.ABC

Listener doing the connection between the controller and the view for loading the additional data information. It retrieves the information from the view to send it to the controller.

cancel_button_clicked()[source]
confirm_button_clicked(montage, channels_selected, tmin, tmax, dataset_name)[source]
get_elements_selected(elements_selected)[source]

src.file.load_data_info.load_data_info_view module

Load Data Info View

class src.file.load_data_info.load_data_info_view.loadDataInfoView(channel_names, tmin, tmax)[source]

Bases: PyQt5.QtWidgets.QWidget

cancel_load_data_info_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_load_data_info_trigger()[source]

Retrieve the all the additional information and send the information to the controller. Check if the float input are in the acceptable range (between tmin and tmax).

set_channels_selected(channels_selected)[source]

Set the channel 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: loadDataInfoController

Module contents