gbeflow/__init__.py
def add_image_data(self,impath):
        '''
        Imports a 3D (txy) dataset (czi or tiff) that matches the vector data
        
        Parameters
        ----------
        impath : str
            Complete or relative path to image file
            Accepts either tif or czi file types
            
        Attributes
        ----------
        img : np.array
            3D array of image data
        '''
        
        # Determine file type for import
        if impath[-3:] == 'czi':
            self.img = CziImport(impath,summary=False).data
        elif 'tif' in impath[-4:]:
            self.img = tifffile.imread(impath)
        else:
            print('Image files must be czi or tif')

        Imports a 3D (txy) dataset (czi or tiff) that matches the vector data
        
        Parameters
        ----------
        impath : str
            Complete or relative path to image file
            Accepts either tif or czi file types
            
        Attributes
        ----------
        img : np.array
            3D array of image data
        
Imports a 3D (txy) dataset (czi or tiff) that matches the vector data
Parameters

impath : str
Complete or relative path to image file
Accepts either tif or czi file types

Attributes

img : np.array
3D array of image data
Imports a 3D ( txy ) dataset ( czi or tiff ) that matches the vector data Parameters impath : str Complete or relative path to image file Accepts either tif or czi file types Attributes img : np . array 3D array of image data
def add_image_data(self,impath):
        if impath[-3:] == 'czi':
            self.img = CziImport(impath,summary=False).data
        elif 'tif' in impath[-4:]:
            self.img = tifffile.imread(impath)
        else:
            print('Image files must be czi or tif')
def add_image_data ( self , impath ) : if impath [ - 3 : ] == 'czi' : self . img = CziImport ( impath , summary = False ) . data elif 'tif' in impath [ - 4 : ] : self . img = tifffile . imread ( impath ) else : print ( 'Image files must be czi or tif' )
Imports a 3D (txy) dataset (czi or tiff) that matches the vector data
Parameters
Imports a 3D ( txy ) dataset ( czi or tiff ) that matches the vector data Parameters
'''
        Imports a 3D (txy) dataset (czi or tiff) that matches the vector data
        
        Parameters
        ----------
        impath : str
            Complete or relative path to image file
            Accepts either tif or czi file types
            
        Attributes
        ----------
        img : np.array
            3D array of image data
        ''' # Determine file type for import
self
impath