Photonics

Photonics

Topics related to Lumerical and more.

Can anyone plz guide that can we hold images for different frequency points on a

    • uzmayaqoob1960
      Subscriber

      a single figure.Justlike in case of plot function we can holdon different plots on a single figure .Plz can nayone guide me in this regard?

    • Dev
      Ansys Employee

      Hello,

      Yes, After visualizing 1st result using " Visulaize" option, you can use "Add to visualize" option to view the 2nd graph.

      or you can use script : add2visualizer - Script command – Ansys Optics

      Regards

      Devika

    • uzmayaqoob1960
      Subscriber

      Dear madam thank you so much.I add result using "add to visulizer one" but first visualizer results get vanished.What ineed is attached in pic for reference.plz guide in this regard

    • Dev
      Ansys Employee

      Can you elaborate a bit more about what 2 graphs you are plotting. A proper screenshot with X-Y axis also will be helpful here.

      plot the result as two graph and send a screenshot. 

       

    • uzmayaqoob1960
      Subscriber

      Sure mam.

      PFA

    • Dev
      Ansys Employee

       

       

      Uzma Yaqoob,

      Thanks for sharing the screenshot of result. Are you rerunning same simulation at another wavelenth here? 

      Also are you using same monitor?

      From what I understand, I can suggest to create another monitor and set the 2nd frequency.

      Then run the simulation and view the 1st frequency result using Monitor 1.

      ”Add to visualize” option to view the 2nd monitor result.

      Let me know if that solved the problem.

       

       

    • uzmayaqoob1960
      Subscriber

      Dear madam i followed what u suggested but in vain plz see in the attachment.

    • Dev
      Ansys Employee

      Please answer these question: 

       Are you rerunning same simulation at another source wavelenth here? 

      With forum we are trying to answer without simulation files so please share maxium informtaion as possible. Thats why I am asking all these questions to understand the simulation.

      You can follow this guidline:

      Ansys Insight: Ansys Innovation Space —- Forum and Feed

       

       

      • uzmayaqoob1960
        Subscriber

        means same file( single)

         is being simulated simultaneously for two different wavelengths by setting freq points.Thanks

    • uzmayaqoob1960
      Subscriber

      No mam i am running the same file for different wavelengths.Like i set source start freq=360nm and end freq=420nm.Then i add monitors and instead of global monitor settings i use override global monior settings with two frequency points .And then i put my file on simulation.Once done i can see the results on freq1 first and then using slider  against lamda i can see the results for freq 2 as my monitors are saving results for both freq points .Now my intent is to see bth frequency results on the same image so that i can differentiate b/w them just like in hold off we can see multiple plots on single plot.I hope this will work.

    • Dev
      Ansys Employee

      Thanks for the explanation. Basically its overlap analysis.

      To calculate the overlap,  you can use mode expansion monitor to get the mode decomposition:
      Using and understanding Mode Expansion Monitors
      Mode expansion monitor - Simulation object - Lumerical Support
      Monitors - Mode Expansion - Setup & Tips - Lumerical Support
      Monitors - Mode Expansion - Results & Applications
      Or the better, simply use port: Ports (FDTD) - Simulation Object
      Port has mode source from FDE, DFT monitor and mode expansion monitor.

      Hope this will solve the problem.

    • Dev
      Ansys Employee

       

      Hello Uzma Yaqoob,

      I discussed with the team. Solution is: “Visualizer cannot hold the plots at two different wavelengths in the same figure. Script will be needed with plotxy, not plot”. 

      Please note: We use pulse and Fourier transform to get frequency-domain results. 

      Sorry for the confusion. 

      Regards

      Devika

       

       

    • uzmayaqoob1960
      Subscriber

      ok many thanks mam .plotxy will hold data for two wavelengths?

    • Dev
      Ansys Employee

      Hello,

      Thanks for the update and I am glad to hear issue is solved. I am closing the post. 

      Thansk for using the forum.

      Regards

      Devika

Viewing 12 reply threads
  • The topic ‘Can anyone plz guide that can we hold images for different frequency points on a’ is closed to new replies.