This feature allows BPM to run repeatedly for different parameters.
Values such as wavelength, refractive index, grating period, or even the location of the objects
can be varied for each run. The list of values to be used for each run is
specified via a text file. Each line (row) in the text file corresponds to a
separate BPM run. If the file contains 10 lines (rows), it will result in 10 separate runs
using the values specified in each line.
The first column in each line contains the wavelength, and the second column is named 'a', and the third column is named 'b' etc...
These values are used in objects with the variables
'a', 'b' or 'c' etc.. instead of numeric values.
In other words, if an alphabetic character is used instead
of a numeric value in the object descriptions, the program will look for their values in this user-defined file.
If only the wavelength is being varied, then the text file will have a single column of numbers.
If wavelength and some other parameter are being varied, the text file will have two column. The
maximum number of
columns is 27 (wavelength + a through z).
Example 1
|
Example 2
sw 0.05 1.0 -1.0 a 35.0 b 0.0 -0.5 0.0 0.5 0.0 0.5 1000.0 -0.5 1000.0 will cause the grating height and grating angle to change as specified in columns 'a' and 'b' respectively. |