We have (finally) gotten appropriate FSS OLGs for both paths.
I wrote a script netgpibdata/takeManyMeasurements.py which does exactly what it says it does. It takes one .yml file and runs it as many times as you want. In this way we got overnight measurements of OUT2/EXC.
Then, today I took TFs through OUT2/EXC with the loop open. I will call these measurements Excitation Gain TFs. Excitation Gain TFs must be divided from OUT2/EXC and OUT1/EXC measurements to get accurate OLGs:
OUT2/EXC = EXC_GAIN/(1 - OLG) = CLG
To get OLG data from the Exc Gain TF and CLG, run my script ctn_labdata/scripts/EXC_to_OUT2_OLGwriter.py:
python EXC_to_OUT2_OLGwriter.py EXC_GAIN_TF.txt CLGTFs*.txt
It will print out one OLG txt file for every CLG txt file you put in. It writes the OLGs into another ctn_labdata/data/ directory... works great.
Finally, make a distrbution of your OLGs using ctn_labdata/scripts/TFdistributionPlotter.py:
python TFdistributionPlotter.py OLGTFs*.txt --title 'OLGs from OUT2/EXC with open loop correction' --yAxisLimitPercent 50 --yAxisLimitDegrees 50
This will make a PDF of two merged plots, attached below if you have imagemagick on your computer. It will also automatically produce a tar with all the OLGTFs*.txt data files, the merged plot, and the script itself in it.
North UGF = 300 kHz
South UGF = 400 kHz
Phase margin is probably 180 degrees off...?
North Uncertainty ~ 5 % and 3 degrees
South Uncertainty ~ 10 % and 5 degrees
These seem like really solid measurements of the FSS loop gain. I actually believe them for once. Especially since there are 10 of them for each... we can take 1000 overnight if we feel the need.
I'm gonna try and take like 10 Crossover TFs for both paths, and see where we have "coherence" (read: low uncertainty). Then maybe we can get PZT and EOM TFs we actually believe, or at least ones with uncertainty budgets.