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
setupnamestr

Name of the setup that the sweeps belongs to.

freqstartfloat

Starting point for the discrete frequency.

freqstopfloat, optional

Stopping point for the discrete frequency. If None, a single-point sweep is to be performed.

freqstepfloat, optional

Step point for the discrete frequency. If None, 11 points will be created.

unitsstr, optional

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

sweepnamestr, optional

Name of the sweep.

savefieldsbool, optional

Whether to save fields. The default is False.

Returns
SweepQ3D

Sweep option.

References

>>> oModule.InsertSweep