step.calibration.sensors.switch_set_step ======================================== .. py:module:: step.calibration.sensors.switch_set_step Classes ------- .. autoapisummary:: step.calibration.sensors.switch_set_step.SwitchCalibrationSet Module Contents --------------- .. py:class:: SwitchCalibrationSet(set_name: str = 'default') Bases: :py:obj:`raccoon.ui.step.UIStep` 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"``). Example:: from raccoon.step.calibration import switch_calibration_set # Switch to transparent calibration before scoring switch_calibration_set("transparent") .. py:attribute:: set_name :value: 'default'