7.20 compute_coupling_response_matrix

&compute_coupling_response_matrix  
    STRING filename = NULL;  
    STRING cross_filename = NULL;  
    STRING correction_elements = NULL;  
    STRING items = NULL;  
    STRING exclude = NULL;  
    STRING bpm_name_pattern = NULL;  
    STRING bpm_type_pattern = "MONI";  
    STRING cross_h_steering = NULL;  
    STRING cross_v_steering = NULL;  
    STRING cross_x_bpm_name_pattern = NULL;  
    STRING cross_x_bpm_type_pattern = "MONI HMON";  
    STRING cross_y_bpm_name_pattern = NULL;  
    STRING cross_y_bpm_type_pattern = "MONI VMON";  
    double cross_steering_kick = 1e-5;  
    double response_perturbation = 1e-6;  
    double measurement_noise = 0.0;  
    double cross_measurement_noise = 0.0;  
    double measurement_noise_cutoff = 3.0;  
    long verbosity = 0;  
&end

The values of correction_elements and items are recorded verbatim in the saved file as the CorrectionElements and CorrectionItems SDDS parameters (the joined whitespace-separated family lists), and the resolved per-knob inventory is recorded explicitly through the element names, occurrences, and the per-knob KnobParameter column. A subsequent correct_coupling (whether in this run or a later one via load_coupling_response_matrix) can therefore omit correction_elements / items entirely and inherit them from the file. If they are supplied on correct_coupling they must agree with the values recorded in the matrix file, or the run is aborted with an explicit diagnostic. The exclude, bpm_name_pattern, and bpm_type_pattern values are recorded implicitly through the resolved BPM and knob inventories. A previously-built response matrix can be downsized using the program sddsprocess to reduce the number of correction elements or observation locations.

compute_lattice_response_matrix