add_sweep_count#

SetupCircuit.add_sweep_count(sweep_variable='Freq', start_point=1, end_point=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 to which the sweep belongs. Default is "Freq.

start_pointfloat or str, optional

Start Point of Linear Count sweep. If str then no units will be applied.

end_pointfloat or str, optional

End Point of Linear Count sweep. If str then no units will be 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