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
add OASIS function to the search path of MATLAB
>> oasis_setup
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
For more options, check the examples/ folder and see the comments in deconvolveCa.m.
You can reproduce the figures in the paper [3] using the following command (replace * with figure index).
>> run examples/paper/fig*.m
Pengcheng Zhou @ Colubmia University 2018