add_subrange#

SweepHFSS3DLayout.add_subrange(range_type, start, end=None, count=None, unit='GHz')#

Add a subrange to the sweep.

Parameters:
range_typestr

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

startfloat

Starting frequency.

endfloat, optional

Stopping frequency. The default is None. A value is required for these subranges: "LinearCount", "LinearStep", and "LogScale".

countint or float, optional

Frequency count or frequency step. The default is None. A value is required for these subranges: "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.