Based on Ushiba-san's request, I started to develop the script to perform the validation test of WFS sensing matrix. I will restart the code writing on Monday.
Details
- Script: /users/Commissioning/scripts/asc/validation_test_WFS_sensingmatrix.py
- Usage
- /users/Commissioning/scripts/asc$ ./validation_test_WFS_sensingmatrix.py --wfs PRC1_P
- The other WFS dof are also selectable. You can see them by -h option.
Steps in the script
- Read the current WFS sensing matrix values. If you want to add the WFS sensing matrix to read, add them in the dirctionary of `dict_channels`,
- Read the past data of the channels whose the sensing matrix has the non-zero value. The GPS time to read the data should be fixed as the time when the excitationw as done. So, the GPS time is specified in the script. Please edit it as necesary.
- Compute the reconstructed WFS signal
where A_i is the sensing matrix value and x_i(t) is the RFPD signal for WFS. - Plots the data, such as timeseries, spectrum, coherence.
- The genrated plots are stored in /users/Commissioning/data/ASC/2024/sensingmatrix/0927/fig . The directory path is decideded by the date of running the script.
I finished the implementation until the spectrum. I attached the plots. I will implement the coherence on Monday if possible.