optimization.variable.base
Base Variable Module
This module contains the base class for a variable in an optic system. The VariableBehavior class is an abstract class that represents the behavior of a variable in an optic system. It is used as a base class for all variables in the optimization process.
Kramer Harrison, 2024
Classes
|
Represents the behavior of a variable in an optic system. |
- class VariableBehavior(optic, surface_number, scaler: Scaler = None, **kwargs)[source]
Represents the behavior of a variable in an optic system.
- Parameters:
- _surfaces
The group of surfaces in the optic system.
- Type:
- surface_number
The surface number of the variable.
- Type:
int
- inverse_scale(scaled_value)[source]
Inverse scale the value of the variable.
- Parameters:
scaled_value – The scaled value to inverse scale