Skip to content

Wenlab/OASIS_matlab

 
 

Repository files navigation

OASIS: Fast online deconvolution of calcium imaging data

Code accompanying the paper "Fast online deconvolution of calcium imaging data".

Python: https://github.com/j-friedrich/OASIS

MATLAB: https://github.com/zhoupc/OASIS_matlab

A brief summary of the FOOPSI approach for denoising & deconvolving calcium imaging

Get Started

Installation

add OASIS function to the search path of MATLAB

>> oasis_setup

Process yoru data

There is also a high-level function deconvolveCa.m for the ease of calling different methods. You only need to specify parameters and then denoise & deconvolve your raw trace. For example

[c, s, options] = deconvolveCa(y, 'foopsi', 'ar1', 'smin', -3, ...'optimize_pars', true, 'optimize_b', true)

In this example, we deconvolve the raw trace $y$ using FOOPSI model and constrain the spike size to be $3\times $ noise levels. The AR coefficients and the baseline were updated automatically.

For more options, check the examples/ folder and see the comments in deconvolveCa.m.

Reproduce figures in the paper

You can reproduce the figures in the paper [3] using the following command (replace * with figure index).

>> run examples/paper/fig*.m

Copyright

Pengcheng Zhou @ Colubmia University 2018

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 46.2%
  • HTML 34.4%
  • C 18.7%
  • C++ 0.3%
  • Mathematica 0.2%
  • JavaScript 0.1%
  • CSS 0.1%