Stricter Gating for the TDCFs
2 unresolved threads
2 unresolved threads
Compare changes
Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
Files
7+ 328
− 103
@@ -20,24 +20,24 @@
where C is the static portion of the sensing function, A_tst is the TST actuation function, A_pu is the PUM+UIM actuation, \kappa_c is the time-dependent gain of the sensing function, \kappa_tst is the time-dependent gain of TST actuation, and \kappa_pu is the time-dependent gain of the PUM/UIM actuation. \Delta L_{ext} is divided by the average arm length (4000 m) to obtain h(t), the external strain in the detectors,
where C is the static portion of the sensing function, A_tst is the TST actuation function, A_pu is the PUM+UIM actuation, \kappa_c is the time-dependent gain of the sensing function, \kappa_tst is the time-dependent gain of TST actuation, and \kappa_pu is the time-dependent gain of the PUM/UIM actuation. \Delta L_{ext} is divided by the average arm length (4000 m) to obtain h(t), the external strain in the detectors,
This pipeline will most often be run in a format where it picks up after part of the actuation and sensing functions have been applied to the appropriate channels. In this mode, the input channels are \Delta L_{res} and \Delta L_{ctrl, i}. This pipeline then applies further high frequency corrections to each of these channels, applies the appropriate time delay to each channel, adds the channels together, and divides by L.
This pipeline will most often be run in a format where it picks up after part of the actuation and sensing functions have been applied to the appropriate channels. In this mode, the input channels are \Delta L_{res} and \Delta L_{ctrl, i}. This pipeline then applies further high frequency corrections to each of these channels, applies the appropriate time delay to each channel, adds the channels together, and divides by L.
@@ -57,6 +57,7 @@ import numpy
@@ -156,7 +157,7 @@ if options.version and options.config_file is None:
@@ -263,7 +264,7 @@ epics_sr = int(SampleRates["epicsrefsr"]) # Sample rate for EPICS records used f
@@ -371,6 +372,7 @@ compute_kappac = Config.getboolean("TDCFConfigurations", "computekappac")
@@ -383,6 +385,7 @@ apply_srcq = Config.getboolean("TDCFConfigurations", "applysrcq")
@@ -528,15 +531,6 @@ try:
@@ -789,31 +783,47 @@ if not factors_from_filters_file:
@@ -993,6 +1003,7 @@ if (ChannelNames["linewitnesschannellist"] != "None") if "linewitnesschannellist
@@ -1153,6 +1164,7 @@ for key in headkeys:
@@ -1167,36 +1179,70 @@ for key in headkeys:
@@ -1205,7 +1251,7 @@ if compute_kappatst or compute_exact_kappas or compute_kappac or compute_fcc or
@@ -1214,7 +1260,7 @@ if compute_kappapum or compute_exact_kappas or (compute_kappac or compute_fcc or
@@ -1237,6 +1283,44 @@ if compute_exact_kappas and (compute_kappatst or compute_kappapum or compute_kap
@@ -1250,6 +1334,10 @@ if compute_exact_kappas and (compute_kappatst or compute_kappapum or compute_kap
@@ -1267,6 +1355,10 @@ if compute_exact_kappas and (compute_kappatst or compute_kappapum or compute_kap
@@ -1286,6 +1378,10 @@ if compute_exact_kappas and (compute_kappatst or compute_kappapum or compute_kap
@@ -1303,6 +1399,10 @@ if compute_exact_kappas and (compute_kappatst or compute_kappapum or compute_kap
@@ -1320,6 +1420,10 @@ if compute_exact_kappas and (compute_kappatst or compute_kappapum or compute_kap
@@ -1451,6 +1555,17 @@ elif compute_kappatst or compute_kappapum or compute_kappauim or compute_kappac
@@ -1476,6 +1591,19 @@ if not compute_exact_kappas and (compute_kappatst or compute_kappac or compute_f
@@ -1527,6 +1655,19 @@ if not compute_exact_kappas and (compute_kappapum or (compute_kappac or compute_
@@ -1576,6 +1717,19 @@ if not compute_exact_kappas and (compute_kappauim or (compute_kappac or compute_
@@ -1640,9 +1794,39 @@ if not compute_exact_kappas and (compute_kappac or compute_fcc or compute_fs or
@@ -1667,9 +1851,40 @@ if not compute_exact_kappas and (compute_kappac or compute_fcc or compute_fs or
@@ -1686,21 +1901,8 @@ if not compute_exact_kappas and (compute_kappac or compute_fcc or compute_fs or
pcal_at_src_freq = calibration_parts.demodulate(pipeline, pcaltee, src_pcal_line_freq, td, compute_factors_sr, demodulation_filter_time, filter_latency_factor, prefactor_real = pcal_sign * pcal_corr_at_src_freq_real, prefactor_imag = pcal_sign * pcal_corr_at_src_freq_imag, freq_update = [head_dict["pcal4_linefreq"], head_dict["pcal4_line_corr_real"], head_dict["pcal4_line_corr_imag"]] if "pcal4_linefreq" in head_dict else None)
@@ -1709,20 +1911,50 @@ if not compute_exact_kappas and (compute_fs or compute_srcq):
Xi = calibration_parts.compute_Xi_from_filters_file(pipeline, pcal_at_src_freq, derr_at_src_freq, src_pcal_line_freq, C0_f1_re, C0_f1_im, D_f1_re, D_f1_im, AT_f1_re, AT_f1_im, AP_f1_re, AP_f1_im, AU_f1_re, AU_f1_im, esd_act_line_freq, ktst, apply_complex_kappatst, pum_act_line_freq, kpum, apply_complex_kappapum, uim_act_line_freq, kuim, apply_complex_kappauim, kc, fcc)
Xi = calibration_parts.compute_Xi_from_filters_file(pipeline, pcal_at_act_pcal_freq, derr_at_act_pcal_freq, act_pcal_line_freq, C0_f1_re, C0_f1_im, D_f1_re, D_f1_im, AT_f1_re, AT_f1_im, AP_f1_re, AP_f1_im, AU_f1_re, AU_f1_im, esd_act_line_freq, ktst, apply_complex_kappatst, pum_act_line_freq, kpum, apply_complex_kappapum, uim_act_line_freq, kuim, apply_complex_kappauim, kc, fcc)
@@ -1734,11 +1966,9 @@ if not compute_exact_kappas and (compute_fs or compute_srcq):
@@ -1753,23 +1983,18 @@ median_smoothing_samples, factors_average_samples)
@@ -1788,7 +2013,7 @@ median_smoothing_samples, factors_average_samples)
@@ -1952,7 +2177,7 @@ elif test_filters:
@@ -2395,28 +2620,28 @@ if compute_calib_statevector:
@@ -2427,16 +2652,16 @@ if compute_calib_statevector:
@@ -2460,7 +2685,7 @@ if compute_calib_statevector:
@@ -2520,7 +2745,7 @@ if compute_calib_statevector:
srcQSmoothInRange = calibration_parts.compute_kappa_bits_only_real(pipeline, fs_over_Q, fs_over_Q_default, fs_squared_var / src_pcal_line_freq, median_smoothing_samples + int((sensing_filter_update_time + sensing_filter_averaging_time) * compute_factors_sr), factors_average_samples, status_out_smooth = pow(2,fs_over_Q_smooth_bitnum), starting_rate = compute_factors_sr, ending_rate = calibstate_sr)
srcQSmoothInRange = calibration_parts.compute_kappa_bits_only_real(pipeline, fs_over_Q, fs_over_Q_default, fs_squared_var / act_pcal_line_freq, median_smoothing_samples + int((sensing_filter_update_time + sensing_filter_averaging_time) * compute_factors_sr), factors_average_samples, status_out_smooth = pow(2,fs_over_Q_smooth_bitnum), starting_rate = compute_factors_sr, ending_rate = calibstate_sr)