Extensions
- class lys_instr.PreCorrection.PreCorrector(controllers)[source]
Bases:
QObjectCorrector that manages inter-axis dependencies and applies value corrections.
This class automatically applies configured correction callables whenever controller axis targets change. Correction parameters are stored in
_correctParams, which maps a target axis name to a callable that computes the corrected value from current master-axis parameters. The corrector expects controllers passed to the constructor to provide abusyStateChangedQt signal and anameListiterable of axis names (typically motors).- property controllers
Controller instances.
- Returns:
Mapping of axis name (str) to controller instance.
- Return type:
dict
- property corrections
Configured correction callables.
- Returns:
Mapping of target name to correction callable (typically
_FunctionCombination) that computes the corrected value.- Return type:
dict