7.19 correct_tunes
- type: setup command.
- function: set up for correction of the tunes.
- sequence: should follow twiss_output.
- Command syntax, including use of equations and subcommands, is discussed in 7.2.
&correct_tunes
STRING quadrupoles = NULL;
STRING lower_limits = NULL;
STRING upper_limits = NULL;
STRING exclude = NULL;
double tune_x = 0;
double tune_y = 0;
long n_iterations = 5;
double correction_fraction = 0.9;
double tolerance = 0;
long step_up_interval = 0;
double max_correction_fraction = 0.9;
double delta_correction_fraction = 0.1;
long update_orbit = 0;
STRING strength_log = NULL;
long change_defined_values = 0;
long use_perturbed_matrix = 0;
double dK1_weight = 1;
STRING response_matrix_output = NULL;
STRING correction_matrix_output = NULL;
long fse_units = 0;
&end