Added the load_knobs command, which allows loading knob definitions that link changes
in multiple elements to a user-defined handle. The handle can be used in alter_elements,
error_element, optimization_variable, and vary_element.
Added the undulator_brightness command, which computes the x-ray brightness of a
specified undulator at a specified photon energy, typically for the periodic lattice functions and
equilibrium emittance computed by twiss_output. The results are available for optimization.
The moments_output command now optionally includes the effect of elastic gas scattering.
The coupled_twiss command now supplies alphax1, alphax2, alphay1, and alphay2 in the
output file, along with other quantities needed for progagation-based calculations.
The coupled_twiss command now supports propagation of coupled lattice functions by
setting matched=0.
The correct_coupling, compute_coupling_response_matrix, and
load_coupling_response_matrix commands were added, supplying a method of correcting
coupling using the vertical dispersion response to (typically) skew quadrupoles.
The correct_lattice, compute_lattice_response_matrix, and
load_lattice_response_matrix commands were added, supplying a method of correcting
the linear lattice functions (βx, βy, ηx) at selected BPMs by adjusting (typically) normal
quadrupoles, against a user-supplied design-twiss reference file.
The correct, correct_tunes, correct_chromaticity, correct_coupling, and
correct_lattice commands all have a reset_correctors_each_step qualifier that can be
used to force correctors back to the initial values at the start of each step. Previous versions
would automatically propagate the previous corrector strengths into the next step. This is
almost certainly not what is wanted in most cases, in light of which we decided to change the
default behavior.
The twiss_output command now computes the equilibrium polarization and self-polarization
time when radiation_integrals=1.
The parallel_optimization_setup command now allows selection of the randomsample
method. If selected, each processor uses a different random sequence.