A smarter reset for the SSFS filters has been implemented: with a decorator in ITF_LOCK we check if the ratio between the RMSs of SSFS_Corr and SSFS_DigitalNoise is below a certain threshold (500), and in the case we reset both filters; in order to see if this solution is working well I commented out (but not removed just yet) the old "timed reset"; the new decorator is used in the states LOCKED_SSFS, LOW_NOISE_1, and the four DC Readout states that follow, as they are the four usual steady states we sin on, plus the transient states for the two OMCs, but the list can obviously be expanded if needed.
Even if the decorator runs at each second before each Metatron cycle, the estimation is done taking the RMSs over 10 s (using the Buffer functionality): this is to prevent that the glitch happening in SSFS_DigitalNoise during a reset artificially increases its own RMS and cause an immediate additional reset.
I'll monitor the behaviour and tune the parameters (threshold and averaging time) if the need should arise.