{pname}: Name of the parameter from the above list which is to be varied
IVAL: Initial value of this parameter
FVAL: Final value of this parameter
FACT,STEP: Variables which control the step size for the optimization. The value of the parameter PNAME is updated at each step following the equation
new value = (old value) * FACT + STEP
ACCAV, ACCMAX, THRESH: The optimization is stopped when, for two subsequent runs, both the average percentage difference between the S matrices (or the moduli of the Smatrices) is smaller than ACCAV and the maximum percentage difference between the S matrices (or between the moduli of the Smatrices) is smaller than ACCMAX. In this comparison all S-matrix elements of magnitude less than THRESH are neglected. If THRESH is positive, or zero, then the comparison involves the moduli of the S-matrix elements. If THRESH is negative, then the comparison involves both the real and imaginary parts of the S matrix.
The optimization is performed only for Jtot = JTOT1
Values for {pname}, IVAL, and FVAL must be given. If values for the other variables are omitted (see below), then default values are assigned as follows:
0.5, if FVAL < IVAL