flatironinstitute / CaImAn-MATLAB

Complete Matlab pipeline for large scale calcium imaging data analysis
GNU General Public License v2.0
252 stars 147 forks source link

Variable mis-named? #113

Open nobias opened 3 years ago

nobias commented 3 years ago

I think this line:

https://github.com/flatironinstitute/CaImAn-MATLAB/blob/49b7884e93348d50df7173e1619d7499468bb1f6/deconvolution/oasis/foopsi_oasisAR1.m#L133

should read: tmp_hh = cumsum(tmp_h.*tmp_h);

Otherwise Matlab throws this error message: "Identifier 'h' is not a function or a shared variable. To share 'h' with nested function, initialize it in the current scope."