Closed alexpiet closed 3 months ago
In order to test the new calibration system. I calibrated 1A several times, the results are plotted here. The labels are confusing:
We observe a difference in slope between the calibrations (all done today, in a row), and previous calibrations. But all of today's calibrations on old and new system are in agreement. I conclude the new system works, and 0.1s intervals are fine
To assess what threshold we should use for valve drift, I performed 8 spot checks in a row targetting 2uL volumes. I got back: 2.1 +/- 0.0299 mg (mean +/- std). None of the samples would have been flagged by my proposed tolerance of 10% error ( < 1.8, or > 2.2 mg).
If we had used the old calibration settings to target the 2uL volumes, then the results would have been flagged.
I conclude the spot checks are valuable, and the tolerance I used is ok.
I attach to this comment the results of the water calibration test
@XX-Yin @hanhou This is ready for review. See two validation test results in the comments
@alexpiet Overall it looks good. I don't have time to review it this week. I will review it next week so we can merge it next week.
@hanhou @XX-Yin I added two additional features, and this is ready to review again:
@alexpiet It's better the GUI can be open without the WaterCalibrationPar_#.json
. We can set some default parameters.
@alexpiet It's better the GUI can be open without the
WaterCalibrationPar_#.json
. We can set some default parameters.
Good call @XX-Yin. I updated the code to:
WaterCalibrationPar_#.json
WaterCalibrationPar_#.json
is not provided, or cannot loadWaterCalibrationPar_#.json
if they have the required fields.
Pull Request instructions:
Describe changes:
What issues or discussions does this update address?
Describe the expected change in behavior from the perspective of the experimenter
When you open the water calibration dialog, it will look like this:
After pressing Calibrate Left, you will be prompted to enter the before weight:
The calibration will run and provide progress reports in purple text. When its finished, you will be prompted to enter the after weight.
You can then press "Continue" to perform the next measurement. "Repeat" to repeat the measurement of the valve open time currently selected. Or "Finish" to stop measurements. You can perform repeats immediately, or do all measurements and then repeat any measurements you like.
Describe any manual update steps for task computers
WaterCalibrationPar_#.json
file inForagingSettings
on each rig. This is not requiredWas this update tested in 446/447?