The purpose of this package is to create a GUI for the Guppy Pro Camera, extending on the already existing pymba package meant for allied vision cameras which have a commercial GUI named Vimba (which is quite limited).
There are two main scripts within this package:
-
RUN_ME_Flouroscence.py This code is written with the specific intention of counting the net flouroscence within the specified rectangular area; which dimensions can be adjusted accordingly.
-
RUN_ME_ProfileViewer.py This code is written with the specific intention of viewing the cross sectional intensity profile from the camera, the cross section locations are depicted by the lines in the colour map plot (see below).
- numpy
- scipy
- matplotlib
- PIL; main image processing tool
- cv2; only for applying colour map in /Gupview/Secondary_Scripts/Plots
- tkinter/Tkinter for python3/2
- ast
- pymba; package by morefigs which talks to the camera
-
Both RUN_ME scripts utilises scripts from /Gupview/Secondary_Scripts, and draws parameter values from /Gupview/Parameters.py. Detailed
-
The flouroscence grab occurs very quickly, and it slows down the live feed update which in turn slows down the flourosence grab. To counter this, the live feed has a timesleep interval, which can be changed in the parameters
-
Sometimes the program has problems starting, saying something like "python has stopped working". But that is okay, just keep restarting the program until it runs. Tried and tested!
-
Whenever something is keyed into an entry, press in order to activate that value.
-
The file save option saves the image you see in the live-feed, without the white rectangular mask.
Exposure [us] | Image Capture [ms] | Livefeed Refresh [ms] | Plot Refresh [ms] | Flourosence Count [ms] |
---|---|---|---|---|
0.05 | 98 | 23-30 | 52 | 40 |
0.1 | 98 | 23-30 | 52 | 40 |
10 | 98 | 23-30 | 52 | 40 |
1e2 | 98 | 23-30 | 52 | 40 |
1e3 | 98 | 23-30 | 52 | 40 |
1e4 | 98 | 23-30 | 52 | 40 |
Screenshot for RUN_ME_Flouroscence.py :
Screenshot for RUN_ME_ProfileViewer.py :