code: def probability(self, direction, mechanism, purview):
          
          repertoire = self.repertoire(direction, mechanism, purview)
  
          return self.state_probability(direction, repertoire, purview)
docs: Probability that the purview is in it's current state given the
          state of the mechanism.