step.calibration.calibrate_step¶
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¶
Classes¶
Template for an interactive calibration step with persistence. |
Module Contents¶
- step.calibration.calibrate_step.T¶
- class step.calibration.calibrate_step.CalibrateStep(store_section: str, store_set: str = 'default', setup_steps: list[step.base.Step] | None = None)¶
Bases:
raccoon.ui.step.UIStep,Generic[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.