cortex-lab / Suite2P

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

Preserve trial structure in registered .tiffs #112

Open mehrabmodi opened 6 years ago

mehrabmodi commented 6 years ago

Hi,

Thanks for writing this pipeline! I've been using an older version of it for some time now and had another piece of code that used the registered .tiff files. I've just finished modifying most of my code to run with the new pipeline and found out that the registered .tiffs don't preserve the trial structure the way the older version of the pipeline used to. Instead, the .tiff files are broken down into arbitrarily separated chunks of length 2000 frames. Is there a way to tell the pipeline to preserve the original trial structure and save registered .tiff files that correspond to the original, raw tiff files?

Thanks!

marius10p commented 6 years ago

Hi Mehrab,

Sorry for the delay in answering. There is currently no option to preserve trial structure, but we can add an option for that soon. I will let you know. Following another request, we will also an option to output trial-structured traces, and deconvolve them in that way too.

mehrabmodi1 commented 6 years ago

Thanks Marius. Yes, I think both would be useful features to keep in mind for the future.