def getStandardDeviation(list, mean): countData = len(list) list = dt.getPower(dt.getSubstractList(list,mean),2) list = dt.sumArray(list)/countData list = dt.getSquareRoot(list) res = [list[0],list[1],list[2]] return res
def getMean(list): sumValue = dt.sumArray(list) sumValue = sumValue/len(list) sumValue = sumValue[0],sumValue[1],sumValue[2] return sumValue