create_discrete_sweep#
- Q3d.create_discrete_sweep(setupname, freqstart, freqstop=None, freqstep=None, units='GHz', sweepname=None, savefields=False)[source]#
Create a discrete sweep with a single frequency value.
- Parameters:
- setupname
str
Name of the setup that the sweeps belongs to.
- freqstart
float
Starting point for the discrete frequency.
- freqstop
float
,optional
Stopping point for the discrete frequency. If
None
, a single-point sweep is performed.- freqstep
float
,optional
Step point for the discrete frequency. If
None
, 11 points are created.- units
str
,optional
Units of the discrete frequency. For example,
"MHz"
or"GHz"
. The default is"GHz"
.- sweepname
str
,optional
Name of the sweep. The default is
None
, in which case the default name is used.- savefieldsbool,
optional
Whether to save fields. The default is
False
.
- setupname
- Returns:
SweepMatrix
Sweep option.
References
>>> oModule.InsertSweep