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_variable
str
,optional
Variable that the sweep belongs to. The default is
"Freq
.- start
float
orstr
,optional
Start point of the linear count sweep. The default is
1
. If a stringstr
is specified, no units are applied.- stop
float
orstr
,optional
End point of the linear count sweep. The default is
100
. If a string is specified, no units are applied.- count
int
,optional
Number of points. Default is
100
.- units
str
,optional
Sweeps Units. It will be ignored if strings are provided as start_point or end_point.
- count_type
str
,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.
- sweep_variable
- Returns:
- bool
True
is succeeded.
References
>>> oModule.EditLinearNetworkAnalysis >>> oModule.EditDCAnalysis >>> oModule.EditTransient >>> oModule.EditQuickEyeAnalysis >>> oModule.EditVerifEyeAnalysis >>> oModule.EditAMIAnalysis