add_subrange

SweepHFSS3DLayout.add_subrange(rangetype, start, end=None, count=None, unit='GHz')[source]

Add a subrange to the sweep.

Parameters
rangetypestr

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

startfloat

Starting frequency.

endfloat, optional

Stopping frequency. Mandatory for "LinearCount", "LinearStep", and "LogScale".

countint or float, optional

Frequency count or frequency step. Mandatory for "LinearCount", "LinearStep", and "LogScale".

unitstr

Unit of the frequency. For example, "MHz or "GHz". The default is "GHz".

Returns
bool

True when successful, False when failed.