arboretum/plugin.py
def volume(self) -> tuple:
        """ get the volume to use for tracking """
        if self.segmentation is None:
            return ((0,1200), (0,1600), (-1e5,1e5))
        else:
            volume = []
            # assumes time is the first dimension
            for dim in self.segmentation.shape[-2:]:
                volume.append((0, dim))
            #
            # if len(volume) == 2:
            volume.append((-1e5, 1e5))

            return tuple(volume)
 get the volume to use for tracking 
get the volume to use for tracking
get the volume to use for tracking
def volume(self) -> tuple:
        if self.segmentation is None:
            return ((0,1200), (0,1600), (-1e5,1e5))
        else:
            volume = []
            for dim in self.segmentation.shape[-2:]:
                volume.append((0, dim))
             if len(volume) == 2:
            volume.append((-1e5, 1e5))
            return tuple(volume)
def volume ( self ) -> tuple : if self . segmentation is None : return ( ( 0 , 1200 ) , ( 0 , 1600 ) , ( - 1e5 , 1e5 ) ) else : volume = [ ] for dim in self . segmentation . shape [ - 2 : ] : volume . append ( ( 0 , dim ) ) volume . append ( ( - 1e5 , 1e5 ) ) return tuple ( volume )
get the volume to use for tracking
get the volume to use for tracking
""" get the volume to use for tracking """ # assumes time is the first dimension # # if len(volume) == 2:
self