flatironinstitute / CaImAn

Computational toolbox for large scale Calcium Imaging Analysis, including movie handling, motion correction, source extraction, spike deconvolution and result visualization.
https://caiman.readthedocs.io
GNU General Public License v2.0
640 stars 370 forks source link

Add option to save motion correction object #1246

Open EricThomson opened 10 months ago

EricThomson commented 10 months ago

Would be nice to add ability to save motion correction object the way Caiman already saves the CNMF object. Motion correction can take a really long time, and it would be helpful to save/load these results in addition to the motion corrected file (which is not always wanted -- it is already optional to save the mc file).

Most obvious use case is if you want to apply motion correction from a structural channel to a functional channel at a later time, but in general it would be good to have option to save discovered parameters of the major estimator objects after the fit operation is run.

Relevant discussion: #1238