pioreactor icon indicating copy to clipboard operation
pioreactor copied to clipboard

How does noise scale with turbidity?

Open CamDavidsonPilon opened this issue 4 years ago • 2 comments

Our Kalman Filter is non stationary, and so we should feel okay scaling our matrices as the experiment progresses. One important parameter is the observation noise covariance. For example, at low turbidity (with zero growth in the process, i.e. a sterile media), there is some noise due to whatever. When the turbidity increases, the noise increases as well - but by how much? This is the factor we should be scaling the observation noise covariance by.

Quick tests show that scaling the matrix by the OD states works somewhat well.

But it may also make sense to scale with the growth rate - high gr => more noise?

CamDavidsonPilon avatar Feb 25 '21 16:02 CamDavidsonPilon

variance seems to rise near the peak of growth and immediately after

Screen Shot 2021-03-19 at 2 05 31 PM

Below is log-scale of rolling OD-mean vs OD-variance Screen Shot 2021-03-19 at 2 15 48 PM

Scatter plot of the relationship is pretty strong, which suggests the variance should scale linearly with OD: Screen Shot 2021-03-19 at 2 20 26 PM

CamDavidsonPilon avatar Mar 19 '21 18:03 CamDavidsonPilon

Another one:

Screen Shot 2022-02-16 at 12 48 44 PM Screen Shot 2022-02-16 at 12 49 12 PM

CamDavidsonPilon avatar Feb 16 '22 17:02 CamDavidsonPilon