The attached Jupyter notebook will do the following:
-Set up our 'standard' multiinstument setup, with laser lock box, frequency response analyzer, digital filter box, and spectrum analyzer
-Configure the digital filter box to perform a sum and all-pass filter
-Configure the laser lock box to perform a sweep of the laser frequency and record the transmission and PDH error signal
- Find the voltage at which the transmission is maximized
-Set the offset to that voltage
-turn off the scan
-turn on the controller
It locks! You may have to run the bottom of the script repeatedly in order to aquire lock, but it hits eventually. Lock is lost if you attempt the handover to the iPad, but can be quickly reacquired.