solves.solve_manager#
Solve Manager Module
Manages the application of solves to an optic.
Kramer Harrison, 2025
Classes
|
Manages the application of solves to an optic. |
- class SolveManager(optic)[source]#
Manages the application of solves to an optic.
- Parameters:
optic (Optic) – The optic object
- Variables:
solves (list) – A list of solve instances.
- Methods:
add (solve_type, surface_idx, *args, **kwargs) – Adds a solve instance to the list of solves.
apply() – Applies all solves in the list.
- add(solve_type, surface_idx=None, *args, **kwargs)[source]#
Adds a solve instance to the list of solves.
- classmethod from_dict(optic, data)[source]#
Creates a SolveManager from a dictionary representation.
- Parameters:
- Returns:
The solve manager.
- Return type: