Photonics

Photonics

Topics related to Lumerical and more.

How to access cell group sequence via script in EME setup?

    • Vahram Voskerchyan
      Subscriber

      How to access the cell group sequence via script to modify the periods and do the sweeps?

      Please help.

    • Guilin Sun
      Ansys Employee

      I did some tests, and found that the following script works:

      set("number of periodic groups",3);

      set('periods',[100;500;100]);

      set('start cell group', [1;3;5]);

      set('end cell group', [2;3;6]);

      this will create a device of cell1-cell2 with 100 periods, cell 3 with 500 periods, and cell-5-cell6 with 100 perdiods.

       

      Please test and see if it works for you. You may use matrix variables instead of something like this  [100;500;100]. eg, period=[100;500;100], then

      set('periods',period);

      • Vahram Voskerchyan
        Subscriber

        Thanks a lot that worked.

Viewing 1 reply thread
  • The topic ‘How to access cell group sequence via script in EME setup?’ is closed to new replies.