File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,6 @@ def od_statistics(
8080
8181 means = {}
8282 variances = {}
83- autocorrelations = {} # lag 1
8483
8584 for channel , od_reading_series in readings .items ():
8685 # measure the mean and publish. The mean will be used to normalize the readings in downstream jobs
@@ -92,9 +91,6 @@ def od_statistics(
9291 ),
9392 cut_off_n = 2 ,
9493 ) # see issue #206
95- autocorrelations [channel ] = math_helpers .correlation (
96- od_reading_series [:- 1 ], od_reading_series [1 :]
97- )
9894
9995 # warn users that a blank is 0 - maybe this should be an error instead? TODO: link this to a docs page.
10096 if means [channel ] == 0.0 :
@@ -105,7 +101,6 @@ def od_statistics(
105101 logger .debug (f"observed data: { od_reading_series } " )
106102 logger .debug (f"measured mean: { means } " )
107103 logger .debug (f"measured variances: { variances } " )
108- logger .debug (f"measured autocorrelations: { autocorrelations } " )
109104
110105 return means , variances
111106
You can’t perform that action at this time.
0 commit comments