code: def _save_bm_state(self):
          
          for parameter in self.block_matcher.parameter_maxima.keys():
              self.bm_settings[parameter].append(
                                 self.block_matcher.__getattribute__(parameter))
docs: Save current state of ``block_matcher``.