optimization.variable.thickness#
Thickness Variable Module
This module contains the ThicknessVariable class, which represents a variable for the thickness of an optic surface. The class inherits from the VariableBehavior class.
Kramer Harrison, 2024
Classes
|
Represents a variable for the thickness of an optic surface. |
- class ThicknessVariable(optic, surface_number, scaler=None, **kwargs)[source]#
Represents a variable for the thickness of an optic surface.
- Parameters:
- Variables:
- Methods:
get_value() – Returns the current thickness value of the surface.
update_value (new_value) – Updates the thickness value of the surface.
- get_value()[source]#
Returns the current thickness value of the surface.
- Returns:
The current thickness value.
- Return type:
- inverse_scale(scaled_value)#
Inverse scale the value of the variable.
- Parameters:
scaled_value – The scaled value to inverse scale
- scale(value)#
Scale the value of the variable for improved optimization performance.
- Parameters:
value – The value to scale