cortex-lab / Suite2P

Tools for processing 2P recordings
Other
120 stars 65 forks source link

Transposing F matrix in spike deconvolution #187

Open XuanweiLi opened 1 year ago

XuanweiLi commented 1 year ago

Hi developers, I noticed that in the spike deconvolution stage, specifically in GUI, the deconvolution seems to be weird, having multiple spikes even in the relaxing phase. If I do it manually, one should look like this down below.

original

Screenshot 2022-11-11 at 00 16 08

manual

Screenshot 2022-11-11 at 00 19 01 Screenshot 2022-11-11 at 00 20 16

I guess there is possibly a wrong transpose somewhere before the deconvolution. It seems like it is done across the ROI instead of across time points.

Please correct me if I am wrong.