Manager classes¶
- class pymeasure.display.manager.Experiment(*args: Any, **kwargs: Any)¶
Bases:
QObject
The Experiment class helps group the
Procedure
,Results
, and their display functionality. Its function is only a convenient container.- Parameters:
results –
Results
objectcurve –
ResultsCurve
objectbrowser_item –
BrowserItem
object
- class pymeasure.display.manager.ExperimentQueue(*args: Any, **kwargs: Any)¶
Bases:
QObject
Represents a Queue of Experiments and allows queries to be easily preformed
- has_next()¶
Returns True if another item is on the queue
- next()¶
Returns the next experiment on the queue
- class pymeasure.display.manager.ImageExperiment(*args: Any, **kwargs: Any)¶
Bases:
Experiment
Adds saving of the experiments image to
Experiment
. Needed to make image features work
- class pymeasure.display.manager.ImageExperimentQueue(*args: Any, **kwargs: Any)¶
Bases:
ExperimentQueue
Overwrites needed features from
ExperimentQueue
to make image features work
- class pymeasure.display.manager.ImageManager(*args: Any, **kwargs: Any)¶
Bases:
Manager
Overwrites needed features from
Manager
to make image features work- abort_returned¶
alias of
object
- aborted¶
alias of
object
- failed¶
alias of
object
- finished¶
alias of
object
- load(experiment)¶
Load a previously executed Experiment
- log¶
alias of
object
- queued¶
alias of
object
- remove(experiment)¶
Removes an Experiment
- running¶
alias of
object
- class pymeasure.display.manager.Manager(*args: Any, **kwargs: Any)¶
Bases:
QObject
Controls the execution of
Experiment
classes by implementing a queue system in which Experiments are added, removed, executed, or aborted. When instantiated, the Manager is linked to aBrowser
and a PyQtGraph PlotItem within the user interface, which are updated in accordance with the execution status of the Experiments.- abort()¶
Aborts the currently running Experiment, but raises an exception if there is no running experiment
- abort_returned¶
alias of
object
- aborted¶
alias of
object
- clear()¶
Remove all Experiments
- failed¶
alias of
object
- finished¶
alias of
object
- is_running()¶
Returns True if a procedure is currently running
- load(experiment)¶
Load a previously executed Experiment
- log¶
alias of
object
- next()¶
Initiates the start of the next experiment in the queue as long as no other experiments are currently running and there is a procedure in the queue.
- queue(experiment)¶
Adds an experiment to the queue.
- queued¶
alias of
object
- remove(experiment)¶
Removes an Experiment
- resume()¶
Resume processing of the queue.
- running¶
alias of
object