Converted deconvolution data into spike train (binary point) #1195
Replies: 7 comments 7 replies
-
Do you just want to do 0 - 1 normalization? The easiest thing is to just use tslearn min max scaler: https://tslearn.readthedocs.io/en/stable/gen_modules/preprocessing/tslearn.preprocessing.TimeSeriesScalerMinMax.html |
Beta Was this translation helpful? Give feedback.
-
I think it is not normalized to (0,1). For example, the deconvolution trace is 0, 0, 4.3, 5.4, 6.6, 0, 0 and 6.6 is the peak and my final data is 0, 0, 0, 0, 1, 0, 0 |
Beta Was this translation helpful? Give feedback.
-
You're not doing this way? So how you plot this kind of raster plot? |
Beta Was this translation helpful? Give feedback.
-
I interpreted it as you want a raster plot like thing. This is not currently part of the Though you didn't say what type of data you are analyzing iirc you are looking at 1p. If 1p data I would be wary of deconvolution results tbh we don't have any ground truth data. I'd probably stick with analyzing traces if using CNMFE. |
Beta Was this translation helpful? Give feedback.
-
Let me try to clear one misconception, you can't really deconvolve calcium
traces into ephys waveforms. You can get rough estimates of spike rate.
This paper has a good into that discusses it:
https://www.nature.com/articles/s41593-021-00895-5
…On Wed, Oct 18, 2023, 12:08 Yi Zhou ***@***.***> wrote:
Thank you very much! I want to use that because I saw some downstream
analysis from this tool: https://elephant.readthedocs.io/en/stable/
Also, may I ask have you used multivariate granger causality to analyze
and cluster the trace? Thank you!
—
Reply to this email directly, view it on GitHub
<#1195 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACHXXRFRLBGBVRYOSFOLBTTX775HJAVCNFSM6AAAAAA6ER6EOWVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TGMJXGM2TS>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hello!
After I download the deconvolution trace from estimates.S, I got deconvoluted time series data. However, I want the spike train (point data) so I use another package to select the peak time point and convert it to 1 and the rest of the time point is converted to 0. I wonder are you also doing this way? If there is another way to handle it in CaImAn that I missed.
Thank you!!!
Beta Was this translation helpful? Give feedback.
All reactions