With the great success of the ASC high gain seismic guardian state that TJ has been testing, 87788, we have decided to use the ASC high gain script for a different purpose, to damp the 1 Hz oscillation at the beginning of the lock.
From various testing, it appears that the pitch ASC is the likely culprit of this problem, but it's still not clear which loop in particular. So, now this script is designed to transition the pitch ASC only to the high bandwidth configuration. This is done in all one step, where CHARD P, DHARD P and DSOFT P are all transitioned to HBW. However, there is a 20 second time.sleep at the end of the script because that is the longest ramp of the filters that are changed. After this sleep, the script will print "Done!". The reverse happens for the "go back" script.
I would prefer if we could use this script for now to avoid the 1 Hz oscillation, as a way to test what effects the oscillation. If the script does not work, then I recommend using the seismic guardian high gain state, which will also transition the yaw ASC and turn of the LSC FF.