andrefmsmith / cyclops-wf

Neuroscience: Python & Bonsai code & workflows for running a wide-field calcium imaging rig.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cyclops Wide-Field Rig

This is a repository for the Cyclops wide-field calcium imaging rig built by myself and G. Lopes for my experiments conducted at the Hofer and Mrsic-Flogel labs at the Sainsbury-Wellcome Centre.

Wide-field calcium imaging is an exciting approach for functional imaging of the mouse brain whereby activity across the entire dorsal surface of the cerebral cortex can be imaged and observed in real-time with minimal processing, while the head-fixed animal engages in a behavioural task. It is in use by multiple labs around the world to provide insight about mesoscale dynamics and interactions between cortical networks in behaving animals.

The rig was built from scratch from specifications identical to the setups created and developed originally by Ivana Orsolic and Kelly Clancy, as seen in the following publications:

The main difference for this setup is it is fully run & controlled by Bonsai software. Bonsai is a visual programming language designed to control data acquisition & instrument actuation in a fast & responsive way. In this setup, Bonsai controls camera frame acquisition, UV/Blue illumination, keeps track of dropped frames & implements a full 'state machine' via Nidaq boards where the status of running behaviour, eye and body cameras, optogenetic stimulation status & wavelength currently being exposed is fully tracked.

In this repository we share the Bonsai workflows used for for running the setup and Python code used to parse & analyse data it generates.

Hardware components

Harp: https://www.cf-hw.org/harp Behavior board: https://www.cf-hw.org/harp/behavior Drivers: https://bitbucket.org/fchampalimaud/downloads/downloads/

About

Neuroscience: Python & Bonsai code & workflows for running a wide-field calcium imaging rig.

License:MIT License


Languages

Language:Python 82.3%Language:C# 12.1%Language:C++ 4.5%Language:GLSL 1.1%