create_single_point_sweep#
- Hfss3dLayout.create_single_point_sweep(setupname, unit, freq, sweepname=None, save_fields=False, save_rad_fields_only=False)[source]#
Create a sweep with a single frequency point.
- Parameters:
- setupname
str
Name of the setup.
- unit
str
Unit of the frequency. For example,
"MHz
or"GHz"
.- freq
float
,list
Frequency of the single point or list of frequencies to create distinct single points.
- sweepname
str
,optional
Name of the sweep. The default is
None
.- save_fieldsbool,
optional
Whether to save fields for all points and subranges defined in the sweep. The default is
False
.- save_rad_fields_onlybool,
optional
Whether to save only radiating fields. The default is
False
.
- setupname
- Returns:
pyaedt.modules.SolveSweeps.SweepHFSS
or boolSweep object if successful,
False
otherwise.
References
>>> oModule.AddSweep