Light Calibration
Overview
Light is calibrated a single vial at a time using an external light probe and data logger.
Files for calibration can be found in the calibration folder of your photo-eVOLVER DPU
Materials
- 3D printed calibration cap 
Protocol
- Make sure you are using the calibration conf.yml not the experiment conf.yml - Experiment conf.yml will have pauses that cause missing values in the light calibration. 
- See here for how to change to the calibration conf.yml 
 
- Get a clean glass vial and fill to 25mL with water 
- Set up probe in vial using calibration cap 
- Alter - calibration_valsin- calibrate_light.py
- Start logger - Turn on via mini-USB power cable plug on top 
- Choose 500hz sampling rate 
- Press "START" 
- New file > Label with vial number > OK > Water probe 
- Should be changing values now
 
- Run - calibrate_light.py- python3 calibrate_light.py --ip <evolver_IP> --vial <vial_num> --lights <space_separated_list_of_lights>
- <space_separated_list_of_lights>refers to which light types you want to calibrate (light1, light2, light3)
- Sets eVOLVER light for that vial to each value 
- Separates values in the LI-1500 log by turning off the light 
 
- Press the START/STOP button to stop logging 
- Repeat calibration for each vial, moving the light probe and glass vial - The vial number in the file name should increase automatically 
- You can overwrite logger files where you mess up 
 
- Copy the - light_cal_templatefolder in- /dpu/calibrations/and rename with the name of this light calibration
- Plug logger in to the computer via USB 
- Transfer files over to folder you made 
- Run - analyze_light_cal.ipynb- Change the constants in the Jupyter Notebook 
- The fit_name should reflect which light you are calibrating 
  
- Transfer your final calibration file to your experiment template folder 
- The calibration file should be named - light{}_cal.txtwhere {} is replaced with the light number to be recognized by the eVOLVER DPU script
Last updated
Was this helpful?