code: def getLocationRepresentation(self):
      
      activeCells = np.array([], dtype="uint32")
  
      totalPrevCells = 0
      for module in self.L6aModules:
        activeCells = np.append(activeCells,
                                module.getActiveCells() + totalPrevCells)
        totalPrevCells += module.numberOfCells()
  
      return activeCells
docs: Get the full population representation of the location layer.