interfaceMathsToPhysics
¶
Module Contents¶
-
class
InterfaceMathsToPhysics
[source]¶ Interface to transform output from the optimizer to meaningful variables of the device
-
abstract
fromMathsToPhys
(self, xVector, theDevice, opti_variables)[source]¶ Transforms an input vector coming from the optimization (e.g. [0.23, 4, False]) to “meaningful” variable (ex: length, number of poles, flag).
- Parameters
xVector – List of optimization variables from the optimizer
theDevice –
InterfaceDevice
opti_variables – list of
OptimizationVariable
-
abstract