A Python program to acquire widefield brain images using laser speckle, GCaMP fluorescence and intrinsic optical imaging.
Explore the docs »
Table of Contents
There are many Widefield Imaging programs available on the Internet. However, they tend to be unnecessarily complex to use or limited in their capacities. With the present software, we hope to achieve a balance between usability and feature-richness, allowing simple acquisitions as well as complex workflows. Some of the main features of the program are:
- The ability to acquire laser speckle, fluorescence and intrinsic optical imaging at the same time
- The recursive stimulation generation tools, including different signal shapes and support for delay, jitter and repeat
- The support for multiple stimulation channels and their visual rendering
- The visual display of live video channels and activations maps
- ...And much more!
You can download the program by following the instructions below. Some indications are also given on how to adapt the program to your current setup. Note that only National Instruments DAQs and IMAQ-compatible cameras have built-in support. If you want to use other devices, you will need to so some coding on your own.
Frameworks and libraries used:
Physical devices used for testing:
- Python 3.9 must be installed
- Download the latest release in the Releases section of the repository.
- Unzip the downloaded file and move to desired location.
- Install the required modules using one of the following methods:
- Open a terminal window
- Go to the directory where the program is saved using the
cd
command. - Run the following command:
pip install -r requirements.txt
- Open a terminal window
- Run the following two commands:
conda create -n py3.9 python=3.9.12
conda activate py3.9
- In a terminal window, go to the directory where the program is saved using the
cd
command. - Run the following command:
pip install -r requirements.txt
- Launch the
interface.py
module found in thegui
subfolder.
- Open the
config.json
file using any text editor. - For each type of instrument, replace the port name with the desired name.
Important: Specified ports must exist on DAQ and be of the same type than those specified in the default configuration file. These are respectively:
- Analog Outputs:
"analog0"
,"analog1"
- Digital Outputs:
"infrared"
,"red"
,"green"
,"blue"
,"camera"
,"co2
- Digital Input:
"trigger"
- Open the
config.json
file using any text editor. - Replace the
Binning
variable with either1
,2
,4
or8
For more examples, please refer to the Documentation
- Release Alpha Version
- Release Beta Version
- Add Progress Line in Signal Preview Window
- Add support for baseline and activation maps in Live Preview
- Add menu to easily modify devices and tools
See the open issues for a full list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE.txt
for more information.
Created by Maxence Pelletier-Lebrun - maxencepelletierlebrun@gmail.com
For a research internship at Michèle Desjardins' Laboratory
Research Page: https://www.crchudequebec.ulaval.ca/recherche/chercheurs/michele-desjardins/
Project Page: https://github.com/midesjardins/Widefield-Imaging-Acquisition
This project was made possible with the help of these open-source ressources: