¶meters lat_file = '/nfs/cesr/online/machine_data/lattice/cesr/bmad/cta_2085mev_xr20m_20151208.lat' n_turns = 32768 track6x6 = .true. ! 'false' = only track in 4D n_damping = 100000 ! number of turns to damp before recording data; typically 1.e5 init_vec(1) = 0e-3 init_vec(3) = 0e-3 ! target tunes for q_tuning. comment out or set to zero to use design lattice tunes. ! target_tunes(1) = 14.5701 ! target_tunes(2) = 9.6281 ! target_tunes(3) = -0.0735 output_format = 'separate_files' ! 'one_file' ! 'one_file' for all BPMs or 'separate_files' for each individual BPM !single_bpm = 23 ! uncomment if you want only output for one BPM; good for debugging !! BROKEN 6/30/17 ! tune tracker parameters ! tune tracker initializations: n_TTs = 2 tt_params(1)%log_period = 200 ! record every 200th turn in log file. Set to 0 to record all turns. tt_params(1)%useSaveState = .false. tt_params(1)%orientation = 'h' tt_params(1)%kck_name = 'Q10W' tt_params(1)%bpm_name = 'DET_05W' tt_params(1)%LPinertia = 32768 ! LP filter time constant is LPinertia*fastPeriod. 2^15 = 32768 tt_params(1)%cyc_per_turn = 183 ! Number of times tune tracker cycles per CESR period. Usually 183 tt_params(1)%Ki = 0.2 ! 0.2 ! integrator gain tt_params(1)%Kp = 20.0 ! 20.0 ! proportional gain tt_params(1)%Kvco = 10.0 ! VCO gain. Redundant, because total gain looks like Kvco*(Ki*x + Kp*y + Kd*z) tt_params(1)%modTfrac0 = 0.570 ! 0.567 ! guess of fractional tune. used to compute w0 of modulator tt_params(1)%kickAmplitude = 4.0E-8 tt_params(1)%mixmode = 'sin' !Parameters specific to D channel tt_params(1)%use_D_chan = .false. ! bad? tt_params(1)%Kd = 0.1 ! differential gain tt_params(1)%wls_N = 25 ! Number of data points for LS fit. More DP makes smoother but increases delay tt_params(1)%wls_order = 1 ! Order of fit polynomial. Higher order is more accurate but noisier tt_params(2)%log_period = 200 ! record every 200th turn in log file. Set to 0 to record all turns. tt_params(2)%useSaveState = .false. tt_params(2)%orientation = 'v' tt_params(2)%kck_name = 'Q10W' tt_params(2)%bpm_name = 'DET_05W' tt_params(2)%LPinertia = 32768 ! LP filter time constant is LPinertia*fastPeriod. 2^15 = 32768 tt_params(2)%cyc_per_turn = 183 ! Number of times tune tracker cycles per CESR period. Usually 183 tt_params(2)%Ki = 0.2 ! integrator gain tt_params(2)%Kp = 20. ! 20.0 ! proportional gain tt_params(2)%Kvco = 10.0 ! VCO gain. Redundant, because total gain looks like Kvco*(Ki*x + Kp*y + Kd*z) tt_params(2)%modTfrac0 = 0.628 ! 0.628 ! guess of fractional tune. used to compute w0 of modulator tt_params(2)%kickAmplitude = 3.e-8 ! 5.0E-8 tt_params(2)%mixmode = 'sin' !Parameters specific to D channel tt_params(2)%use_D_chan = .false. tt_params(2)%Kd = 0.0010 ! differential gain tt_params(2)%wls_N = 25 ! Number of data points for LS fit. More DP makes smoother but increases delay tt_params(2)%wls_order = 1 ! Order of fit polynomial. /