def METHOD_NAME(self):
    """ put your initialization routine here"""
    if not self.lockbox.is_locked_and_final(loglevel=0):
        self._clear()
    self._lastrms = [self.rms]
    self._lastpdh = [0]
    self._lasttime = [self.time]
    self.phase = 0
    self.current_gain_factor = self.lockbox.final_stage.gain_factor