Main GUI for the Gated Counting.
More...
|
| gatedcounterlogic1 = Connector(interface='GatedCounterLogic') |
| declare connectors
|
|
| traceanalysislogic1 = Connector(interface='TraceAnalysisLogic') |
|
| sigStartGatedCounter = QtCore.Signal() |
|
| sigStopGatedCounter = QtCore.Signal() |
|
Main GUI for the Gated Counting.
◆ num_bins_changed()
def gated_counter_gui.GatedCounterGui.num_bins_changed |
( |
|
self, |
|
|
|
num_bins |
|
) |
| |
- Parameters
-
int | num_bins: Number of bins to be set in the trace. This method is executed by both events, the valueChanged of the SpinBox
and value changed in the Slider. Until now, there appears no infinite
signal loop. It that occur one day, than this method has to be split
in two seperate methods. |
◆ on_activate()
def gated_counter_gui.GatedCounterGui.on_activate |
( |
|
self, |
|
|
|
e = None |
|
) |
| |
Definition and initialisation of the GUI.
- Parameters
-
object | e: Fysom.event object from Fysom class. An object created by the state machine module Fysom, which is connected to a specific event (have a look in the Base Class). This object contains the passed event, the state before the event happened and the destination of the state which should be reached after the event had happened. |
◆ save_clicked()
def gated_counter_gui.GatedCounterGui.save_clicked |
( |
|
self | ) |
|
Trigger the save routine in the logic.
Pass also the chosen filename.
◆ set_default_view_main_window()
def gated_counter_gui.GatedCounterGui.set_default_view_main_window |
( |
|
self | ) |
|
Restore the default view and arrangement of the DockWidgets.
◆ show()
def gated_counter_gui.GatedCounterGui.show |
( |
|
self | ) |
|
Make main window visible and put it above all other windows.
◆ start_clicked()
def gated_counter_gui.GatedCounterGui.start_clicked |
( |
|
self | ) |
|
Handling the Start button to stop and restart the counter.
◆ stop_clicked()
def gated_counter_gui.GatedCounterGui.stop_clicked |
( |
|
self | ) |
|
Handling the Stop button to stop and restart the counter.
◆ update_analysis_results()
def gated_counter_gui.GatedCounterGui.update_analysis_results |
( |
|
self | ) |
|
Update the spin flip probability and the fidelities.
◆ update_histogram()
def gated_counter_gui.GatedCounterGui.update_histogram |
( |
|
self | ) |
|
Update procedure for the histogram to display the new data.
◆ update_trace()
def gated_counter_gui.GatedCounterGui.update_trace |
( |
|
self | ) |
|
The function that grabs the data and sends it to the plot.
The documentation for this class was generated from the following file:
- gui/gated_counter/gated_counter_gui.py