Skip to content

PBLab/dff-calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dff_calc

Latest PyPI version Latest Travis CI build status

Simple dF/F calculation for neural calcium traces, based on https://www.nature.com/articles/nprot.2010.169

Usage

  1. from dff_calc import dff_calc
  2. Coerce your data to be in a (cell x time) 2D numpy array.
  3. To calculate the dF/F, call dff = dff_calc(raw_data). Other parameters are listed in the docstring.

Installation

pip install dff-calc

Requirements

Python 3.6+, numpy, pandas, scipy

Licence

Apache 2.0

Authors

dff_calc was written by Hagai Har-Gil, graduate student in Dr. Pablo Blinder's Lab.

Releases

No releases published

Packages

No packages published

Languages