We are daming them overnight, sitting at 5W. Also wrote the adjustDamperGain script below. It measures the peak count output of a fliter module, and scales the gain to set a target peak level. (Or the maximal allowable gain.)
We left the guardian script calling this function for the modes that were problematic toinight:
ISC_LOCK.py, line 2362
# the following violins were saturating on March 11 2016 with above gains - turn them down
time.sleep(10)
adjustDamperGain('SUS-ETMY_L2_DAMP_MODE5',-100,1.5e5)
adjustDamperGain('SUS-ETMX_L2_DAMP_MODE6',100,1.5e5)
adjustDamperGain('SUS-ITMY_L2_DAMP_MODE3',100,1.5e5)
def adjustDamperGain(FM,maxgain,targetCounts):
"""read the FM output and scale the gain to match targetCOunts"""
dmax=numpy.max(numpy.abs(cdsutils.getdata(FM+'_OUTPUT',1).data))
oldgain=ezca[FM+'_GAIN']
newgain=oldgain*targetCounts/dmax
if (abs(newgain/maxgain)<1.0):
ezca[FM+'_GAIN'] = newgain
else:
ezca[FM+'_GAIN'] = maxgain