flatironinstitute / NoRMCorre

Matlab routines for online non-rigid motion correction of calcium imaging data
GNU General Public License v2.0
144 stars 89 forks source link

Avoid class mismatch during assignment to memory-mapped output #6

Closed conorheins closed 7 years ago

epnev commented 7 years ago

@conorheins Thanks for this contribution. I modified the function in a more general way to preserve the class of the input for all the different choices of output type.