These are chat archives for epnev/ca_source_extraction
Matlab implementation of a source extraction and spike inference algorithm for large scale calcium imaging data analysis, based on a constrained matrix factorization approach.
Hi @epnev, really fantastic package for Ca2+ imaging analysis. I just started working with your software this week and am running into issues working with any of the CalmAn-Matlab demos that employ patches. I'm not sure if I am just not setting the patch sizes properly or some other in correct setting. When I run the patching code I get thrown the following error (starts with):
"Error using kde (line 77)
First Input must be a real non-sparse numeric array.
Error in trace_fit_extreme (line 12)
[~,density,xmesh] = kde(C(i,:));
Error in classify_components (line 39)
max_pr = trace_fit_extreme(traces,fr,t_int,sn_fac);" (and continues on)
Any idea whats going on here? My data is (1024,1376,152)