-
-
August 7, 2024 at 11:20 amtropshmBbp_participant
I have farfield calculation that I do and I get the results in sphere like shape and when I take the information out its in U,V coordinates
when I try to convert it back to theta and phi its come out wrong as can seen in the pictures I will upload.
the first is the output in sphere shape and then in the theta phi coordinates with the scripts code.
"
load("Name.fsp");
E2 = farfield3d("T",1,2000,2000);
ux = farfieldux("T",1,2000,2000);
uy = farfielduy("T",1,2000,2000);theta = linspace(-90,90,2000);
phi = linspace(0,90,500);
Theta = meshgridx(theta,phi);
Phi = meshgridy(theta,phi);
E2_angle = farfieldspherical(E2,ux,uy,Theta,Phi);
E2_angle = reshape(E2_angle, [length(theta), length(phi)]);
image(theta, phi, E2_angle, "theta","phi","E2");"
-
August 12, 2024 at 8:30 amNiki PapachristouAnsys Employee
Hi David,
Thank you for reaching out to us and posting your question here. To be honest I am a little bit confused on what you are trying to achieve here. The second image is from our vizualiser while the first is from your script?
I think that if you try to create a polar graph as it is on he second image you will get the same results.Kind Regards,
Niki
-
August 28, 2024 at 1:34 pmtropshmBbp_participant
The images swichted off, the second one is indded from the visualizer and than I want to get the position and width of the beam in theta and phi and when I use the script given in the lumerical examples I am getting the first image and it contain wrong information in the phi axis deos it not?
Tnx
-
-
- You must be logged in to reply to this topic.
- Ansys Insight:使用Checkpoint继续仿真被迫中断或已经仿真结束的文件
- 怎么修改生成远场图片的横纵坐标以及坐标标签的字体大小
- INTERCONNECT – No results unless rerun simulation until it gives any
- EME得到的S参数与监视器结果不一致的问题
- 如何直观计算3db带宽
- INTERCONNECT – obtain power output over time & check for SNR
- varFDTD半导体激光器建模方向及反射率设置问题
- Inverse Design Freezing Issue
- Calculation of correlation values in laser modulation bandwidth simulation
- Import material .txt file with script
-
421
-
192
-
178
-
162
-
141
© 2024 Copyright ANSYS, Inc. All rights reserved.