add_subrange#
- SetupHFSSAuto.add_subrange(range_type, start, end=None, count=None, unit='GHz', clear=False)[source]#
Add a subrange to the sweep.
- Parameters:
- range_type
str
Type of the subrange. Options are
"LinearCount"
,"LinearStep"
, and"LogScale"
.- start
float
Starting frequency.
- end
float
Stopping frequency.
- count
int
orfloat
Frequency count or frequency step.
- unit
str
,optional
Frequency Units.
- clearbool,
optional
Either if the subrange has to be appended to existing ones or replace them.
- range_type
- Returns:
- bool
True
when successful,False
when failed.