M. Todd, C. Compton, S. Dwyer
By adding a few lines of code to the SQZ_MANAGER.py, we zero the BLRMS when we are not injecting squeezing which serves only to make the BLRMS plots a little nicer. But basically it switches off the inputs and sets the OFFSET to one so the log calculation is zero-d. Then this effect is removed anytime we open the beam-diverter.
This change was svn commited in addition with some other sqz_manager changes, see alog SQZ Guardian redudancy removal
def zero_blrms():
log(f'Zeroing SQZ BLRMS by adding H1:SQZ-DCPD_SUM/NULL_LP_X_OFFSETs. Turning off input.')
for i in range(6):
ezca.get_LIGOFilter(f'SQZ-DCPD_SUM_LP_{i+1}').switch_off('INPUT')
ezca.get_LIGOFilter(f'SQZ-DCPD_NULL_LP_{i+1}').switch_off('INPUT')
ezca.get_LIGOFilter(f'SQZ-DCPD_SUM_LP_{i+1}').switch_on('OFFSET')
ezca.get_LIGOFilter(f'SQZ-DCPD_NULL_LP_{i+1}').switch_on('OFFSET')
return
def restore_blrms():
log(f'Restoring SQZ BLRMS by zeroing H1:SQZ-DCPD_SUM/NULL_LP_X_OFFSETS. Turning on input.')
for i in range(6):
ezca.get_LIGOFilter(f'SQZ-DCPD_SUM_LP_{i+1}').switch_off('OFFSET')
ezca.get_LIGOFilter(f'SQZ-DCPD_NULL_LP_{i+1}').switch_off('OFFSET')
ezca.get_LIGOFilter(f'SQZ-DCPD_SUM_LP_{i+1}').switch_on('INPUT')
ezca.get_LIGOFilter(f'SQZ-DCPD_NULL_LP_{i+1}').switch_on('INPUT')
return