def getStats(self, stats):
BaseStatsCollector.getStats(self, stats)<EOL>sortedNumberList = sorted(self.valueList)<EOL>listLength = len(sortedNumberList)<EOL>min = sortedNumberList[<NUM_LIT:0>]<EOL>max = sortedNumberList[-<NUM_LIT:1>]<EOL>mean = numpy.mean(self.valueList)<EOL>median = sortedNumberList[int(<NUM_LIT:0.5>*listLength)]<EOL>percentile1st = sortedNumberList[int(<NUM_LIT>*listLength)]<EOL>percentile99th = sortedNumberList[int(<NUM_LIT>*listLength)]<EOL>differenceList =[(cur - prev) for prev, cur in zip(list(self.valueSet)[:-<NUM_LIT:1>],<EOL>list(self.valueSet)[<NUM_LIT:1>:])]<EOL>if min > max:<EOL><INDENT>print(self.fieldname, min, max, '<STR_LIT>')<EOL><DEDENT>meanResolution = numpy.mean(differenceList)<EOL>stats[self.fieldname]['<STR_LIT>'] = min<EOL>stats[self.fieldname]['<STR_LIT>'] = max<EOL>stats[self.fieldname]['<STR_LIT>'] = mean<EOL>stats[self.fieldname]['<STR_LIT>'] = median<EOL>stats[self.fieldname]['<STR_LIT>'] = percentile1st<EOL>stats[self.fieldname]['<STR_LIT>'] = percentile99th<EOL>stats[self.fieldname]['<STR_LIT>'] = meanResolution<EOL>passData = True<EOL>if passData:<EOL><INDENT>stats[self.fieldname]['<STR_LIT:data>'] = self.valueList<EOL><DEDENT>if VERBOSITY > <NUM_LIT:2>:<EOL><INDENT>print('<STR_LIT>')<EOL>print("<STR_LIT>")<EOL>print("<STR_LIT>", min)<EOL>print("<STR_LIT>", max)<EOL>print("<STR_LIT>", mean)<EOL>print("<STR_LIT>", median)<EOL>print("<STR_LIT>", percentile1st)<EOL>print("<STR_LIT>", percentile99th)<EOL>print('<STR_LIT>')<EOL>print("<STR_LIT>")<EOL>print("<STR_LIT>", meanResolution)<EOL><DEDENT>if VERBOSITY > <NUM_LIT:3>:<EOL><INDENT>print('<STR_LIT>')<EOL>print("<STR_LIT>")<EOL>counts, bins = numpy.histogram(self.valueList, new=True)<EOL>print("<STR_LIT>", counts.tolist())<EOL>print("<STR_LIT>", bins.tolist())<EOL><DEDENT>
Override of getStats()  in BaseStatsCollector

            stats: A dictionary where all the stats are
            outputted