cortex-lab / Suite2P

Tools for processing 2P recordings
Other
121 stars 66 forks source link

Add description to nFrames function and omit duplicate code #141

Closed fralik closed 6 years ago

fralik commented 6 years ago

nFrames and nFramesTiff differ only in the number of frames being skipped during file reading. Add an optional input argument to nFrames which specifies how many frames to skip. nFramesTiff is just a wrapper around nFrames with a pre-defined number of frames to skip. This fix has no braking changes.