src.plots.topographies package

Submodules

src.plots.topographies.topographies_controller module

Topographies controller

class src.plots.topographies.topographies_controller.topographiesController[source]

Bases: plots.topographies.topographies_listener.topographiesListener

cancel_button_clicked()[source]

Close the window.

confirm_button_clicked(time_points, mode)[source]

Close the window and send the information to the main controller. :param time_points: Time points at which the topographies will be plotted. :type time_points: list of float :param mode: Mode used for plotting the topographies. :type mode: 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.topographies.topographies_listener module

Topographies listener

class src.plots.topographies.topographies_listener.topographiesListener[source]

Bases: abc.ABC

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

cancel_button_clicked()[source]
confirm_button_clicked(time_points, mode)[source]

src.plots.topographies.topographies_view module

Topographies view

class src.plots.topographies.topographies_view.topographiesView[source]

Bases: PyQt5.QtWidgets.QWidget

cancel_topographies_trigger()[source]

Send the information to the controller that the computation is cancelled.

confirm_topographies_trigger()[source]

Retrieve the parameters and send the information to the controller.

create_array_from_time_points(mode)[source]

Create an array of time points depending on the time points given. :param mode: Mode used for plotting the topographies. :type mode: str :return: “auto” if no time points are set. Will create an evenly dispersed time points to display. :rtype: str/None/list of float

set_listener(listener)[source]

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

Module contents