def setRaster(self, rows, columns):
        """ Sets the raster for the region, allowing sections to be indexed by row/column """
        rows = int(rows)
        columns = int(columns)
        if rows <= 0 or columns <= 0:
            return self
        self._raster = (rows, columns)
        return self.getCell(0, 0)
def setRaster ( self , rows , columns ) : rows = int ( rows ) columns = int ( columns ) if rows <= 0 or columns <= 0 : return self self . _raster = ( rows , columns ) return self . getCell ( 0 , 0 )
Sets the raster for the region, allowing sections to be indexed by row/column