Skip to content

Differences between Matlab and Python implementations

eftychios pnevmatikakis edited this page Jul 21, 2017 · 6 revisions

NoRMCorre is implemented both in Matlab (this package), and in Python as part of the CaImAn package. While the algorithm is the same in both cases and the results almost identical, there are several minor differences in the two implementations and their features. We highlight these differences on the following table

Feature/Property Matlab Python
online template updating YES NO
available shifts FFT, cubic linear FFT, cubic
handles 3d data YES NO
optical flow calculation NO YES
FFT windowing YES NO
parallelization method for each mini batch process
different frames in parallel
process different
mini batches in parallel
variable for grid size grid_size strides
overlap included in grid size NO YES
total size of each patch grid_size + 2*overlap strides + overlap
option for phase correlation YES NO
offset correction due to bi-directional scanning YES NO