I am tring to make automation code to control the nominal values by the script.
For the simulator, I want to set the probability of the values. However, it doesnt seem to work.
How can I control categorized values probability with the script ?
prf = Profiler(
Y( :Pred Formula Eye Height, :Pred Formula Eye Width ),
Profiler(
1,
Term Value(
Duty Cycle(0.48, Lock( 0 ), Show( 1 )),
Random Jitter(0.04, Lock( 0 ), Show( 1 )),
Deterministic Jitter(0, Lock( 0 ), Show( 1 )),
Process Variation("Normal", Lock( 0 ), Show( 1 )),
Temperature(11.25, Lock( 0 ), Show( 1 )),
Voltage(1.0, Lock( 0 ), Show( 1 ))
),
Simulator(
1,
Factors(
Duty Cycle << Random( Normal( 0.48, 0.08 ) ),
Random Jitter << Random( Normal( 0.04, 0.05 ) ),
Deterministic Jitter << Random( Normal( 0, 0 ) ),
Process Variation << Distribution( {"Fast", "Slow", "Normal"}, [0.33, 0.33, 0.34] ),
Temperature << Random( Normal( 11.25, 2 ) ),
Voltage << Random( Normal( 1.0, 0.05 ) )
),
Responses(
Pred Formula Eye Height << No Noise,
Pred Formula Eye Width << No Noise
)
)
)
);