Metadata-Version: 2.1
Name: tifffolder
Version: 0.0.3
Summary: Parse filenames & slice a folder of images like a numpy array
Home-page: https://github.com/tlambert03/tifffolder
Author: Talley Lambert
Author-email: talley.lambert@gmail.com
License: MIT
Download-URL: https://github.com/tlambert03/tifffolder/archive/0.1.0.tar.gz
Project-URL: Code, https://github.com/tlambert03/tifffolder
Project-URL: Issue tracker, https://github.com/tlambert03/tifffolder/issues
Description: # tifffolder
        Read a subset of data from a folder of images like a numpy array
        
        Example:
        ```python
        >>> from tifffolder import TiffFolder
        >>> tf = TiffFolder('/folder/of/files', tpattern='_stack{:04d}_', cpattern='_ch{}_')
        
        # extract data with numpy slicing with axes [t,c,z,y,x]
        # for instance get timepoints 1-100, stepping by 10,
        # in the first channel, last 10 z planes, cropping somewhere in the middle of y
        
        >>> data = tf[0:100:10, 0, -10:, 200:400, :]
        >>> data.shape
        (10, 1, 10, 200, 512)   # (nt, nc, nz, ny, nx)
        
        ```
        
        Can also be used as an iterator/generator for lazily reading data
        
        ```python
        >>> for timepoint in tf:
        >>>     do_something(timepoint)
             
        # or just load the whole thing
        >>> alldata = tf[:]
        
        ```
Keywords: image,analysis,tiff
Platform: UNKNOWN
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*
Description-Content-Type: text/markdown
