Qudi
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
cameragui.CameraGUI Class Reference

Main spectrometer camera class. More...

Inheritance diagram for cameragui.CameraGUI:
Inheritance graph
[legend]
Collaboration diagram for cameragui.CameraGUI:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, config, kwargs)
 
def on_activate (self)
 Initializes all needed UI files and establishes the connectors.
 
def on_deactivate (self)
 Deinitialisation performed during deactivation of the module.
 
def show (self)
 Make window visible and put it above all other windows.
 
def initSettingsUI (self)
 Definition, configuration and initialisation of the settings GUI. More...
 
def update_settings (self)
 Write new settings from the gui to the file. More...
 
def keep_former_settings (self)
 Keep the old settings and restores them in the gui. More...
 
def menu_settings (self)
 This method opens the settings menu. More...
 
def start_image_clicked (self)
 
def acquisition_finished (self)
 
def start_video_clicked (self)
 Handling the Start button to stop and restart the counter.
 
def enable_start_image_action (self)
 
def update_data (self)
 Get the image data from the logic and print it on the window.
 
def updateView (self)
 Update the view when the model change.
 
def get_xy_cb_range (self)
 Determines the cb_min and cb_max values for the xy scan image.
 
def refresh_xy_colorbar (self)
 Adjust the xy colorbar. More...
 
def refresh_xy_image (self)
 Update the current XY image from the logic. More...
 
def shortcut_to_xy_cb_manual (self)
 Someone edited the absolute counts range for the xy colour bar, better update. More...
 
def shortcut_to_xy_cb_centiles (self)
 Someone edited the centiles range for the xy colour bar, better update. More...
 
def update_xy_cb_range (self)
 Redraw xy colour bar and scan image. More...
 
def save_xy_scan_data (self)
 Run the save routine from the logic to save the xy confocal data. More...
 

Public Attributes

 my_colors
 
 xy_cb
 
 depth_cb
 

Static Public Attributes

 camera_logic = Connector(interface='CameraLogic')
 
 savelogic = Connector(interface='SaveLogic')
 
 sigVideoStart = QtCore.Signal()
 
 sigVideoStop = QtCore.Signal()
 
 sigImageStart = QtCore.Signal()
 
 sigImageStop = QtCore.Signal()
 

Detailed Description

Main spectrometer camera class.

Member Function Documentation

◆ initSettingsUI()

def cameragui.CameraGUI.initSettingsUI (   self)

Definition, configuration and initialisation of the settings GUI.

This init connects all the graphic modules, which were created in the *.ui file and configures the event handling between the modules. Moreover it sets default values if not existed in the logic modules.

◆ keep_former_settings()

def cameragui.CameraGUI.keep_former_settings (   self)

Keep the old settings and restores them in the gui.

◆ menu_settings()

def cameragui.CameraGUI.menu_settings (   self)

This method opens the settings menu.

◆ refresh_xy_colorbar()

def cameragui.CameraGUI.refresh_xy_colorbar (   self)

Adjust the xy colorbar.

Calls the refresh method from colorbar, which takes either the lowest and higherst value in the image or predefined ranges. Note that you can invert the colorbar if the lower border is bigger then the higher one.

◆ refresh_xy_image()

def cameragui.CameraGUI.refresh_xy_image (   self)

Update the current XY image from the logic.

Everytime the scanner is scanning a line in xy the image is rebuild and updated in the GUI.

◆ save_xy_scan_data()

def cameragui.CameraGUI.save_xy_scan_data (   self)

Run the save routine from the logic to save the xy confocal data.

◆ shortcut_to_xy_cb_centiles()

def cameragui.CameraGUI.shortcut_to_xy_cb_centiles (   self)

Someone edited the centiles range for the xy colour bar, better update.

◆ shortcut_to_xy_cb_manual()

def cameragui.CameraGUI.shortcut_to_xy_cb_manual (   self)

Someone edited the absolute counts range for the xy colour bar, better update.

◆ update_settings()

def cameragui.CameraGUI.update_settings (   self)

Write new settings from the gui to the file.

◆ update_xy_cb_range()

def cameragui.CameraGUI.update_xy_cb_range (   self)

Redraw xy colour bar and scan image.


The documentation for this class was generated from the following file: