Load Field Data From an ASCII Text File

When the data is read from an ASCII input file, the data must be given in a specific format.

Note: Each line in the ASCII file represents one point and the values are space delimited.

Planar Apertures

For planar apertures each line (point definition) must contain the following four parameters:
  1. absolute value of the field component in the u ^ 2 direction
  2. phase of the field component in the u ^ 2 direction
  3. absolute value of the field component in the u ^ 3 direction
  4. phase of the field component in the u ^ 3 direction
The data must be formatted in order for the position to first increment along the u ^ 2 direction.

Cylindrical Apertures

For cylindrical apertures each line (point definition) must contain the following five parameters:
  1. angle φ in degrees
  2. absolute value of the φ ^ component
  3. phase of the φ ^ component
  4. absolute value of the z ^ component
  5. phase of the z ^ component.

Spherical Apertures

For spherical apertures it must contain the following six parameters:
  1. ϑ angle
  2. φ angle
  3. absolute value of the ϑ ^ component
  4. phase of the ϑ ^ component
  5. absolute value of the φ ^ component
  6. phase of the φ ^ component.