This guide help you to create a calibrated modal amplitude for modal history push-pull.
The first step is to perform an AO calibration with a modal history based on a old modal amplitude. If there are no previous modal amplitudes you can use a constant vector, for example 1. The Interaction Matrix object record also the RMS slopes for each modes and each WFS. It is possible to use this vector to calibrate the modal amplitude to get a new modal history and a new Interaction Matrix where each modes is measure with the same RMS value.
If RMS slopes is too small (dominated by noise) or too large (signal saturation) it is possible to adjust the Modal Amplitude dividing the vector for a "constantFactor".
To get the new Modal Amplitude:
im=argos.aarbCalibrationManager.aoLoopLgswInteractionMatrix(INT_MAT_TAG, argos.lgsw.calibrationManager)
oldMA= argos.aarbCalibrationManager.aoLoopModalAmplitude(OLD_MODAL_AMP_TAG)
newMA= (oldMA/np.mean(im._rms_slopes,1)*np.mean(im._rms_slopes[:150]))/constantFactor
For example MODAL_AMP_TAG 20151211_164800_rms0.10 should provide on LGSW a constant slopes RMS of 0.1 for each modes.
--
TommasoMazzoni - 24 Feb 2018