Skip to content

plotting all possible S parameters on the same create_report() #5062

Closed Answered by libt-pyint
libt-pyint asked this question in Q&A
Discussion options

You must be logged in to vote

I managed to fix it by doing this to get the "expression" wanted if anyone else was intrested

Active_S = add.post.available_report_quantities(
report_category="Active S Parameter",
display_type=None,
solution="Setup1 : Sweep1",
quantities_category="Active S Parameter"
)

list = Active_S
prefix = "dB("
suffix = ")"

final = []
for i in list:
final.append(prefix+i+suffix)
print(final)

add.post.create_report(expressions=final,
setup_sweep_name= "Setup1 : Sweep1",
#primary_sweep_variable="Freq", # default is "Freq"
#secondary_sweep_variable=None, # for 3D plots
report_category="Modal Solution Data",
plot_name="Active S Parameters - Sweep1",
plot_type="Rectangular Plot",
context="2D")

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by libt-pyint
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant