From 75fe40db4e4736d2a2af06b95bcffa6b6c175ce6 Mon Sep 17 00:00:00 2001 From: kalt_r Date: Fri, 1 Jul 2016 08:54:55 +0200 Subject: [PATCH] Script execution --- script/KR84_test.py | 6 ++++++ 1 file changed, 6 insertions(+) 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"