code: def getL4PredictedActiveCells(self):
      
      predictedActive = []
      for i in xrange(self.numColumns):
        region = self.network.regions["L4Column_" + str(i)]
        predictedActive.append(
          region.getOutputData("predictedActiveCells").nonzero()[0])
      return predictedActive
docs: Returns the predicted active cells in each column in L4.