Photonics

Photonics

Topics related to Lumerical and more.

Export reflectance intensity for a range of wavelength

    • SAURAV GAUTAM
      Subscriber

      How can i export reflectance spectrum for range of wavelength from monitor in fdtd?

      thank you

    • SAURAV GAUTAM
      Subscriber

    • Amrita Pati
      Ansys Employee

      Hi Saurav,

      Please refer to the following video for information on different data export methods.
      Plotting and Exporting Data in Ansys Lumerical FDTD — Lesson 5, Part 2

      Let me know if you have any further questions or if you face any issuses. Thank you!

      Regards,
      Amrita

    • SAURAV GAUTAM
      Subscriber

      Hi Thank you for support.

      I am trying to get power in rnge of wavelength but monitor visualization has option for only one wavelength. I want to export for whole range of wavelength.

       

    • Amrita Pati
      Ansys Employee

      Hi Saurav,

      You are welcome! Are you trying to export the figures? Or are you trying to export the data into a text/MATLAB file? I would also like to add that P is the Poynting Vector.

      Regards,
      Amrita

       

    • SAURAV GAUTAM
      Subscriber

      Thank you for reply.

      I want to export power and wavelengths in nearfield instead of farfield as in the code in this picture. i am trying to get in text file.

    • SAURAV GAUTAM
      Subscriber

      f_power_norm = f_power_array/f_hemisphere_array*transmission(mname); # get fraction of power in cone, then * monitor transmission, for each frequencny

       

    • Amrita Pati
      Ansys Employee

      Hi Saurav,

      Thank you for providing more information. You can write this variable (f_power_norm) into a text file using the write script command.
      For example:
      write("power.txt",num2str(f_power_norm));

      It will write the data into a text file called "power.txt", which will be saved in the same directory. I believe the variable would have the power for different wavelengths, but not the wavelength itself. So, you can either add it to the same variable from the monitor and then write the variable. Or you can append the wavelegths at the end of file. Please let me know if you face any issues.

      Regards,
      Amrita

    • SAURAV GAUTAM
      Subscriber

      Thank you!!

Viewing 8 reply threads
  • The topic ‘Export reflectance intensity for a range of wavelength’ is closed to new replies.