step.calibration.calibrate_step =============================== .. py:module:: step.calibration.calibrate_step .. autoapi-nested-parse:: Reusable base class for interactive calibration steps. Subclasses implement four hooks to define what data is collected, how it is confirmed, how it is applied to hardware, and how it is serialised for persistent storage. The base class takes care of: * Running optional *setup_steps* before the first attempt and on every retry. * The collect → confirm → apply/retry loop. * Persisting confirmed values to ``racoon.calibration.yml``. * Honouring ``--no-calibrate``: loading stored values instead of running the interactive flow. Attributes ---------- .. autoapisummary:: step.calibration.calibrate_step.T Classes ------- .. autoapisummary:: step.calibration.calibrate_step.CalibrateStep Module Contents --------------- .. py:data:: T .. py:class:: CalibrateStep(store_section: str, store_set: str = 'default', setup_steps: list[step.base.Step] | None = None) Bases: :py:obj:`raccoon.ui.step.UIStep`, :py:obj:`Generic`\ [\ :py:obj:`T`\ ] Template for an interactive calibration step with persistence. Type parameter *T* is the calibration payload — the domain-specific value object that flows through collect → confirm → apply → store.