step.calibration.sensors.switch_set_step_dsl ============================================ .. py:module:: step.calibration.sensors.switch_set_step_dsl .. autoapi-nested-parse:: Auto-generated step builders and DSL functions — DO NOT EDIT. Source: switch_set_step.py Classes ------- .. autoapisummary:: step.calibration.sensors.switch_set_step_dsl.SwitchCalibrationSetBuilder Functions --------- .. autoapisummary:: step.calibration.sensors.switch_set_step_dsl.switch_calibration_set Module Contents --------------- .. py:class:: SwitchCalibrationSetBuilder Bases: :py:obj:`raccoon.step.step_builder.StepBuilder` Builder for SwitchCalibrationSet. Auto-generated — do not edit. .. py:method:: set_name(value: str) .. py:function:: switch_calibration_set(set_name: str = 'default') Switch IR sensors to a named calibration set. Loads calibration data for the given set name from the calibration store and applies it to all registered IR sensors. Each sensor looks up its per-port calibration key (e.g. ``"transparent_port3"``) and sets its black/white thresholds accordingly. Use this to swap between surface-specific calibrations at runtime (e.g. switching from the default table surface to transparent objects). :param set_name: Name of the calibration set to apply (e.g. ``"default"``, ``"transparent"``). :returns: A SwitchCalibrationSetBuilder (chainable via ``.set_name()``, ``.on_anomaly()``, ``.skip_timing()``). Example:: from raccoon.step.calibration import switch_calibration_set # Switch to transparent calibration before scoring switch_calibration_set("transparent")