-
Notifications
You must be signed in to change notification settings - Fork 162
Refactor optimetrics #974
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor optimetrics #974
Conversation
Codecov Report
@@ Coverage Diff @@
## main #974 +/- ##
==========================================
- Coverage 80.75% 80.63% -0.12%
==========================================
Files 128 130 +2
Lines 38170 38432 +262
==========================================
+ Hits 30825 30991 +166
- Misses 7345 7441 +96 |
LGTM. I have checked all the new methods and now is more aligned to the other pyAEDT classes. Nice improvement. I have detected one issue, if we specify a different Setup than the default, this tab is not updated: This is a problem because the parametric / optimization won't work. Maybe you know where to update this value in the code assert setup1.add_calculation(calculation="dB(S(1,1))", ranges={"Freq": "2.5GHz"}, solution="MySetupForSweep : LastAdaptive") |
examples/00-EDB/00_EDB_Create_VIA.py
Outdated
@@ -8,7 +8,7 @@ | |||
############################################################################### | |||
# Import the EDB Layout Object | |||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
# This example imports the EDB layout object and initializes it on version 2021.2. | |||
# This example imports the EDB layout object and initializes it on version 2022R2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maxcapodi78 Bellow we are mentioning 2022.1 in edb()
initializer.
# This example imports the EDB layout object and initializes it on version 2022R2. | |
# This example imports the EDB layout object and initializes it on version 2022R1. |
examples/00-EDB/01_edb_example.py
Outdated
@@ -35,11 +35,11 @@ | |||
# Launch EDB | |||
# ~~~~~~~~~~ | |||
# This example launches the :class:`pyaedt.Edb` class. | |||
# This example uses EDB 2021.2 and uses SI units. | |||
# This example uses EDB 2022R2 and uses SI units. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# This example uses EDB 2022R2 and uses SI units. | |
# This example uses EDB 2022R1 and uses SI units. |
@@ -8,7 +8,7 @@ | |||
############################################################################### | |||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |||
# This example imports the `Hfss3dlayout` object and initializes it on version | |||
# 2021.2. | |||
# 2022R2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# 2022R2. | |
# 2022R1. |
examples/00-EDB/02_edb_to_ipc2581.py
Outdated
@@ -38,9 +38,9 @@ | |||
# Launch EDB | |||
# ~~~~~~~~~~ | |||
# This example launches the :class:`pyaedt.Edb` class. | |||
# This example uses EDB 2021.2 and uses SI units. | |||
# This example uses EDB 2022R2 and uses SI units. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# This example uses EDB 2022R2 and uses SI units. | |
# This example uses EDB 2022R1 and uses SI units. |
examples/00-EDB/05_Plot_nets.py
Outdated
@@ -31,9 +31,9 @@ | |||
# Launch EDB | |||
# ~~~~~~~~~~ | |||
# This example launches the :class:`pyaedt.Edb` class. | |||
# This example uses EDB 2021.2 and uses SI units. | |||
# This example uses EDB 2022R2 and uses SI units. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# This example uses EDB 2022R2 and uses SI units. | |
# This example uses EDB 2022R1 and uses SI units. |
@@ -21,10 +21,10 @@ | |||
############################################################################### | |||
# Launch AEDT in Graphical Mode | |||
# ----------------------------- | |||
# This example launches AEDT 2021.2 in graphical mode. | |||
# This example launches AEDT 2022R2 in graphical mode. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# This example launches AEDT 2022R2 in graphical mode. | |
# This example launches AEDT 2022R1 in graphical mode. |
Returns | ||
------- | ||
object | ||
Aedt Object if Any. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aedt Object if Any. | |
Aedt Object if any. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.