stoner_measurement.instruments.temperature_controller.InputChannelSettings

class stoner_measurement.instruments.temperature_controller.InputChannelSettings(sensor_type: int | None = None, autorange: bool | None = None, range_: int | None = None, compensation: bool | None = None, units: int | None = None, filter_enabled: bool | None = None, filter_points: int | None = None, filter_window: float | None = None, curve_number: int | None = None)[source]

Bases: object

Configuration settings for a single sensor input channel.

Captures the sensor type, range, filtering, and calibration curve assignment for one input channel. Fields that are not applicable to a particular driver are set to None.

Variables:
  • sensor_type (int | None) – Instrument-specific sensor type code (e.g. 0 = Disabled, 1 = Diode, 2 = PTC RTD, 3 = NTC RTD). None if not configurable on this driver.

  • autorange (bool | None) – True when automatic ranging is enabled; None if not supported.

  • range (int | None) – Manual range index (instrument-specific). Meaningful only when autorange is False; None if not supported.

  • compensation (bool | None) – True when current-reversal compensation is active (diode / RTD inputs on some controllers); None if not supported.

  • units (int | None) – Temperature units code (e.g. 1 = K, 2 = °C, 3 = sensor units). None if not configurable.

  • filter_enabled (bool | None) – True when the digital averaging filter is active; None if not supported.

  • filter_points (int | None) – Number of readings averaged by the filter (1 effectively disables averaging); None if not supported.

  • filter_window (float | None) – Percentage deviation window that resets the filter (0 disables windowing); None if not supported.

  • curve_number (int | None) – Calibration curve number assigned to this channel (0 = none); None if curve assignment is not supported.

autorange: bool | None = None
compensation: bool | None = None
curve_number: int | None = None
filter_enabled: bool | None = None
filter_points: int | None = None
filter_window: float | None = None
range_: int | None = None
sensor_type: int | None = None
units: int | None = None