Widget classes¶
-
class
pymeasure.display.widgets.
BrowserWidget
(*args: Any, **kwargs: Any)¶ Bases:
pyqtgraph.Qt.QtGui.
-
class
pymeasure.display.widgets.
DirectoryLineEdit
(*args: Any, **kwargs: Any)¶ Bases:
pyqtgraph.Qt.QtGui.
Widget that allows to choose a directory path. A completer is implemented for quick completion. A browse button is available.
-
class
pymeasure.display.widgets.
ImageFrame
(*args: Any, **kwargs: Any)¶ Bases:
pyqtgraph.Qt.QtGui.
Combines a PyQtGraph Plot with Crosshairs. Refreshes the plot based on the refresh_time, and allows the axes to be changed on the fly, which updates the plotted data
-
parse_axis
(axis)¶ Returns the units of an axis by searching the string
-
x_axis_changed
¶ alias of
str
-
y_axis_changed
¶ alias of
str
-
z_axis_changed
¶ alias of
str
-
-
class
pymeasure.display.widgets.
ImageWidget
(*args: Any, **kwargs: Any)¶ Bases:
pyqtgraph.Qt.QtGui.
Extends the PlotFrame to allow different columns of the data to be dynamically choosen
-
new_image
(results)¶ Creates a new image
-
-
class
pymeasure.display.widgets.
InputsWidget
(*args: Any, **kwargs: Any)¶ Bases:
pyqtgraph.Qt.QtGui.
-
get_procedure
()¶ Returns the current procedure
-
-
class
pymeasure.display.widgets.
LogWidget
(*args: Any, **kwargs: Any)¶ Bases:
pyqtgraph.Qt.QtGui.
-
class
pymeasure.display.widgets.
PlotFrame
(*args: Any, **kwargs: Any)¶ Bases:
pyqtgraph.Qt.QtGui.
Combines a PyQtGraph Plot with Crosshairs. Refreshes the plot based on the refresh_time, and allows the axes to be changed on the fly, which updates the plotted data
-
parse_axis
(axis)¶ Returns the units of an axis by searching the string
-
x_axis_changed
¶ alias of
str
-
y_axis_changed
¶ alias of
str
-
-
class
pymeasure.display.widgets.
PlotWidget
(*args: Any, **kwargs: Any)¶ Bases:
pyqtgraph.Qt.QtGui.
Extends the PlotFrame to allow different columns of the data to be dynamically choosen
-
class
pymeasure.display.widgets.
ResultsDialog
(*args: Any, **kwargs: Any)¶ Bases:
pyqtgraph.Qt.QtGui.
-
exception
pymeasure.display.widgets.
SequenceEvaluationException
¶ Bases:
Exception
Raised when the evaluation of a sequence string goes wrong.
-
class
pymeasure.display.widgets.
SequencerWidget
(*args: Any, **kwargs: Any)¶ Bases:
pyqtgraph.Qt.QtGui.
Widget that allows to generate a sequence of measurements with varying parameters. Moreover, one can write a simple text file to easily load a sequence.
Currently requires a queue function of the ManagedWindow to have a “procedure” argument.
-
static
eval_string
(string, name=None, depth=None)¶ Evaluate the given string. The string is evaluated using a list of pre-defined functions that are deemed safe to use, to prevent the execution of malicious code. For this purpose, also any built-in functions or global variables are not available.
- Parameters
string – String to be interpreted.
name – Name of the to-be-interpreted string, only used for error messages.
depth – Depth of the to-be-interpreted string, only used for error messages.
-
load_sequence
(*, fileName=None)¶ Load a sequence from a .txt file.
- Parameters
fileName – Filename (string) of the to-be-loaded file.
-
queue_sequence
()¶ Obtain a list of parameters from the sequence tree, enter these into procedures, and queue these procedures.
-
static