code: def mmGetMetricFromTrace(self, trace):
      
      return Metric.createFromTrace(trace.makeCountsTrace(),
                                    excludeResets=self.mmGetTraceResets())
docs: Convenience method to compute a metric over an indices trace, excluding
      resets.
  
      @param (IndicesTrace) Trace of indices
  
      @return (Metric) Metric over trace excluding resets