This commit is contained in:
wea_ondara
2020-01-25 13:16:05 +01:00
parent cd0239f39c
commit fdc1743d5d
5 changed files with 157 additions and 13 deletions

5
its.py
View File

@@ -55,11 +55,6 @@ def main(folder, intervl):
avgcount = np.mean([x for x in count if str(x) != "nan"])
stdcount = np.std([x for x in count if str(x) != "nan"])
for i in range(len(count)):
print(count[i])
if count[i] == 45:
print("m " + str(avgcount))
print("s " + str(stdcount))
print("N " + str((count[i] - avgcount) / stdcount))
if str(count[i]) == "nan" or np.abs((count[i] - avgcount) / stdcount) > 3:
datasingle[i] = float("nan")
data[i] = float("nan")