Qudi
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
countergui.CounterGui Class Reference

FIXME Please document. More...

Inheritance diagram for countergui.CounterGui:
Inheritance graph
[legend]
Collaboration diagram for countergui.CounterGui:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, config, kwargs)
 
def on_activate (self)
 Definition and initialisation of the GUI.
 
def show (self)
 Make window visible and put it above all other windows.
 
def on_deactivate (self)
 Deactivate the module.
 
def updateData (self)
 The function that grabs the data and sends it to the plot.
 
def start_clicked (self)
 Handling the Start button to stop and restart the counter.
 
def save_clicked (self)
 Handling the save button to save the data into a file.
 
def trace_selection_changed (self)
 Input parameters changed via GUI. More...
 
def trace_display_changed (self)
 Handling of a change in teh selection of which counts should be shown.
 
def count_length_changed (self)
 Handling the change of the count_length and sending it to the measurement.
 
def count_frequency_changed (self)
 Handling the change of the count_frequency and sending it to the measurement.
 
def oversampling_changed (self)
 Handling the change of the oversampling and sending it to the measurement.
 
def restore_default_view (self)
 Restore default values. More...
 
def update_oversampling_SpinBox (self, oversampling)
 Handle signals from logic. More...
 
def update_count_freq_SpinBox (self, count_freq)
 Function to ensure that the GUI displays the current value of the logic. More...
 
def update_count_length_SpinBox (self, count_length)
 Function to ensure that the GUI displays the current value of the logic. More...
 
def update_saving_Action (self, start)
 Function to ensure that the GUI-save_action displays the current status. More...
 
def update_count_status_Action (self, running)
 Function to ensure that the GUI-save_action displays the current status. More...
 
def update_counting_mode_ComboBox (self)
 
def update_smoothing_ComboBox (self)
 

Public Attributes

 curves
 

Static Public Attributes

 counterlogic1 = Connector(interface='CounterLogic')
 
 sigStartCounter = QtCore.Signal()
 
 sigStopCounter = QtCore.Signal()
 

Detailed Description

FIXME Please document.

Member Function Documentation

◆ restore_default_view()

def countergui.CounterGui.restore_default_view (   self)

Restore default values.

Restore the arrangement of DockWidgets to the default

◆ trace_selection_changed()

def countergui.CounterGui.trace_selection_changed (   self)

Input parameters changed via GUI.

Handling any change to the selection of the traces to display.

◆ update_count_freq_SpinBox()

def countergui.CounterGui.update_count_freq_SpinBox (   self,
  count_freq 
)

Function to ensure that the GUI displays the current value of the logic.

Parameters
floatcount_freq: adjusted count frequency in Hz
Returns
float count_freq: see above

◆ update_count_length_SpinBox()

def countergui.CounterGui.update_count_length_SpinBox (   self,
  count_length 
)

Function to ensure that the GUI displays the current value of the logic.

Parameters
intcount_length: adjusted count length in bins
Returns
int count_length: see above

◆ update_count_status_Action()

def countergui.CounterGui.update_count_status_Action (   self,
  running 
)

Function to ensure that the GUI-save_action displays the current status.

Parameters
boolrunning: True if the counting is started
Returns
bool running: see above

◆ update_oversampling_SpinBox()

def countergui.CounterGui.update_oversampling_SpinBox (   self,
  oversampling 
)

Handle signals from logic.

Function to ensure that the GUI displays the current value of the logic

    @param int oversampling: adjusted oversampling to update in the GUI in bins
    @return int oversampling: see above

◆ update_saving_Action()

def countergui.CounterGui.update_saving_Action (   self,
  start 
)

Function to ensure that the GUI-save_action displays the current status.

Parameters
boolstart: True if the measurment saving is started
Returns
bool start: see above

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