InsertSetup [Statistical]

Inserts a new statistical setup.

UI Access Right-click Optimetrics in the project tree, and then click Add > Statistical on the shortcut menu.
Parameters
Name Type Description
<StatisticalParams> Array

["NAME:<SetupName>", "SaveFields:=",

<SaveField>, <StartingPoint>, "MaxIterations:=",

<MaxIter>, "PriorPSetup:=", <PriorSetup>,

"PreSolvePSetup:=", <Preceed>, <StatisticalVars>,

["NAME:Goals", ["NAME:Goal",

<OptiGoalSpec>], …, ["NAME:Goal",

<OptiGoalSpec>]]]

<StatisticalVars> Array

Parameter of <StatisticalParams>:

["NAME:Variables",

"VarName:=", ["i:=", <IncludeVar>, "Dist:=",

<DistType>, "Tol:=", <Tolerance>,

"StdD:=", <StdD>, "Min:=", <MinCutoff>, "Max:=",

<MaxCutoff>, ...]

"VarName:=", ["i:=", <IncludeVar>, "Dist:=",

<DistType>, "Tol:=", <Tolerance>, "StdD:=",

<StdD>, "Min:=", <MinCutoff>, "Max:=",

<MaxCutoff>]]

<DistType> String Parameter of <StatisticalVars>; distribution can be "Gaussian" or "Uniform".
<Tolerance> VarValue Parameter of <StatisticalVars>; the tolerance for the variable when distribution is Uniform
<StdD> VarValue Parameter of <StatisticalVars>; the standard deviation for the variable when distribution is Gaussian.
<MinCutoff> Double Parameter of <StatisticalVars>; the minimum cut-off for the variable when distribution is Gaussian.
<MaxCutoff> Double Parameter of <StatisticalVars>; the maximum cut-off for the variable when distribution is Gaussian.
Return Value None

 

Python Syntax InsertSetup ("OptiStatistical", <StatisticalParams>)
Python Example

oModule.InsertSetup("OptiStatistical",

["NAME:StatisticalSetup1",

"SaveFields:=", true,

["NAME:StartingPoint"],

"MaxIterations:=", 50,

"PriorPSetup:=", "",

["NAME:Variables"],

["NAME:Goals",

["NAME:Goal",

"Solution:=", "Setup1 : LastAdaptive",

"Calculation:=", "returnloss",

"Context:=", "",

["NAME:Ranges",

"Range:=", ["Var:=", "Freq",

"Type:=", "s",

"Start:=", "8GHz", "Stop:=", "8GHz"]]],

["NAME:Goal",

"Solution:=", "Setup1 : LastAdaptive",

"Calculation:=", "reflect",

"Context:=", "",

["NAME:Ranges",

"Range:=", ["Var:=", "Freq", "Type:=",

"s", "Start:=", "8GHz", "Stop:=", "8GHz"]]]

])