Definitely, you can. However, it seems you are simulating a fiber cavity? where the source is located? inside the cavity or outside? dipole or mode source or Gaussian source.
Once you get the E-field from the 3D monitor, you can integrate along Z only. related scripts are
getresult eg E3D=getresult("monitor","E")
dot operation Ez3D=E3D.Ez #Ez
E2=E3D.E2; # intensity
integrate eg integrate(E2,3,z);
Please search online if you want to get more informtation for each script.
Please Login to Report Topic
Please Login to Share Feed