Home Forums GRATING 3D Previews of the LPG cladding mode field

Viewing 1 reply thread
  • Author
    Posts
    • #45467
      Felipe Souza
      Participant

      Hello,
      I would like to know about the “3D Preview of the field” in OptiGrating (found at MODE PARAMETERS > VIEW).
      It allow us to export a field file *.f3d, which is a txt file. I want to plot the exported field, however, i do not understand the information of the txt file.
      Can somebody help me?
      Thank you

    • #45478
      Steve Dods
      Participant

      This text file begins with some data about the size of the window and the number of points in the X axis (NX) and the number in Y (NY). The optical data follows one mesh point at a time as

      Z1 complex number z data point with coordinates (xmin, ymin)
      Z2 complex number z data point with coordinates (xmin+dx, ymin)
      Z3 complex number z data point with coordinates (xmin+2dx, ymin)
      ZNX complex number z data point with coordinates (xmax, ymin)
      ZNX+1 complex number z data point with coordinates (xmin, ymin+dy)
      … …
      ZN last complex number z data point with coordinates (xmax, ymax),
      N=NXxNY

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