Script execution

This commit is contained in:
kalt_r
2016-07-01 09:48:18 +02:00
parent 701c8f58c4
commit 4f1f107d7c

View File

@@ -13,9 +13,9 @@ class all_statistics_data (object):
def return_string(self):
print "Statistics:\tmin\tmean\tmax\tstdev"
print "Saturation :\t" + str(self.sat.min)[:6] + "\t" + str(self.sat.mean)[:6] + "\t" + str(self.sat.max)[:6] + "\t" + str(self.sat.stdev)[:6]
print "5% out of sat :\t" + str(self.m5.min)[:6] + "\t" + str(self.m5.mean)[:6] + "\t" + str(self.m5.max)[:6] + "\t" + str(self.m5.stdev)[:6]
print "10% out of sat:\t" + str(self.m10.min)[:6] + "\t" + str(self.m10.mean)[:6] + "\t" + str(self.m10.max)[:6] + "\t" + str(self.m10.stdev)[:6]
print "Saturation :\t" + str(self.sat.min)[:7] + "\t" + str(self.sat.mean)[:7] + "\t" + str(self.sat.max)[:7] + "\t" + str(self.sat.stdev)[:7]
print "5% out of sat :\t" + str(self.m5.min)[:7] + "\t" + str(self.m5.mean)[:7] + "\t" + str(self.m5.max)[:7] + "\t" + str(self.m5.stdev)[:7]
print "10% out of sat:\t" + str(self.m10.min)[:7] + "\t" + str(self.m10.mean)[:7] + "\t" + str(self.m10.max)[:7] + "\t" + str(self.m10.stdev)[:7]
def statistics_calc(data_in):