flatironinstitute / CaImAn-MATLAB

Complete Matlab pipeline for large scale calcium imaging data analysis
GNU General Public License v2.0
252 stars 147 forks source link

bug in memmap_file #53

Closed Enakcihc closed 7 years ago

Enakcihc commented 7 years ago

memmap_fileuses the function tiff_reader with 3 arguments (filename, startingframe, num2read) and gives an error. Changing both instances (lines 33 & 60) of tiff_readerto bigread2solved the issue.

epnev commented 7 years ago

Thanks again! Bear in mind bigread2 assumes that all entries all are non-negative and if your data has negative entries it will not work very well. You can also use the read_file that also reads are formats.