Dropped frames #187
Unanswered
ChaeYoungKim-snu
asked this question in
Q&A
Replies: 1 comment
-
I think it heavily depends on how sensitive your downstream analysis depends on minian output. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am working with the miniscope recording in sync with electrophysiological data.
Recently I got to know that there are natural drops of frames in every several thousands of frames, mainly caused by USB power. So I started to detect dropped frames, and I found 39 dropped frames from 11455 miniscope frames. ( so the correct total should be 11455 +39). I already preprocessed all image data using Minian without noticing this problem.
At this point, I am thinking how to fix my data.
method 1) Insert "interpolated" frames on the missing frame sites, and re-run Minian analysis
method 2) Do not re-run Minian, but insert "interpolated" value on the calcium trace
method 3) Do not re-run Minian, but insert "nan" value on the missing frame sites and run analysis
I wonder how sensitive the Minian processing is, in case of dropped frames? There are mostly 1 frame each drop and sometimes max 3 frames (~100ms) in rare cases. Do you think i should rerun Minian with interpolated frames (method 1)? Or method 2 or 3 is also acceptable, given the calcium dynamics?
To give you a general idea of frame drops of my data, here I attach the total number of frames (x axis) and dropped frames (red lines). There is a slight mismatch of each frame number because x-axis is from miniscope (with all dropped frames) and red lines (from another hardware without drops), but please ignore this difference.
Thank you for your help
Best regards,
Chae
Beta Was this translation helpful? Give feedback.
All reactions