You have following description for the normcorre() function:
"""
see
Pnevmatikakis, E.A., and Giovannucci A. (2017).
NoRMCorre: An online algorithm for piecewise rigid motion correction of calcium imaging data.
Journal of Neuroscience Methods, 291:83-92
or
CaiMan github
"""
but this is not correct.
All the code for piecewise rigid or non-rigid correction is commented and not used.
Only rigid motion correction for the whole frame is used inside. This have nothing to do with the paper mentioned above.
You have following description for the normcorre() function: """ see Pnevmatikakis, E.A., and Giovannucci A. (2017). NoRMCorre: An online algorithm for piecewise rigid motion correction of calcium imaging data. Journal of Neuroscience Methods, 291:83-92 or CaiMan github """ but this is not correct. All the code for piecewise rigid or non-rigid correction is commented and not used. Only rigid motion correction for the whole frame is used inside. This have nothing to do with the paper mentioned above.