add_frequency_sweep#

SimulationSetup.add_frequency_sweep(name=None, frequency_sweep=None)[source]#

Add frequency sweep.

Parameters:
namestr, optional

Name of the frequency sweep. The default is None.

frequency_sweeplist, optional

List of frequency points. The default is None.

Returns:
pyedb.dotnet.edb_core.edb_data.simulation_setup_data.EdbFrequencySweep

Examples

>>> setup1 = edbapp.create_siwave_syz_setup("setup1")
>>> setup1.add_frequency_sweep(frequency_sweep=[
...     ["linear count", "0", "1kHz", 1],
...     ["log scale", "1kHz", "0.1GHz", 10],
...     ["linear scale", "0.1GHz", "10GHz", "0.1GHz"],
...     ])