Also please see the All Scripts page.

Here are the scripts currently used for locking, and what they do:


In the /cvs/cds/caltech/scripts/c1 directory:

These are scripts for locking the full IFO, not subparts.

c1_watch watches the state of the IFO, by looking at the transmitted arm power. When both arms are seen to have an arm power of 0.5 or greater, it runs the c1_aqstep. While waiting for lock, it tickles the ETMs. If it tickles for a few minutes without seeing a lock, it turns the LSC output off and then on, to break any bad-mode locks. It keeps track of how long it's been trying to lock the IFO, and prompts the user to check on the MC if it's been waiting a long time. After running the c1_aqstep script, it keeps track of how long the IFO has been locked. When it sees a lock loss event, it runs the c1_detdown script. Should just be left running in a terminal.

c1_detdown sets all the filter switches and gains to the lock-acquisition state (low-gain, no common mode, no boosts, etc.) To be run immediately after a lock-loss, or at the very beginning of locking. Called automatically by c1_watch

c1_aqstep to be run immediately after locking. It ramps up gains, turns on boosts, and hands off signals (PRC -> SPDD) (MICH -> APDD) (DARM -> AP166) Called automatically by c1_watch

c1_detstep to be run after c1_aqstep finishes. It hands off CARM to common-mode, then ramps down the CARM offset, engages the analog common mode servo, hands off CARM control to REFL_DC, reduces the offset some more, engages the RF path of the common mode servo (currently from POX33), then reduces the offset the rest of the way. Run by hand. offloadMCF must be running concurrently for c1_detstep to succeed.


In the directory /cvs/cds/caltech/scripts/LSC:

offloadMCF The ultra-low bandwidth common-mode servo. It takes the DC value of MCF and feeds it back to the ETMs.

ETM_tickle Tickles the ETMs until both arm powers go above 0.5. Mostly deprecated by c1_watch, but still occasionally usefull. Watch out for multiple instances!

LSCoffsets Digitally cancels the electronic offsets for all LSC photodiode signals. It makes darkness by mis-aligning the mode-cleaner, so the MC2 YAW TM offset must be enabled (on the main SUS screen for MC2).