Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Photonics

Photonics

Topics related to Lumerical and more.

Using Script to Extract Loss and TE fraction from Mode List after Calculating Modes

    • mwhitby
      Subscriber

      I did FDE analysis for my simulation. Then I calculated the modes and got a data table inside the Eigensolver Analysis Tab called Mode List. From this data I would like to extract the loss and the TE polarization fraction. Ideally I would like to be able to extract these values and assign them to variable names, however it would also work if I can export the full data table to a .csv file. Is there any way to do this in the script?

      Currently in the script I have:

      run;

      findmodes;

      What I would like to do right after this is have something like:

      mode1_TE_frac = put command here to extract the TE polarization fraction for mode 1


      Is this possible? I tried using the getdata(); command but it didn't work out.

    • Guilin Sun
      Ansys Employee
Viewing 1 reply thread
  • The topic ‘Using Script to Extract Loss and TE fraction from Mode List after Calculating Modes’ is closed to new replies.
[bingo_chatbox]