code: def getCol(self, column, numberColumns=None):
          
          column = int(column)
          if self._raster[0] == 0 or self._raster[1] == 0:
              return self
          if numberColumns is None or numberColumns < 1 or numberColumns > 9:
              numberColumns = self._raster[1]
          columnWidth = self.w / numberColumns
          if column < 0:
              # If column is negative, count backwards from the end
              column = numberColumns - column
              if column < 0:
                  # Bad column index, return last column
                  return Region(self.x+self.w-columnWidth, self.y, columnWidth, self.h)
          elif column > numberColumns:
              # Bad column index, return first column
              return Region(self.x, self.y, columnWidth, self.h)
          return Region(self.x + (column * columnWidth), self.y, columnWidth, self.h)
docs: Returns the specified column of the region (if the raster is set)
  
          If numberColumns is provided, uses that instead of the raster