-
-
August 7, 2024 at 11:20 amtropshmSubscriber
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 pmtropshmSubscriber
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.
- 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
-
1416
-
599
-
591
-
565
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.