change_range#

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

Change the range of 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, optional

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

Returns:
bool

True when successful, False when failed.