src.tools.re_referencing package¶
Submodules¶
src.tools.re_referencing.re_referencing_controller module¶
Re-referencing controller
-
class
src.tools.re_referencing.re_referencing_controller.
reReferencingController
(reference, all_channels_names)[source]¶ Bases:
tools.re_referencing.re_referencing_listener.reReferencingListener
Close the window.
Close the window and send the information to the main controller. :param references: References from which the data will be re-referenced. Can be a single or multiple channels; Can be an average of all channels; Can be a “point to infinity”. :type references: list of str; str :param save_data: Boolean telling if the data computed must be saved into files. :type save_data: bool :param load_data: Boolean telling if the data used for the computation can be read from computer files. :type load_data: bool :param n_jobs: Number of parallel processes used to compute the re-referencing :type n_jobs: int
src.tools.re_referencing.re_referencing_listener module¶
Re-referencing Listener
src.tools.re_referencing.re_referencing_view module¶
Re-referencing View
-
class
src.tools.re_referencing.re_referencing_view.
reReferencingView
(reference, all_channels_names)[source]¶ Bases:
PyQt5.QtWidgets.QWidget
-
cancel_re_referencing_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_re_referencing_trigger
()[source]¶ Retrieve the parameters and send the information to the controller.
Get the values of the save and load buttons. :return: save_data: True if the data must be saved. Otherwise, False. load_data: True if the data must be loaded. Otherwise, False. :rtype: boolean, boolean
-
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
-