Hi Community,
I was trying to calibrate the OD600 in Pioreactor and wonder if there a way that I could do offline calibration offline and insert the correlation coefficient into the software?
Thanks a lot.
Supiwat
Hi Community,
I was trying to calibrate the OD600 in Pioreactor and wonder if there a way that I could do offline calibration offline and insert the correlation coefficient into the software?
Thanks a lot.
Supiwat
Hi @Supiwat,
You kinda can! The output of the calibration is a json blob. and the important part of that the fields curve_data_
, which represents the calibration polynomial’s coefficients (x=OD600s, y=pioreactor signal). In your case, it’s a linear curve with leading coefficient equal to the covariance (not correlation) and an intercept term. Note that you do need the covariance and not correlation, as the former has the required information.
We are currently re-thinking how users interact and create calibrations, but here is I think the easiest way to add your offline:
ir_led_intensity
is not auto
. This is true for all od_calibrations.python3
to open up a Python shell.from pioreactor.actions.od_calibration import save_results
unit_name=THE_PIOREACTOR_NAME
calibration_name=A_UNIQUE_CALIBRATION_NAME
covariance=COVARIANCE
intercept=INTERCEPT
save_results([covariance, intercept], 'poly', [0], [0], "90", calibration_name, "2", unit_name)
Set `my-offline-calibration` to current calibration ✅
exit()
.You probably have more questions, so I’m happy to help further!
Is there a way to copy the calibration from one pump to another to get up and running quickly? I calibrated my media pumps and see the cache.db but its jiberish to me.
I’ve already started a run and I can’t turn on turbidostat dosing because my waste pumps aren’t calibrated, but their calibration is not critical since they can run long and the total volume controlled by the waste outlet level.
Hi @DocRuzzy, yea, there’s an easier way if your goal is just that (and we plan on making this even easier later).
pio run pump_calibration display
{
and }
. Copy all that to your clipboard.nano pump_cal.json
, and paste the results into this editor. Save and exit with ctrl-x.pio run pump_calibration -f ~/pump_cal.json
and follow the promps (eg: choose waste, give it some name, etc)