src.tools.extract_epochs package¶
Submodules¶
src.tools.extract_epochs.extract_epochs_controller module¶
Extract Epochs Controller
-
class
src.tools.extract_epochs.extract_epochs_controller.
extractEpochsController
(event_values, event_ids)[source]¶ Bases:
tools.extract_epochs.extract_epochs_listener.extractEpochsListener
Close the window.
Close the window and send the information to the main controller. :param tmin: Start time of the epoch to keep :type tmin: float :param tmax: End time of the epoch to keep :type tmax: float
-
get_elements_selected
(elements_selected, element_type)[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 :param element_type: Type of the element selected, used in case multiple element selector windows can be open in a window. Can thus distinguish the returned elements. :type element_type: str
src.tools.extract_epochs.extract_epochs_listener module¶
Extract Epochs Listener
src.tools.extract_epochs.extract_epochs_view module¶
Extract Epochs View
-
class
src.tools.extract_epochs.extract_epochs_view.
extractEpochsView
(event_values, event_ids)[source]¶ Bases:
PyQt5.QtWidgets.QWidget
-
cancel_extract_epochs_trigger
()[source]¶ Send the information to the controller that the computation is cancelled.
-
confirm_extract_epochs_trigger
()[source]¶ Retrieve the parameters and send the information to the controller.
-
event_selection_indexes_trigger
()[source]¶ Open the multiple selector window. The user can select the event indexes he wants the extraction to be computed on.
-
selection_events_trigger
()[source]¶ Open the multiple selector window. The user can select the events type he wants the extraction to be computed on.
-
set_listener
(listener)[source]¶ Set the listener to the controller. :param listener: Listener to the controller. :type listener: extractEpochsController
-
set_trials_selected
(elements_selected, element_type)[source]¶ Set the channels selected in the multiple selector window. :param elements_selected: Trials or Events selected. :type elements_selected: list of str :param element_type: Type of the element selected, used in case multiple element selector windows can be open in a window. Can thus distinguish the returned elements. :type element_type: str
-