add_subrange#

SweepMatrix.add_subrange(range_type, start, end=None, count=None, unit='GHz', clear=False, **kwargs)#

Add a subrange to the sweep.

Parameters:
range_typestr

Type of the subrange. Options are "LinearCount", "LinearStep", and "LogScale".

startfloat

Starting frequency.

endfloat

Stopping frequency. The default is None.

countint or float

Frequency count or frequency step. The default is None.

unitstr, optional

Frequency units.

clearbool, optional

Whether to replace the subrange. The default is False, in which case subranges are appended.

Returns:
bool

True when successful, False when failed.