add_subrange#
- SetupSBR.add_subrange(range_type, start, end=None, count=None, unit='GHz', clear=False)#
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
intorfloat 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
Truewhen successful,Falsewhen failed.