Script execution
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user