stoner_measurement.instruments.temperature_controller.ControllerCapabilities

class stoner_measurement.instruments.temperature_controller.ControllerCapabilities(num_inputs: int, num_loops: int, input_channels: tuple[str, ...], loop_numbers: tuple[int, ...], has_ramp: bool = True, has_pid: bool = True, has_autotune: bool = False, has_alarm: bool = False, has_zone: bool = False, has_user_curves: bool = False, has_sensor_excitation: bool = False, has_cryogen_control: bool = False, has_gas_auto_mode: bool = False, has_manual_heater_output: bool = False, has_input_settings: bool = False, heater_range_labels: dict[int, tuple[str, ...]] = <factory>, min_temperature: float | None = None, max_temperature: float | None = None, has_heater_range: bool = True, control_modes: tuple[~stoner_measurement.instruments.temperature_controller.ControlMode, ...] = (), heater_range_loops: tuple[int, ...] | None = None, setpoint_after_configuration: bool = False, input_settings_model: str = 'standard')[source]

Bases: object

Static capability descriptor for a temperature controller driver.

Variables:
  • num_inputs (int) – Total number of sensor input channels.

  • num_loops (int) – Total number of PID control loops.

  • input_channels (tuple[str, ...]) – Ordered tuple of channel identifiers (e.g. ("A", "B", "C")).

  • loop_numbers (tuple[int, ...]) – Ordered tuple of loop numbers (e.g. (1, 2)).

  • has_ramp (bool) – True if the driver supports setpoint ramping.

  • has_pid (bool) – True if the driver supports PID parameter read/write.

  • has_autotune (bool) – True if the driver supports PID autotuning.

  • has_alarm (bool) – True if the driver supports sensor alarm limits.

  • has_zone (bool) – True if the driver supports zone/table (scheduled PID) control.

  • has_user_curves (bool) – True if the driver supports user-defined calibration curves.

  • has_sensor_excitation (bool) – True if the driver supports configuring sensor excitation.

  • has_cryogen_control (bool) – True if the driver supports cryogen-flow or needle-valve control (e.g. Oxford Instruments ITC503 or Mercury iTC).

  • has_gas_auto_mode (bool) – True if the driver supports switching the gas/needle-valve control between automatic and manual mode.

  • has_manual_heater_output (bool) – True if the driver supports setting the heater output directly (required for OPEN_LOOP operation).

  • has_heater_range (bool) – True if the controller provides selectable heater power ranges.

  • control_modes (tuple[ControlMode, ...]) – Supported modes, or an empty tuple to use the generic mode choices.

  • heater_range_loops (tuple[int, ...] | None) – Loops with discrete heater ranges. None means all loops when has_heater_range is true; an empty tuple means none.

  • setpoint_after_configuration (bool) – Configure ramp and output settings before writing the target in Apply.

  • input_settings_model (str) – Input editor schema. The default uses the shared 335/336 layout; lakeshore340 selects the Model 340 native input editor and itc503 selects per-sensor software temperature scales.

  • has_input_settings (bool) – True if the driver supports reading and writing per-channel input configuration (sensor type, range, filter, calibration curve assignment) via get_input_channel_settings() and set_input_channel_settings(), or through the specialised software-scale API for itc503.

  • heater_range_labels (dict[int, tuple[str, ...]]) – Optional per-loop mapping of heater range index to human-readable label. The tuple index corresponds to the integer range index passed to set_heater_range(). An empty dict (the default) means the UI should fall back to numeric indices.

  • min_temperature (float | None) – Minimum achievable temperature in Kelvin, or None if unknown.

  • max_temperature (float | None) – Maximum controllable temperature in Kelvin, or None if unknown.

control_modes: tuple[ControlMode, ...] = ()
has_alarm: bool = False
has_autotune: bool = False
has_cryogen_control: bool = False
has_gas_auto_mode: bool = False
has_heater_range: bool = True
has_input_settings: bool = False
has_manual_heater_output: bool = False
has_pid: bool = True
has_ramp: bool = True
has_sensor_excitation: bool = False
has_user_curves: bool = False
has_zone: bool = False
heater_range_labels: dict[int, tuple[str, ...]]
heater_range_loops: tuple[int, ...] | None = None
input_channels: tuple[str, ...]
input_settings_model: str = 'standard'
loop_numbers: tuple[int, ...]
max_temperature: float | None = None
min_temperature: float | None = None
num_inputs: int
num_loops: int
setpoint_after_configuration: bool = False