This is a repository documenting some of the analyses performed with CEBRA on datasets from the Allen Institute for Neural Dynamics. I developed a simple tools package to use CEBRA with neuromodulator data acquired using fiber-photometry. Specifically, the data is 4 neuromodulator's recorded simultaneously from the Nuclues Acumbens (there exists data from other regions, but these notebooks are using data from there).
This data can be found in the Code Ocean Capsule associated with this repository. If you run it in that capsule (this is the suggested way), no changes to the data loading are needed but you will need to start by installing the package within your environment (see step 1 below). If you clone the repository from git, you'll need to:
- install within a conda environment:
- git clone https://github.com/BrianNGitahi/CEBRA_Pack
- cd CEBRA_Pack
- pip install .
- download the data from the data folder in the Code Ocean capsule (to avoid path errors, I suggest you create a similar folder structure in your repository)
For a quick primer on CEBRA see the notebooks in the CEBRA_Pack repository, also linked on this webpage.
NB:
- If you'd like to understand how the input data has been formatted, see the notebook: Signal_rewarded_unrewarded.ipynb
- If you have trouble installing CEBRA you can refer also to this page
Contact: bgitahi[at]alumni.princeton.edu