cortex-lab / Suite2P

Tools for processing 2P recordings
Other
121 stars 66 forks source link

Lack of spike time and amplitude in F.mat #113

Closed carlyrosewilling closed 6 years ago

carlyrosewilling commented 6 years ago

Hello!

I am working on visualizing the data following spike deconvolution, and my F.mat data file seems to be lacking spike times and amplitude for each ROI. Is there a particular setting which needs to be specified in order for these variables to be collected?

Thank you in advance!

carsen-stringer commented 6 years ago

You will only get the deconvolved spikes if you run "add_deconvolution(ops0, db)" after "run_pipeline(db,ops0)". Did you run this step? If so, the traces are saved in the cell structure "sp"

carlyrosewilling commented 6 years ago

Hi Carsen, I do have this step, using OASIS, but whenever I load the F.mat and regops file, no data "sp" is returned.

carsen-stringer commented 6 years ago

are you sure that after you run add_deconvolution that the F*.mat file is changing? check that it's being modified. I'm not sure I've seen this issue before

carsen-stringer commented 6 years ago

please reopen this issue if you're still having problems, thanks