I wrote a script to measure a genereric sensing matrix, and today we tested it for the pitch degree of freedom in the DRMI configuration.
The script (attached) configuration is at the beginning of the python file. One has to set
When lauched, the script switches on the excitation one at a time (GPS times are saved to a log file for future reference).
When all line injections are done, the script reads the data and compute the sensing matrix. Basically, it's the value of the transfer function (error signals) / (monitoring channels).
The output is saved to an HTML file that contains three tables:
For reference, the attached script shows the configuration we used to measure the ASC pitch sensing matrix in DRMI. Beware that the excitation amplitudes are no more correct, since we changed some of the loop filters. We were injecting the lines at the error point of the ASC loops, monitor the mirror motions using local sensors (optical levers and OSEMs) and considering all the corner WFS and QPD.
The result, copied directly from the output of the script, follows:
Excitation: | H1:ASC-INP1_P_EXC | H1:ASC-PRC1_P_EXC | H1:ASC-PRC2_P_EXC | H1:ASC-MICH_P_EXC | H1:ASC-SRC1_P_EXC | H1:ASC-SRC2_P_EXC |
Monitor channel: | H1:SUS-IM4_M1_DAMP_P_IN1_DQ | H1:SUS-PRM_M3_WIT_P_DQ | H1:SUS-PR2_M3_WIT_P_DQ | H1:SUS-BS_M3_OPLEV_PIT_OUT_DQ | H1:SUS-SRM_M3_WIT_P_DQ | H1:SUS-SR2_M3_WIT_P_DQ |
H1:ASC-AS_A_DC_PIT_OUT_DQ | 3.062772e-04 | 1.308504e-02 | 1.599586e-01 | 7.239452e-01 | 2.759093e-02 | 4.099397e-01 |
H1:ASC-AS_A_RF36_I_PIT_OUT_DQ | 1.398160e+01 | 1.316537e+03 | 1.578303e+04 | 9.029336e+04 | 1.570010e+02 | 3.301743e+03 |
H1:ASC-AS_A_RF36_Q_PIT_OUT_DQ | 6.746817e+00 | 3.035582e+02 | 5.726719e+03 | 4.153521e+04 | 1.390885e+02 | 8.572075e+02 |
H1:ASC-AS_A_RF45_I_PIT_OUT_DQ | 4.246601e-02 | 7.636087e-01 | 2.735677e+01 | 2.317140e+02 | 4.174106e-01 | 8.294923e-01 |
H1:ASC-AS_A_RF45_Q_PIT_OUT_DQ | 3.428675e-01 | 2.274124e+00 | 6.390298e+01 | 5.869589e+02 | 1.318774e+00 | 7.536647e+00 |
H1:ASC-AS_B_DC_PIT_OUT_DQ | 4.954872e-04 | 2.036731e-02 | 3.095982e-01 | 2.619712e-01 | 2.881970e-02 | 2.686478e-01 |
H1:ASC-AS_B_RF36_I_PIT_OUT_DQ | 9.879976e+00 | 6.497347e+02 | 9.329001e+03 | 1.941450e+04 | 3.688978e+02 | 3.039940e+03 |
H1:ASC-AS_B_RF36_Q_PIT_OUT_DQ | 1.101666e+01 | 6.517765e+02 | 1.050429e+04 | 6.593645e+04 | 1.144001e+02 | 1.023056e+03 |
H1:ASC-AS_B_RF45_I_PIT_OUT_DQ | 1.497788e-01 | 2.095391e+00 | 2.623814e+01 | 2.546882e+02 | 4.157929e-01 | 3.132555e+00 |
H1:ASC-AS_B_RF45_Q_PIT_OUT_DQ | 2.856239e-01 | 5.803661e+00 | 7.863482e+01 | 7.422417e+02 | 6.369013e-01 | 5.909849e+00 |
H1:ASC-REFL_A_DC_PIT_OUT_DQ | 3.031960e-02 | 2.218249e-02 | 3.167858e-03 | 4.360550e-02 | 1.807425e-04 | 3.594463e-03 |
H1:ASC-REFL_A_RF9_I_PIT_OUT_DQ | 1.885653e+03 | 8.204535e+03 | 9.568087e+04 | 9.036242e+04 | 1.009528e+02 | 1.049232e+03 |
H1:ASC-REFL_A_RF9_Q_PIT_OUT_DQ | 1.502084e+02 | 5.480348e+03 | 2.584926e+04 | 8.328979e+04 | 2.726941e+02 | 1.703162e+03 |
H1:ASC-REFL_A_RF45_I_PIT_OUT_DQ | 5.534044e+02 | 2.665851e+03 | 3.234797e+04 | 3.048747e+04 | 9.800903e+01 | 1.857876e+02 |
H1:ASC-REFL_A_RF45_Q_PIT_OUT_DQ | 3.256084e+02 | 1.729180e+03 | 2.507616e+04 | 6.951679e+04 | 1.950647e+02 | 1.461824e+03 |
H1:ASC-REFL_B_DC_PIT_OUT_DQ | 2.995474e-02 | 2.140030e-02 | 1.073631e-02 | 2.968312e-02 | 1.790571e-04 | 2.865467e-03 |
H1:ASC-REFL_B_RF9_I_PIT_OUT_DQ | 1.888484e+03 | 3.683219e+03 | 7.230188e+04 | 7.017821e+04 | 7.514153e+01 | 7.316645e+02 |
H1:ASC-REFL_B_RF9_Q_PIT_OUT_DQ | 6.850399e+02 | 7.996832e+02 | 1.992327e+04 | 1.979510e+04 | 2.881363e+01 | 2.372888e+02 |
H1:ASC-REFL_B_RF45_I_PIT_OUT_DQ | 9.100061e+02 | 1.491887e+03 | 3.275482e+04 | 3.102083e+04 | 1.179242e+02 | 1.172602e+03 |
H1:ASC-REFL_B_RF45_Q_PIT_OUT_DQ | 3.439186e+02 | 6.199600e+02 | 1.197997e+04 | 2.840415e+04 | 1.794039e+01 | 2.245831e+02 |
H1:ASC-POP_A_PIT_OUT_DQ | 7.025264e-04 | 4.415185e-02 | 5.070906e-01 | 5.280591e-01 | 6.501653e-04 | 5.898504e-03 |
H1:ASC-POP_B_PIT_OUT_DQ | 5.107510e-05 | 2.358157e-03 | 1.860580e-01 | 2.104740e-01 | 3.414036e-04 | 3.811518e-03 |
Excitation: | H1:ASC-INP1_P_EXC | H1:ASC-PRC1_P_EXC | H1:ASC-PRC2_P_EXC | H1:ASC-MICH_P_EXC | H1:ASC-SRC1_P_EXC | H1:ASC-SRC2_P_EXC |
Monitor channel: | H1:SUS-IM4_M1_DAMP_P_IN1_DQ | H1:SUS-PRM_M3_WIT_P_DQ | H1:SUS-PR2_M3_WIT_P_DQ | H1:SUS-BS_M3_OPLEV_PIT_OUT_DQ | H1:SUS-SRM_M3_WIT_P_DQ | H1:SUS-SR2_M3_WIT_P_DQ |
H1:ASC-AS_A_DC_PIT_OUT_DQ | 0.988137 | 0.985230 | 0.989461 | 0.962663 | 0.999903 | 0.977300 |
H1:ASC-AS_A_RF36_I_PIT_OUT_DQ | 0.956151 | 0.983146 | 0.986444 | 0.960848 | 0.978571 | 0.977279 |
H1:ASC-AS_A_RF36_Q_PIT_OUT_DQ | 0.965016 | 0.982512 | 0.988722 | 0.961682 | 0.980870 | 0.959752 |
H1:ASC-AS_A_RF45_I_PIT_OUT_DQ | 0.025429 | 0.537353 | 0.950206 | 0.871059 | 0.303856 | 0.015887 |
H1:ASC-AS_A_RF45_Q_PIT_OUT_DQ | 0.536801 | 0.921131 | 0.981766 | 0.957955 | 0.340908 | 0.214701 |
H1:ASC-AS_B_DC_PIT_OUT_DQ | 0.993369 | 0.998057 | 0.990768 | 0.943421 | 0.999911 | 0.977075 |
H1:ASC-AS_B_RF36_I_PIT_OUT_DQ | 0.988057 | 0.993952 | 0.990648 | 0.958964 | 0.999421 | 0.977389 |
H1:ASC-AS_B_RF36_Q_PIT_OUT_DQ | 0.934066 | 0.964996 | 0.983851 | 0.959488 | 0.976075 | 0.968860 |
H1:ASC-AS_B_RF45_I_PIT_OUT_DQ | 0.178328 | 0.936000 | 0.980561 | 0.940284 | 0.364477 | 0.371312 |
H1:ASC-AS_B_RF45_Q_PIT_OUT_DQ | 0.164912 | 0.959428 | 0.984485 | 0.959573 | 0.089785 | 0.220242 |
H1:ASC-REFL_A_DC_PIT_OUT_DQ | 0.999588 | 0.996139 | 0.043664 | 0.043582 | 0.010111 | 0.030592 |
H1:ASC-REFL_A_RF9_I_PIT_OUT_DQ | 0.999604 | 0.995678 | 0.991684 | 0.952868 | 0.902932 | 0.800400 |
H1:ASC-REFL_A_RF9_Q_PIT_OUT_DQ | 0.976304 | 0.996477 | 0.987391 | 0.946792 | 0.984859 | 0.917608 |
H1:ASC-REFL_A_RF45_I_PIT_OUT_DQ | 0.999690 | 0.998768 | 0.991334 | 0.943726 | 0.955531 | 0.408579 |
H1:ASC-REFL_A_RF45_Q_PIT_OUT_DQ | 0.999662 | 0.992324 | 0.989136 | 0.951663 | 0.945094 | 0.942145 |
H1:ASC-REFL_B_DC_PIT_OUT_DQ | 0.999905 | 0.999023 | 0.731681 | 0.074269 | 0.145013 | 0.059855 |
H1:ASC-REFL_B_RF9_I_PIT_OUT_DQ | 0.999879 | 0.990372 | 0.991615 | 0.963266 | 0.945012 | 0.923767 |
H1:ASC-REFL_B_RF9_Q_PIT_OUT_DQ | 0.999771 | 0.991174 | 0.991517 | 0.957066 | 0.957403 | 0.865581 |
H1:ASC-REFL_B_RF45_I_PIT_OUT_DQ | 0.999830 | 0.996785 | 0.991099 | 0.961315 | 0.986098 | 0.968717 |
H1:ASC-REFL_B_RF45_Q_PIT_OUT_DQ | 0.999706 | 0.988581 | 0.986927 | 0.892979 | 0.489798 | 0.658931 |
H1:ASC-POP_A_PIT_OUT_DQ | 0.999252 | 0.999675 | 0.991473 | 0.964031 | 0.983863 | 0.963465 |
H1:ASC-POP_B_PIT_OUT_DQ | 0.949563 | 0.950274 | 0.991037 | 0.961478 | 0.986652 | 0.969635 |
Excitation: | H1:ASC-INP1_P_EXC | H1:ASC-PRC1_P_EXC | H1:ASC-PRC2_P_EXC | H1:ASC-MICH_P_EXC | H1:ASC-SRC1_P_EXC | H1:ASC-SRC2_P_EXC |
Monitor channel: | H1:SUS-IM4_M1_DAMP_P_IN1_DQ | H1:SUS-PRM_M3_WIT_P_DQ | H1:SUS-PR2_M3_WIT_P_DQ | H1:SUS-BS_M3_OPLEV_PIT_OUT_DQ | H1:SUS-SRM_M3_WIT_P_DQ | H1:SUS-SR2_M3_WIT_P_DQ |
H1:ASC-AS_A_DC_PIT_OUT_DQ | 2.400813e-04 + 1.901753e-04i | 1.057464e-02 + 7.706832e-03i | -1.037812e-01 + -1.217219e-01i | 6.855901e-01 + 2.325143e-01i | -2.458066e-02 + -1.253198e-02i | -2.178446e-01 + -3.472669e-01i |
H1:ASC-AS_A_RF36_I_PIT_OUT_DQ | 7.367526e+00 + 1.188296e+01i | 1.072863e+03 + 7.630422e+02i | -9.279713e+03 + -1.276679e+04i | 8.509161e+04 + 3.020445e+04i | 1.566120e+02 + -1.104561e+01i | 2.226237e+03 + 2.438314e+03i |
H1:ASC-AS_A_RF36_Q_PIT_OUT_DQ | -5.927281e+00 + 3.222867e+00i | -1.342201e+02 + 2.722729e+02i | 5.040274e+03 + -2.718631e+03i | 3.532141e+04 + 2.185342e+04i | 1.382782e+02 + -1.499217e+01i | 8.457699e+02 + -1.395638e+02i |
H1:ASC-AS_A_RF45_I_PIT_OUT_DQ | -3.118888e-02 + 2.882040e-02i | 1.297688e-01 + 7.525014e-01i | 1.379792e+01 + -2.362224e+01i | 1.355422e+02 + 1.879354e+02i | 3.791152e-01 + 1.746520e-01i | -6.665205e-02 + 8.268101e-01i |
H1:ASC-AS_A_RF45_Q_PIT_OUT_DQ | 3.425249e-01 + 1.532305e-02i | -2.239026e+00 + -3.980013e-01i | -8.457695e-01 + 6.389739e+01i | -5.465077e+02 + -2.141263e+02i | -1.249054e+00 + 4.231168e-01i | -7.531948e+00 + 2.661016e-01i |
H1:ASC-AS_B_DC_PIT_OUT_DQ | 4.437036e-04 + 2.205326e-04i | 1.925677e-02 + 6.633550e-03i | -2.786639e-01 + -1.348980e-01i | 6.397636e-02 + -2.540392e-01i | 2.623815e-02 + 1.192204e-02i | 1.488172e-01 + 2.236629e-01i |
H1:ASC-AS_B_RF36_I_PIT_OUT_DQ | -9.518330e+00 + -2.648644e+00i | -5.913346e+02 + -2.692185e+02i | 8.878856e+03 + 2.862895e+03i | 1.854465e+04 + 5.746176e+03i | -2.879315e+02 + -2.306101e+02i | -9.070800e+02 + -2.901455e+03i |
H1:ASC-AS_B_RF36_Q_PIT_OUT_DQ | 5.947845e+00 + 9.273075e+00i | 6.319927e+02 + 1.593673e+02i | -6.063422e+03 + -8.577586e+03i | 6.432574e+04 + 1.448502e+04i | -5.982271e+00 + -1.142436e+02i | 3.997221e+02 + -9.417352e+02i |
H1:ASC-AS_B_RF45_I_PIT_OUT_DQ | -1.281255e-01 + 7.757271e-02i | 1.503643e+00 + 1.459355e+00i | -5.575491e+00 + -2.563892e+01i | 2.492321e+02 + 5.243523e+01i | 2.559986e-02 + -4.150041e-01i | 2.183281e+00 + -2.246371e+00i |
H1:ASC-AS_B_RF45_Q_PIT_OUT_DQ | -1.089341e-01 + -2.640348e-01i | -1.812647e+00 + -5.513329e+00i | -2.867356e+01 + 7.322063e+01i | -6.284730e+02 + -3.948979e+02i | -3.024703e-01 + 5.604953e-01i | -5.700986e+00 + 1.557263e+00i |
H1:ASC-REFL_A_DC_PIT_OUT_DQ | -2.898179e-02 + -8.906973e-03i | 2.130068e-02 + 6.192245e-03i | -2.078250e-03 + 2.390857e-03i | -3.216447e-02 + 2.944295e-02i | -9.164278e-05 + -1.557866e-04i | -3.611082e-04 + -3.576278e-03i |
H1:ASC-REFL_A_RF9_I_PIT_OUT_DQ | -1.784205e+03 + -6.101639e+02i | 7.348431e+03 + 3.648967e+03i | -8.406378e+04 + -4.569583e+04i | 7.917085e+04 + 4.355849e+04i | 6.951952e+01 + -7.320183e+01i | 1.049223e+03 + 4.391769e+00i |
H1:ASC-REFL_A_RF9_Q_PIT_OUT_DQ | -1.430354e+02 + -4.586354e+01i | 2.768119e+02 + -5.473352e+03i | -1.915070e+04 + -1.736189e+04i | 8.306201e+04 + -6.155553e+03i | 2.576704e+02 + -8.926382e+01i | 1.657987e+03 + 3.896668e+02i |
H1:ASC-REFL_A_RF45_I_PIT_OUT_DQ | -5.239058e+02 + -1.782671e+02i | 2.409013e+03 + 1.141674e+03i | -2.807985e+04 + -1.605968e+04i | 2.291818e+04 + 2.010580e+04i | 9.765371e+01 + -8.337978e+00i | 1.338400e+02 + 1.288561e+02i |
H1:ASC-REFL_A_RF45_Q_PIT_OUT_DQ | -3.076020e+02 + -1.067795e+02i | 1.710158e+03 + 2.557790e+02i | -2.347522e+04 + -8.816330e+03i | 5.496048e+04 + -4.256676e+04i | 2.416425e+01 + -1.935622e+02i | 9.059198e+02 + -1.147275e+03i |
H1:ASC-REFL_B_DC_PIT_OUT_DQ | -2.860916e-02 + -8.877073e-03i | 2.052134e-02 + 6.070187e-03i | 8.726729e-03 + 6.254009e-03i | -2.965336e-02 + 1.328822e-03i | -8.865024e-05 + 1.555717e-04i | -2.336700e-04 + -2.855923e-03i |
H1:ASC-REFL_B_RF9_I_PIT_OUT_DQ | 1.784262e+03 + 6.186924e+02i | 3.163290e+03 + 1.886717e+03i | -6.322966e+04 + -3.506525e+04i | 6.127872e+04 + 3.420381e+04i | 4.722716e+01 + -5.844523e+01i | 6.687861e+02 + -2.967459e+02i |
H1:ASC-REFL_B_RF9_Q_PIT_OUT_DQ | 6.472227e+02 + 2.244604e+02i | 7.246411e+02 + 3.382137e+02i | -1.739500e+04 + -9.713433e+03i | 1.763465e+04 + 8.992499e+03i | 2.440373e+01 + -1.531938e+01i | 2.371086e+02 + 9.247071e+00i |
H1:ASC-REFL_B_RF45_I_PIT_OUT_DQ | 8.614635e+02 + 2.932437e+02i | 1.385504e+03 + 5.532685e+02i | -2.898717e+04 + -1.525195e+04i | 2.987666e+04 + 8.347272e+03i | -8.448151e+01 + -8.227385e+01i | -3.870511e+02 + -1.106882e+03i |
H1:ASC-REFL_B_RF45_Q_PIT_OUT_DQ | 3.243431e+02 + 1.143748e+02i | 5.386464e+02 + 3.069373e+02i | -9.339987e+03 + -7.502296e+03i | 2.425395e+04 + 1.478315e+04i | -5.871099e+00 + -1.695252e+01i | 1.017386e+02 + -2.002169e+02i |
H1:ASC-POP_A_PIT_OUT_DQ | 6.529757e-04 + 2.591640e-04i | 4.168347e-02 + 1.455592e-02i | -4.503261e-01 + -2.331250e-01i | 4.881129e-01 + 2.014750e-01i | 4.122090e-04 + -5.027908e-04i | 5.547998e-03 + -2.003016e-03i |
H1:ASC-POP_B_PIT_OUT_DQ | 5.054742e-05 + -7.322883e-06i | 2.354002e-03 + -1.399139e-04i | 1.644376e-01 + 8.705098e-02i | -1.865487e-01 + -9.746228e-02i | 2.008770e-04 + 2.760523e-04i | 6.095859e-04 + 3.762456e-03i |