arrayMathsToPhysics¶
Module Contents¶
Classes¶
-
class
ArrayMathsToPhysics[source]¶ Bases:
optimeed.optimize.mathsToPhysics.interfaceMathsToPhysics.InterfaceMathsToPhysicsEvaluate array M2P. Only use it if specifically needed
-
fromMathsToPhys(list_of_xvector, theDevice, theOptimizationVariables)[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
-