Hello! I have a calibration for Pioreactor per unit OD readings vs. cell counts generated from a cell counting device and am trying to add it to the Pioreactor interface graph page. So far I’ve followed along with how to generate a new graph tile and add it to the interface, but am having trouble with the “y_transformation” part of the .yaml format - I thought this would be the easiest way to implement this. I need, for each pioreactor unit, to plug in a simple y = mx + b formula (where x is the OD reading) to the y_transformation.
Has anyone done this, or could point me where to go? Included below is the .yaml file I currently have in the system, a slightly edited version of the od chart from the github.
I see what you are trying to do, and it’s very cool! However, what you want can’t be done with the y_transformation tool. It really only expects a simple function float -> float (ex: no data on which unit is inputted).
There’s an alternative solution is to use the calibration system to create calibration files for each Pioreactor.
Let me know if you want some help with this. Here are docs on calibrations, but you don’t need to implement all of this.
I have (pictured w/ some Frankenstein code below) some calibration curves in the calibration section of the UI - is there an easy way to get this to apply to the OD readings and populate in the graph section of the UI?