Skip to content

Commit d49c5e4

Browse files
this is never used
1 parent c73a3cf commit d49c5e4

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pioreactor/actions/od_blank.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)