add_sweep_count#

SetupCircuit.add_sweep_count(sweep_variable='Freq', start=1, stop=100, count=100, units='GHz', count_type='Linear', override_existing_sweep=True)[source]#

Add a step sweep to existing Circuit Setup. It can be "Linear", "Decade" or "Octave".

Parameters:
sweep_variablestr, optional

Variable that the sweep belongs to. The default is "Freq.

startfloat or str, optional

Start point of the linear count sweep. The default is 1. If a string str is specified, no units are applied.

stopfloat or str, optional

End point of the linear count sweep. The default is 100. If a string is specified, no units are applied.

countint, optional

Number of points. Default is 100.

unitsstr, optional

Sweeps Units. It will be ignored if strings are provided as start_point or end_point.

count_typestr, optional

Count Type. Default is "Linear". It can be also "Decade" or "Octave".

override_existing_sweepbool, optional

Define if existing sweep on the same variable has to be overridden or kept and added to this new sweep.

Returns:
bool

True is succeeded.

References

>>> oModule.EditLinearNetworkAnalysis
>>> oModule.EditDCAnalysis
>>> oModule.EditTransient
>>> oModule.EditQuickEyeAnalysis
>>> oModule.EditVerifEyeAnalysis
>>> oModule.EditAMIAnalysis