code: def revert_to_max(self):
          
          try:
              self._set_stochastics([self.mu[s] for s in self.stochastics])
          except KeyError:
              self._set_stochastics(self.mu[self.stochastics])
docs: N.revert_to_max()
  
          Sets all N's stochastics to their MAP values.