Windy days are bad for locking, but good for other side activites. So I sat down to write a script that automatically tune the IMC aungular offsets to reduce to minimum the coupling of jitter to intensity noise. It basically follows the same procedure I performed manually earlier today. The script is attached to the elog entry. You can sae it and run it from terminal. it will open up a plot showing you the progress of the tuning. Run the script with the IMC locked, no IFO and ISS second loop open!
Here is what the script does
The script has a built in check of the IMC power, and it doesn't change any offset if the IMC is not locked. There is no check on the convergence of the error signals, but the script terminates automatically after 10 minutes, which is typically more than enough to find the right offsets. However, you can terminate the script with CTRL+C when you're satisfied withe the results. The excitations will be automatically removed.
I tested the script several times with random starting offsets, and it worked all the times.
The first attached plots show a comparison of IMC transmitted RIN before and after the script was run. The other plots show some examples of the plots generated by the script, showing the tuning in action.