View

View

In the broad definition, the View should provide all the tools for the interaction between the user and the computer. These could be both through the command line or through a Graphical User Interface. In practice, however, command-line interfaces appear naturally once the models and controllers are properly developed. It is also possible to use Jupyter notebooks to interface with devices and perform experiments. Therefore, the View will be fundamentally responsible for generating graphical applications.

copyright

Aquiles Carattino <aquiles@uetke.com>

license

GPLv3, see LICENSE for more details

Contents

class pynta.view.main.MainWindow(experiment)[source]

Bases: pynta.view.GUI.main_window.MainWindowGUI

calculate_histogram()[source]
clear_roi()[source]
closeEvent(self, QCloseEvent)[source]
initialize_camera()[source]
save_image()[source]
set_roi()[source]
snap()[source]
start_continuous_saves()[source]
start_linking()[source]
start_movie()[source]
start_saving_tracks()[source]
start_tracking()[source]
stop_continuous_saves()[source]
stop_linking()[source]
stop_movie()[source]
stop_saving_tracks()[source]
update_config(config)[source]
update_gui()[source]
update_histogram(values)[source]
update_tracking_config(config)[source]
update_tracks()[source]

Subscriber Thread

Allows to transform topics coming from a socket (ZMQ) to Qt signals that can be connected to any method, etc.

copyright

Aquiles Carattino <aquiles@uetke.com>

license

GPLv3, see LICENSE for more details

class pynta.view.subscriber_thread.SubscriberThread(port, topic)[source]

Bases: PyQt5.QtCore.QThread

data_received
run(self)[source]