Skip to content

Script for Matlab to calculate QE by Raw Bayer data, captured by Raspberry Pi script.

Notifications You must be signed in to change notification settings

DaveCalaway/Quantum-Efficiency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum-Efficiency

Script for Matlab to calculate QE by Raw Bayer data, captured by Raspberry Pi script.

Status: Stable.


This project were made for my thesis into Optolab Lab at Enzo Ferrari University at Modena.

Creative Commons license: https://goo.gl/Bt9Pwr


Program's tree:

On Rasp's console: python camera.py

  • BayerRgb_to_RGB : folder with MatLab script.

    Open it on MatLab and follow the instruction on top.

Study step by step:

Raspberry setup:

  1. Load the bayer_all.py on raspberry, you could use scp *folderName.zip* pi@IP: .

  2. Put in front of raspberry camera the slit of monochromator.

  3. Run the script and follow the istruction on monitor. Step by step, move the trigger on monochromator and take a pic with space bar.

  4. The Rasp's script will save a folderName.zip file with your Raw Bayer data, called numberX.npy .

  5. You could use scp pi@IP:*folderName.zip* . to grab the file from the raspberry to your Unix terminal destination pc ( linux or mac ) .

MatLab setup:

  1. Open plot_mix.m in Matlab

  2. Remember to set the number of captures, if you have more then one, keep in mind to start with NDF lower to NDF highter.


For made this project i used:

About

Script for Matlab to calculate QE by Raw Bayer data, captured by Raspberry Pi script.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published