def shave_ctype ( self, annid, offset, locations ): """Remove annotation by a list of locations""" # the cython optimized version of this function. self.data , exceptions, zeroed = ocplib.shave_ctype ( self.data, annid, offset, np.array(locations, dtype=np.uint32)) return exceptions, zeroed
def shave(self, annid, offset, locations): """Remove annotation by a list of locations""" self.data, exceptions, zeroed = ocplib.shave_ctype( self.data, annid, offset, np.array(locations, dtype=np.uint32)) return exceptions, zeroed
def shave ( self, annid, offset, locations ): """Remove annotation by a list of locations""" self.data , exceptions, zeroed = ocplib.shave_ctype ( self.data, annid, offset, np.array(locations, dtype=np.uint32)) return exceptions, zeroed