Skip to content

Commit

Permalink
FIX: AMI reports are not working in all cases. (#5228)
Browse files Browse the repository at this point in the history
Co-authored-by: maxcapodi78 <Shark78>
Co-authored-by: Samuel Lopez <[email protected]>
  • Loading branch information
maxcapodi78 and Samuelopez-ansys authored Oct 2, 2024
1 parent b7d29a4 commit 06cd594
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ansys/aedt/core/visualization/report/eye.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ def __init__(self, app, report_category, setup_name, expressions=None):
self._props["context"]["variations"]["__Amplitude"] = ["All"]
self._props["context"]["variations"]["__EyeOpening"] = ["0"]
self._props["context"]["primary_sweep"] = "__UnitInterval"
self._props["context"]["secondary_sweep"] = "__Amplitude"
self.quantity_type = 0
self.min_latch_overlay = "0"
self.noise_floor = "1e-16"
Expand Down Expand Up @@ -553,6 +552,8 @@ def expressions(self):
new_exprs.append("{}AfterChannel<".format(expr_head) + expr + ".int_ami_rx>")
elif qtype == 3:
new_exprs.append("{}AfterProbe<".format(expr_head) + expr + ".int_ami_rx>")
else:
new_exprs.append(expr)
return new_exprs

@property
Expand Down

0 comments on commit 06cd594

Please sign in to comment.