AddSweep (Layout Editor)

Adds a sweep to a setup.

UI Access From the Project Manager window, right-click a setup and select Add Frequency Sweep.
Parameters
Name Type Description
<SetupName> String Name of the setup.
<Parameters> Array A structured array containing the name and parameters for the new frequency sweep.
Return Value None

 

Python Syntax oModule.AddSweep(<SetupName>, [<Parameters>])
Python Example

oModule.AddSweep("Q3D1",

[

"NAME:Sweep1",

[

"NAME:Properties",

"Enable:=" , "true"

],

[

"NAME:Sweeps",

"Variable:=" , "Sweep1",

"Data:=" , "LIN 10MHz 100MHz 10MHz",

"OffsetF1:=" , False,

"Synchronize:=" , 0

],

"GenerateSurfaceCurrent:=", False,

"SaveRadFieldsOnly:=" , False,

"ZoSelected:=" , False,

"SAbsError:=" , 0.005,

"ZoPercentError:=" , 1,

"GenerateStateSpace:=" , False,

"EnforcePassivity:=" , False,

"PassivityTolerance:=" , 0.0001,

"UseQ3DForDC:=" , False,

"ResimulateDC:=" , False,

"MaxSolutions:=" , 250,

"InterpUseSMatrix:=" , True,

"InterpUsePortImpedance:=", True,

"InterpUsePropConst:=" , True,

"InterpUseFullBasis:=" , True,

"AdvDCExtrapolation:=" , False,

"MinSolvedFreq:=" , "0.01GHz",

"AutoSMatOnlySolve:=" , True,

"MinFreqSMatrixOnlySolve:=", "1MHz",

"CustomFrequencyString:=", "",

"AllEntries:=" , False,

"AllDiagEntries:=" , False,

"AllOffDiagEntries:=" , False,

"MagMinThreshold:=" , 0.01,

"InterpMinSubranges:=" , 1,

"InterpMinSolutions:=" , 0,

"FreqSweepType:=" , "kDiscrete"

])