MouseLand / suite2p

cell detection in calcium imaging recordings
http://www.suite2p.org
GNU General Public License v3.0
334 stars 239 forks source link

Question about the number of frames after reading by suite2p.io.BinaryFile #1044

Closed PikaPei closed 6 months ago

PikaPei commented 9 months ago

Hi Suite2P team,

My single tif file has 13983 frames, but if I use f_raw = suite2p.io.BinaryFile(Ly=800, Lx=1280, filename="my_image.tif") The f_raw.shape[0] would be 13988.

I'm just curious if it's no problem for further analysis (like registration) and why it happened.

Version information: suite2p v0.14.2

Thank you!

chriski777 commented 7 months ago

Does your .tif file contain any metadata/additional data that may not be directly related to the frames?

chriski777 commented 6 months ago

@PikaPei, I'll be closing this issue due to inactivity. Please feel free to reopen if the issue persists.