All Projects → lucastheis → c2s

lucastheis / c2s

Licence: MIT license
A toolbox for inferring spikes from calcium traces.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to c2s

spykesim
Extended edit similarity measurement for high dimensional discrete-time series signal (e.g., multi-unit spike-train).
Stars: ✭ 18 (-18.18%)
Mutual labels:  neuroscience
cellfinder
Automated 3D cell detection and registration of whole-brain images
Stars: ✭ 122 (+454.55%)
Mutual labels:  neuroscience
bg-atlasapi
A lightweight python module to interact with atlases for systems neuroscience
Stars: ✭ 54 (+145.45%)
Mutual labels:  neuroscience
kfs
Keras for Science
Stars: ✭ 69 (+213.64%)
Mutual labels:  neuroscience
neuronunit
A package for data-driven validation of neuron and ion channel models using SciUnit
Stars: ✭ 36 (+63.64%)
Mutual labels:  neuroscience
antropy
AntroPy: entropy and complexity of (EEG) time-series in Python
Stars: ✭ 111 (+404.55%)
Mutual labels:  neuroscience
nmodl
Code Generation Framework For NEURON MODeling Language
Stars: ✭ 42 (+90.91%)
Mutual labels:  neuroscience
pyomyo
PyoMyo - Python Opensource Myo armband library
Stars: ✭ 61 (+177.27%)
Mutual labels:  neuroscience
Neurapse
Nuerapse simulations for SNNs
Stars: ✭ 22 (+0%)
Mutual labels:  neuroscience
syntalos
Flow-based synchronized parallel DAQ from diverse sources and flexible control for neuroscience experiments
Stars: ✭ 13 (-40.91%)
Mutual labels:  neuroscience
PyRhO
A virtual optogenetics laboratory
Stars: ✭ 30 (+36.36%)
Mutual labels:  neuroscience
mne-bids
MNE-BIDS is a Python package that allows you to read and write BIDS-compatible datasets with the help of MNE-Python.
Stars: ✭ 88 (+300%)
Mutual labels:  neuroscience
MIRACL
Multi-modal Image Registration And Connectivity anaLysis
Stars: ✭ 23 (+4.55%)
Mutual labels:  neuroscience
neuroexpresso
📊 Gene expression in neuroexpresso database
Stars: ✭ 15 (-31.82%)
Mutual labels:  neuroscience
snn object recognition
One-Shot Object Appearance Learning using Spiking Neural Networks
Stars: ✭ 23 (+4.55%)
Mutual labels:  neuroscience
Dcm2Bids
Reorganising NIfTI files from dcm2niix into the Brain Imaging Data Structure
Stars: ✭ 109 (+395.45%)
Mutual labels:  neuroscience
tvb-root
Main TVB codebase
Stars: ✭ 46 (+109.09%)
Mutual labels:  neuroscience
nes
Helping researchers in routine procedures for data collection
Stars: ✭ 16 (-27.27%)
Mutual labels:  neuroscience
LabHacks
Resources for data driven neuroscientists.
Stars: ✭ 68 (+209.09%)
Mutual labels:  neuroscience
mrivis
medical image visualization library and development toolkit
Stars: ✭ 19 (-13.64%)
Mutual labels:  neuroscience

c2s

predictions

Tools for the prediction of spike trains from calcium traces.

Documentation

If you are a neuroscientist and want to reconstruct spikes from fluorescence/calcium traces or similar signals, please see the main documentation. If you are a developer and want to use c2s in your own Python code, please see the API documentation.

Example

Once installed, predicting spikes can be as easy as

$ c2s predict data.mat predictions.mat

This package comes with a default model for predicting spikes from calcium traces, but also comes with tools for training and evaluating your own model.

Requirements

  • Python >= 2.7.0
  • cmt >= 0.5.0
  • NumPy >= 1.6.1
  • SciPy >= 0.13.0
  • Cython >= 0.20.0 (optional)
  • Matplotlib >= 1.4.2 (optional)

Installation

First install the Conditional Modeling Toolkit. Then run:

$ pip install git+https://github.com/lucastheis/c2s.git

You can avoid manually installing c2s and its requirements by using Docker. A Dockerfile for c2s is provided by Jonas Rauber. This might make your life easier especially if you are planning to use Windows or Mac OS.

References

If you use our code in your research, please cite the following paper:

L. Theis, P. Berens, E. Froudarakis, J. Reimer, M. Roman-Roson, T. Baden, T. Euler, A. S. Tolias, et al.
Benchmarking spike rate inference in population calcium imaging
Neuron, 90(3), 471-482, 2016

The default model was trained on many datasets (together containing roughly 110,000 spikes) from different labs. Therefore, if you use the default model for prediction, please also cite:

J. R. Cotton, E. Froudarakis, P. Storer, P. Saggau, and A. S. Tolias
Three-dimensional mapping of microcircuit correlation structure
Frontiers in Neural Circuits, 2013

J. Akerboom et al.
Optimization of a GCaMP calcium indicator for neural activity imaging
Journal of Neuroscience, 2012

T. W. Chen et al.
Ultrasensitive fluorescent proteins for imaging neuronal activity
Nature, 2013

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].