diff --git a/_unittest/test_00_EDB.py b/_unittest/test_00_EDB.py index ed80e4eebd3..b3df33be11d 100644 --- a/_unittest/test_00_EDB.py +++ b/_unittest/test_00_EDB.py @@ -2292,9 +2292,9 @@ def test_131_siwave_ac_simulation_setup(self): assert not sweep.enforce_dc_and_causality assert sweep.enforce_passivity assert sweep.freq_sweep_type == "kInterpolatingSweep" - assert sweep.interp_use_full_basis - assert sweep.interp_use_port_impedance - assert sweep.interp_use_prop_const + assert sweep.interpolation_use_full_basis + assert sweep.interpolation_use_port_impedance + assert sweep.interpolation_use_prop_const assert sweep.max_solutions == 250 assert sweep.min_freq_s_mat_only_solve == "1MHz" assert not sweep.min_solved_freq @@ -2312,9 +2312,9 @@ def test_131_siwave_ac_simulation_setup(self): sweep.enforce_dc_and_causality = True sweep.enforce_passivity = False sweep.freq_sweep_type = "kDiscreteSweep" - sweep.interp_use_full_basis = False - sweep.interp_use_port_impedance = False - sweep.interp_use_prop_const = False + sweep.interpolation_use_full_basis = False + sweep.interpolation_use_port_impedance = False + sweep.interpolation_use_prop_const = False sweep.max_solutions = 200 sweep.min_freq_s_mat_only_solve = "2MHz" sweep.min_solved_freq = "1Hz" @@ -2332,9 +2332,9 @@ def test_131_siwave_ac_simulation_setup(self): assert sweep.enforce_dc_and_causality assert not sweep.enforce_passivity assert sweep.freq_sweep_type == "kDiscreteSweep" - assert not sweep.interp_use_full_basis - assert not sweep.interp_use_port_impedance - assert not sweep.interp_use_prop_const + assert not sweep.interpolation_use_full_basis + assert not sweep.interpolation_use_port_impedance + assert not sweep.interpolation_use_prop_const assert sweep.max_solutions == 200 assert sweep.min_freq_s_mat_only_solve == "2MHz" assert sweep.min_solved_freq == "1Hz" diff --git a/pyaedt/edb_core/edb_data/simulation_setup.py b/pyaedt/edb_core/edb_data/simulation_setup.py index 8ae538d7eec..6e5f33dac95 100644 --- a/pyaedt/edb_core/edb_data/simulation_setup.py +++ b/pyaedt/edb_core/edb_data/simulation_setup.py @@ -384,7 +384,7 @@ def interpolation_use_full_basis(self): return self._edb_sweep_data.InterpUseFullBasis @property - def interp_use_port_impedance(self): + def interpolation_use_port_impedance(self): """Whether to turn on the port impedance interpolation. Returns @@ -395,7 +395,7 @@ def interp_use_port_impedance(self): return self._edb_sweep_data.InterpUsePortImpedance @property - def interp_use_prop_const(self): + def interpolation_use_prop_const(self): """Flag indicating if propagation constants are used. Returns @@ -406,7 +406,7 @@ def interp_use_prop_const(self): return self._edb_sweep_data.InterpUsePropConst @property - def interp_use_s_matrix(self): + def interpolation_use_s_matrix(self): """Flag indicating if the S matrix is used. Returns @@ -545,23 +545,23 @@ def freq_sweep_type(self, value): self._edb_sweep_data.FreqSweepType = edb_freq_sweep_type.kNumSweepTypes self._edb_sweep_data.FreqSweepType.ToString() - @interp_use_full_basis.setter - def interp_use_full_basis(self, value): + @interpolation_use_full_basis.setter + def interpolation_use_full_basis(self, value): self._edb_sweep_data.InterpUseFullBasis = value self._update_sweep() - @interp_use_port_impedance.setter - def interp_use_port_impedance(self, value): + @interpolation_use_port_impedance.setter + def interpolation_use_port_impedance(self, value): self._edb_sweep_data.InterpUsePortImpedance = value self._update_sweep() - @interp_use_prop_const.setter - def interp_use_prop_const(self, value): + @interpolation_use_prop_const.setter + def interpolation_use_prop_const(self, value): self._edb_sweep_data.InterpUsePropConst = value self._update_sweep() - @interp_use_s_matrix.setter - def interp_use_s_matrix(self, value): + @interpolation_use_s_matrix.setter + def interpolation_use_s_matrix(self, value): self._edb_sweep_data.InterpUseSMatrix = value self._update_sweep()