Skip to content

Commit

Permalink
Merge branch 'fix/generic_refactor' into fix/high_frequency/antenna
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin-Crawford committed Mar 5, 2025
2 parents bfb9da5 + 3e7f4b0 commit 37d8d46
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ def convert_examples_into_notebooks(app):
"interference.py",
"hfss_emit.py",
"component_conversion.py",
"touchstone_file.py"
)

# NOTE: Only convert the examples if the workflow isn't tagged as coupling HTML and PDF build.
Expand Down
13 changes: 8 additions & 5 deletions examples/aedt_general/report/touchstone_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,25 @@
#
# Keywords: **Touchstone**, **report**.

# ## Perform imports
# Import the required packages.
# ## Prerequisites
#
# ### Perform imports

from ansys.aedt.core import downloads
from ansys.aedt.core.visualization.advanced.touchstone_parser import \
read_touchstone

# ## Download example data
# ### Download example data

example_path = downloads.download_touchstone()

# ## Read the Touchstone file

data = read_touchstone(example_path)

# ## Plot data
# ## Demonstrate post-processing
#
# ### Plot serial channel metrics
#
# Get the curve plot by category. The following code shows how to plot lists of the return losses,
# insertion losses, next, and fext based on a few inputs and port names.
Expand All @@ -34,7 +37,7 @@
data.plot_next_xtalk_losses("U1")
data.plot_fext_xtalk_losses(tx_prefix="U1", rx_prefix="U7")

# ## Identify cross-talk
# ### Visualize cross-talk
#
# Identify the worst case cross-talk.

Expand Down

0 comments on commit 37d8d46

Please sign in to comment.