CfgFrequencySweep#
- class pyedb.configuration.cfg_setup.CfgSetupAC.CfgFrequencySweep(name: str = '', **kwargs)#
Bases:
pyedb.configuration.cfg_common.CfgBaseModelBase Pydantic model used by typed configuration payload classes.
Overview#
Append a pre-built |
|
Append a linear-count frequency range to this sweep. |
|
Append a logarithmic-count frequency range to this sweep. |
|
Append a linear-step frequency range to this sweep. |
|
Append a logarithmic-step frequency range to this sweep. |
|
Append a single discrete frequency point to this sweep. |
Import detail#
from pyedb.configuration.cfg_setup.CfgSetupAC import CfgFrequencySweep
Attribute detail#
- CfgFrequencySweep.type: Literal['discrete', 'interpolation', 'interpolating'] = None#
- CfgFrequencySweep.frequencies: list[CfgFrequencies | str] = None#
Method detail#
- CfgFrequencySweep.add_frequencies(freq: CfgFrequencies)#
Append a pre-built
CfgFrequenciesrange to this sweep.- Parameters:
- freq
CfgFrequencies Fully constructed frequency-range object to append.
- freq
- CfgFrequencySweep.add_linear_count_frequencies(start, stop, count)#
Append a linear-count frequency range to this sweep.
- Parameters:
- Returns:
CfgFrequencySweepself — enables method chaining.
Examples
>>> sw = hfss.add_frequency_sweep("sw") >>> sw.add_linear_count_frequencies("1GHz", "10GHz", 100)
- CfgFrequencySweep.add_log_count_frequencies(start: str | float, stop: str | float, count: int)#
Append a logarithmic-count frequency range to this sweep.
- CfgFrequencySweep.add_linear_scale_frequencies(start: str | float, stop: str | float, step: str | float)#
Append a linear-step frequency range to this sweep.