navigate.controller.autofocus_calibration.AutofocusCalibrationController
- class navigate.controller.autofocus_calibration.AutofocusCalibrationController(parent_controller: Any)
Bases:
objectProcess autofocus completion metadata independently of popup lifetime.
- __init__(parent_controller: Any) → None
Create a calibration event processor.
- Parameters:
parent_controller (Any) – Main controller that owns configuration and event listeners.
Methods
__init__(parent_controller)Create a calibration event processor.
handle_autofocus_complete(payload)Apply autofocus completion metadata to defocus calibration state.
write_channel_defocus(channel_key, defocus)Write one defocus value and notify the channels controller.
- handle_autofocus_complete(payload: dict) → None
Apply autofocus completion metadata to defocus calibration state.
- Parameters:
payload (dict) – Completed autofocus channel, position, and calibration action.
- write_channel_defocus(channel_key: str, defocus: float) → None
Write one defocus value and notify the channels controller.