unpack.py

This takes a Raspberry Pi High Quality Camera RAW file and extracts the red pixel data along the laser beam.

x-python - 1.09 kB - 01/07/2021 at 14:03

Download

getMaxVals.py

This takes the data file generated by procLaser.py and extracts the red values along the laser beam. The result is maxVals.txt which can be plotted.

x-python - 653.00 bytes - 01/07/2021 at 13:15

Download

procLaser.py

This extracts data from a jpg file and puts it in a file named data.txt
The image must be 2272x1704 pixels.
If the image isn't the right size, which is likely the case, run the convert command as outlined in Step 1 of the instructions.

x-python - 598.00 bytes - 01/07/2021 at 13:10

Download

annotatedSetup.png

This is a way to keep the laser pointing down the middle of the graduated cylinder and to have a consistent camera position. The clothes pin holds the push button depressed.

Portable Network Graphics (PNG) - 376.38 kB - 01/06/2021 at 20:57

Preview
Download