create_frequency_sweep#

Q3d.create_frequency_sweep(setupname, units=None, freqstart=0, freqstop=1, freqstep=None, sweepname=None)[source]#

Create a frequency sweep.

Parameters:
setupnamestr

Name of the setup that is attached to the sweep.

unitsstr, optional

Units of the frequency. For example, "MHz" or "GHz". The default is None which takes the Default Desktop units.

freqstartfloat, str, optional
Starting frequency of the sweep. The default is 0.

If a unit is passed with the number, such as "1MHz", the unit is ignored.

freqstopfloat, str, optional

Stopping frequency of the sweep. The default is 1. If a unit is passed with the number, such as``”1MHz”``, the unit is ignored.

freqstepoptional

Frequency step point.

sweepnamestr, optional

Name of the sweep. The default is None, in which case the default name is used.

Returns:
pyaedt.modules.SolveSweeps.SweepHFSS3DLayout

Sweep object when successful, False when failed.

References

>>> oModule.InsertSweep