src.tools.resampling package

Submodules

src.tools.resampling.resampling_controller module

Resampling controller

class src.tools.resampling.resampling_controller.resamplingController(frequency)[source]

Bases: tools.resampling.resampling_listener.resamplingListener

cancel_button_clicked()[source]

Close the window.

confirm_button_clicked(frequency)[source]

Close the window and send the information to the main controller. :param frequency: The frequency rate :type frequency: float

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.tools.resampling.resampling_listener module

Resampling listener

class src.tools.resampling.resampling_listener.resamplingListener[source]

Bases: abc.ABC

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

cancel_button_clicked()[source]
confirm_button_clicked(frequency)[source]

src.tools.resampling.resampling_view module

Resampling view

class src.tools.resampling.resampling_view.resamplingView(frequency)[source]

Bases: PyQt5.QtWidgets.QWidget

cancel_resampling_trigger()[source]

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

confirm_resampling_trigger()[source]

Retrieve the parameters and send the information to the controller.

set_listener(listener)[source]

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

Module contents