Skip to content
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

Bug 3386 patch example update #3566

Merged
merged 87 commits into from
Sep 21, 2023
Merged

Conversation

Devin-Crawford
Copy link
Contributor

Devin-Crawford and others added 30 commits May 8, 2023 10:28
assert should not be used in productive code.
Allow material to be cloned and parameterized.
AEDT throws a strange error when creating the patch.
AEDT throws a strange error when creating the patch.
Conductors with parametric conductivitiy were always returned as dielectrics.
filesystem.Scratch.copyfile()
FileNotFoundError if the path passed to Scratch() doesn't exist.
Added some comments and improved docstrings to help understand the code.
Method str_to_bool added to DataHandlers.py

use map() to convert strings to Boolean when the diff pair arguments are passed to EditDiffPairs in Hfss in the method `set_differential_pair`
Adopted suggestions from @PipKat.
# Conflicts:
#	examples/02-HFSS/Machine_learning_applied_to_Patch.py
Use the Stackup3D class. Note that the original ML Patch example had to be removed.
Devin-Crawford and others added 5 commits September 19, 2023 11:40
Resolved inconsistencies in the way dielectric properties are handled.
Simplify assignment of sr for choke.
_unittest/test_20_HFSS.py Outdated Show resolved Hide resolved
_unittest/test_20_HFSS.py Outdated Show resolved Hide resolved
@@ -178,6 +178,8 @@ def materials(self):
Materials in the project.

"""

# Instantiate an instance of self._materials the first time it is accessed.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can move this comment into the property description.

pyaedt/hfss.py Outdated Show resolved Hide resolved
Co-authored-by: Massimo Capodiferro <[email protected]>
@Devin-Crawford Devin-Crawford removed the request for review from Alberto-DM September 21, 2023 07:47
@Devin-Crawford
Copy link
Contributor Author

Add probe-fed patch example.

@Devin-Crawford Devin-Crawford enabled auto-merge (squash) September 21, 2023 08:07
@Devin-Crawford Devin-Crawford merged commit bd51f96 into main Sep 21, 2023
9 of 11 checks passed
@Devin-Crawford Devin-Crawford deleted the bug-3386-patch_example_update branch September 21, 2023 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants