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

Issue in run_pipeline line 127 #110

Open CharlieOC19 opened 4 years ago

CharlieOC19 commented 4 years ago

I´m working on run_pipeline with many data and recently I have a trouble in line 127 [A,b,C,f,S,P,RESULTS,YrA] = run_CNMF_patches(data.Y,K,patches,tau,0,options);

I try the solutions in #105 and #91 but I have the following error message

Matrix dimensions must agree.

Error in CNMF/eventExceptionality (line 313) compute_residuals(obj);

Error in CNMF/fit (line 402) obj.eventExceptionality();

Error in run_CNMF_patches>process_patch_object (line 386) CNM.fit(Y,options,K);

Error in run_CNMF_patches (line 105) parfor i = 1:n_patches

Error in run_pipeline (line 127) [A,b,C,f,S,P,RESULTS,YrA] = run_CNMF_patches(data, K, patches, tau, 0, options);

I have already analyzed many data, and this the first time I have this Issue. I hope you can help me