def get_patch()

in sampling.py [0:0]


    def get_patch(self,  x: int=0, y: int=0):
         return np.array(self.slide.read_region(location=(int(x * self.down_factor),int(y * self.down_factor)),
                                                level=self.level, size=(self.width, self.height)))[:, :, :3]