Replies: 1 comment 4 replies
-
Thanks for the question: just to clarify, you are starting your analysis using Could you spell out the exact filenames, in particular the order parts they are very important (this could be helpful for people to see who stumble on this thread). : is the first set in F order and the second file in C order? iirc typically lots of files are generated for motion correction in F order, and then a single file is generated for CNMF in C order, where one pixel must be read over the entire movie. This is the important file for source extraction, as discussed some in the docs here: But sometimes things happen on the back end that surprise me, so let me know if I'm wrong. 😄 tldr: C order is the one for signal extraction, and is generated from the F-order memmapped file(s) that was created and used for motion correction. (and as an aside, the memmaped files are bigger than the originals -- which are often uint8 -- because they are recast as floats because we do lots of floating point math on the back end). |
Beta Was this translation helpful? Give feedback.
-
Dear CaImAn developers and users.
I'm trying to perform CaImAn to my 2p-data with offline processing.
But the memory-mapping files during processing are too large and consuming the storage space; I'd like to remove them after the signal extraction except for the files I need when I recalculate.
For this, which file(s) is(are) necessary in the signal extraction?
My dataset(512px x 512px x 36000frames) is 5 separated tiffs; however, I performed processing based on the demo script, and then "6" mapped files will appear.
About these 6 memmaped files,
1, set of 5 memmap files; [basename]0000_[image dims][order]frames[total num frames/5],...,[basename]0004[image dims][order]frames[total num frames/5]
and
2: [basename][image dims]_[order]frames[total num of frames]
Total sizes of 1 and 2 are almost equal.
Are the files of 1 temporally used for creating file 2? In other words, so will the file 2 (maybe, a concatenated version of pieces of 5 memmap files) finally be utilized for the signal extraction?
If so, I’d like to keep only that for future reprocessing and delete the other files. In this way, I can load the essential memory-mapped file without re-creating a full set of memory-mapped files in future processing, for example, parameter optimization by try-and-error.
Or, if a way to achieve this exists, please let me know how to do it.
Beta Was this translation helpful? Give feedback.
All reactions