Windows classes

class pymeasure.display.windows.ManagedWindow(procedure_class, inputs=(), displays=(), x_axis=None, y_axis=None, log_channel='', log_level=20, parent=None)

Bases: PyQt4.QtGui.QMainWindow

The ManagedWindow uses a Manager to control Workers in a Queue, and provides a simple interface. The queue method must be overwritten by a child class which is required to pass an Experiment containing the Results and Procedure to self.manager.queue.

queue()

This method should be overwritten by the child class. The self.manager.queue method should be passed an Experiment object which contains the Results and Procedure to be run.

set_parameters(parameters)

This method should be overwritten by the child class. The parameters argument is a dictionary of Parameter objects. The Parameters should overwrite the GUI values so that a user can click “Queue” to capture the same parameters.