gui.calibration.parameters — Allows setting calibration parameters

This module contains the ParameterWidgetHandler class, which manages a group of widgets that allow the user to specify the heating currents that are to be used for the calibration procedure.

The top-level container of these widgets can be accessed using the handler’s widget property, and a tuple of the currents the user has specified can be retrieved using its getCurrents() method.

The ParameterWidgetHandler Class

class gui.calibration.parameters.ParameterWidgetHandler(system)
Creates a new instance of this class, which allows the user to enter parameters for calibrating the given ProductionSystem.
ParameterWidgetHandler.widget
The top-level container of the widgets used to enter the calibration parameters. Immutable.
ParameterWidgetHandler.getCurrents()
Returns a tuple of the heating currents (in mA) for which measurements are to be taken during the calibration procedure.

Constants

gui.calibration.parameters.BEEP
Indicates whether the ParameterWidgetHandler should emit a beep the user enters an invalid value.
gui.calibration.parameters.MIN_CURRENT
The smallest legal input value for the single heating current and the starting current, in mA.
gui.calibration.parameters.MIN_CURRENT_INCREMENT
The smallest input legal value for the current increment, in mA.
gui.calibration.parameters.DEFAULT_CURRENT_INCREMENT
The default current increment between heating stages, in mA.
gui.calibration.parameters.MAX_FRACTIONAL_DIGITS
The maximum number of fractional digits parameters are allowed to have.