-
-
December 12, 2024 at 8:07 am
-
December 13, 2024 at 9:52 amNiki PapachristouAnsys Employee
Hi Subscriber,Â
Thank you for reaching out to us!
I believe the error occurs because T is a "dataset" type data.
With the following icon:
​
That is, T contains not only the transmission data but also the corresponded wavelength data.
Because log10 could only load matrix type data, this error occurs.
The solution is to load the matrix from the dataset.Â
More information about dataset.
You may try the following commands :Â
Trans = getresult("FDTD::ports::port 2", "T");
T_=Trans.T;Â Â Â Â Â Â # get transmission matrix from a dataset
Loss=-10*log10(T_);
f=Trans.f;Â Â Â Â Â Â Â # get frequency array
plot(c/f*1e6,Loss, "wavelength","dB");Let me know if that helped.
Kind Regards,
Niki
-
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Ansys Innovation Space
Trending discussions
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- How to measure transmission coefficients on a given plane .
- Topology Optimization Error
Top Contributors
-
1426
-
599
-
591
-
565
-
366
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.