diff --git a/script/KR84_test.py b/script/KR84_test.py index 9f282f9..4b5a79f 100644 --- a/script/KR84_test.py +++ b/script/KR84_test.py @@ -11,6 +11,12 @@ class all_statistics_data (object): m5 = statistics_data() m10 = statistics_data() + def print(self): + print "Statistics:\t\tmin\tmean\tmax\tstdev + print "Saturation :" + str(self.sat.min) + "\t" + str(self.sat.mean) + "\t" + str(self.sat.max) + "\t" + str(self.sat.stdev) + print "5% out of sat :" + str(self.m5.min) + "\t" + str(self.m5.mean) + "\t" + str(self.m5.max) + "\t" + str(self.m5.stdev) + print "10% out of sat:" + str(self.m10.min) + "\t" + str(self.m10.mean) + "\t" + str(self.m10.max) + "\t" + str(self.m10.stdev) + def statistics_calc(data_in): "function calculates the min/max/mean/stdev of an array"