You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyAEDT ERROR: Cannot reshape array of size 32761 into shape (181,91) on plot_3d
PyAEDT ERROR: Last Electronics Desktop Message - [error] cannot reshape array of size 32761 into shape (181,91) on plot_3d
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
All modules in the pyproject.toml are installed.
The text was updated successfully, but these errors were encountered:
In the SolutionData class, the method plot_3d() applies the method self.mag(curve) by default. This, in turn, returns magnitude, which applies mag() to dB, which only returns positive values and does not return the intended: db(RealizedGainTheta).
The problem is that visualization.report.field.FarField.get_solution_data() returns only the trace from the report that was already created. In this case, the underlying data is db(RealizedGainTheta) so no further operation is required. The method plot_3d() however, applies mag to the underlying data which is incorrect.
Before submitting the issue
Description of the bug
There appear to be multiple errors when trying to plot 3D far-field data using
SolutionData.plot_3d()
curve
isdb(RealizedGainTheta)
theformula
is set tomag
which causes all negative numbers to be positive.Steps To Reproduce
While modifying the simple dipole example, the following code
produces the following error:
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
All modules in the
pyproject.toml
are installed.The text was updated successfully, but these errors were encountered: