# 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 ${\stackrel{^}{u}}_{2}$ direction
2. phase of the field component in the ${\stackrel{^}{u}}_{2}$ direction
3. absolute value of the field component in the ${\stackrel{^}{u}}_{3}$ direction
4. phase of the field component in the ${\stackrel{^}{u}}_{3}$ direction
The data must be formatted in order for the position to first increment along the ${\stackrel{^}{u}}_{2}$ direction.

## Cylindrical Apertures

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

## Spherical Apertures

For spherical apertures it must contain the following six parameters:
1. $\vartheta$ angle
2. $\phi$ angle
3. absolute value of the $\stackrel{^}{\vartheta }$ component
4. phase of the $\stackrel{^}{\vartheta }$ component
5. absolute value of the $\stackrel{^}{\phi }$ component
6. phase of the $\stackrel{^}{\phi }$ component.