code: def n_outcomes(self, expparams):
          
          # Standard combinatorial formula equal to the number of 
          # possible tuples whose non-negative integer entries sum to n_meas.
          n = expparams['n_meas']
          k = self.n_sides
          return scipy.special.binom(n + k - 1, k - 1)
docs: Returns an array of dtype ``uint`` describing the number of outcomes
          for each experiment specified by ``expparams``.
          
          :param numpy.ndarray expparams: Array of experimental parameters. This
              array must be of dtype agreeing with the ``expparams_dtype``
              property.