Open the edb in AEDT and you can see that the sweep says "Interpolating" but should have been "Discrete"
Unable to set adaptive_sampling and enforce_causality
Using sweep.adaptive_sampling = True gives the below error:
AttributeError: 'HFSSPISimulationSetup' object has no attribute '_edb_setup_info'
Same error for sweep.enforce_causality = True
Getter and setter not available for "Fast sweep" setting.
The setting "Fast sweep" in pic below needs a getter and setter in SweepData class
Before submitting the issue
Description of the bug
Unable to create HFSS-PI setup and sweep successfully.
Steps To Reproduce
I have found three issues here:
Unable to create discrete sweep:
Open the edb in AEDT and you can see that the sweep says "Interpolating" but should have been "Discrete"
Unable to set adaptive_sampling and enforce_causality Using
sweep.adaptive_sampling = True
gives the below error:AttributeError: 'HFSSPISimulationSetup' object has no attribute '_edb_setup_info'
Same error for
sweep.enforce_causality = True
The setting "Fast sweep" in pic below needs a getter and setter in SweepData class
Which Operating System are you using?
Windows
Which Python version are you using?
3.9
Installed packages
annotated-types==0.7.0 ansys-pythonnet==3.1.0rc3 cffi==1.16.0 clr-loader==0.2.6 numpy==1.26.4 pandas==2.2.2 pycparser==2.22 pydantic==2.8.2 pydantic_core==2.20.1 pyedb==0.19.0 python-dateutil==2.9.0.post0 pytz==2024.1 pywin32==306 Rtree==1.3.0 six==1.16.0 toml==0.10.2 typing_extensions==4.12.2 tzdata==2024.1