Photonics

Photonics

How to get the list of N-effective using script in lumerical mode ?

    • rajatkumar.sinha
      Subscriber

      I am trying to store the list of values of N-effective of a waveguide using Eigenmodesolver in LUMERICAL MODE  . What is the syntax for that for lumerical sript ?

    • Guilin Sun
      Ansys Employee

      I guess you mean to get neff from FDE ? You can try the following script:

      neff=zeros(5);

      for(i=1:5){

      str = "mode"+num2str(i);

      neff(i)=getdata(str,"neff");

      }

       

Viewing 1 reply thread
  • You must be logged in to reply to this topic.