def getSegmentInfo(self, collectActiveData = False):
<EOL>assert collectActiveData == False<EOL>nSegments, nSynapses = self.getNumSegments(), self.cells4.nSynapses()<EOL>distSegSizes, distNSegsPerCell = {}, {}<EOL>nActiveSegs, nActiveSynapses = <NUM_LIT:0>, <NUM_LIT:0><EOL>distPermValues = {}   <EOL>numAgeBuckets = <NUM_LIT:20><EOL>distAges = []<EOL>ageBucketSize = int((self.iterationIdx+<NUM_LIT:20>) / <NUM_LIT:20>)<EOL>for i in range(numAgeBuckets):<EOL><INDENT>distAges.append(['<STR_LIT>' % (i*ageBucketSize, (i+<NUM_LIT:1>)*ageBucketSize-<NUM_LIT:1>), <NUM_LIT:0>])<EOL><DEDENT>for c in range(self.numberOfCols):<EOL><INDENT>for i in range(self.cellsPerColumn):<EOL><INDENT>nSegmentsThisCell = self.getNumSegmentsInCell(c,i)<EOL>if nSegmentsThisCell > <NUM_LIT:0>:<EOL><INDENT>if nSegmentsThisCell in distNSegsPerCell:<EOL><INDENT>distNSegsPerCell[nSegmentsThisCell] += <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>distNSegsPerCell[nSegmentsThisCell] = <NUM_LIT:1><EOL><DEDENT>segList = self.cells4.getNonEmptySegList(c,i)<EOL>for segIdx in range(nSegmentsThisCell):<EOL><INDENT>seg = self.getSegmentOnCell(c, i, segIdx)<EOL>nSynapsesThisSeg = len(seg) - <NUM_LIT:1><EOL>if nSynapsesThisSeg > <NUM_LIT:0>:<EOL><INDENT>if nSynapsesThisSeg in distSegSizes:<EOL><INDENT>distSegSizes[nSynapsesThisSeg] += <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>distSegSizes[nSynapsesThisSeg] = <NUM_LIT:1><EOL><DEDENT>for syn in seg[<NUM_LIT:1>:]:<EOL><INDENT>p = int(syn[<NUM_LIT:2>]*<NUM_LIT:10>)<EOL>if p in distPermValues:<EOL><INDENT>distPermValues[p] += <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>distPermValues[p] = <NUM_LIT:1><EOL><DEDENT><DEDENT><DEDENT>segObj = self.cells4.getSegment(c, i, segList[segIdx])<EOL>age = self.iterationIdx - segObj.getLastActiveIteration()<EOL>ageBucket = int(age/ageBucketSize)<EOL>distAges[ageBucket][<NUM_LIT:1>] += <NUM_LIT:1><EOL><DEDENT><DEDENT><DEDENT><DEDENT>return (nSegments, nSynapses, nActiveSegs, nActiveSynapses,distSegSizes, distNSegsPerCell, distPermValues, distAges)<EOL>
Overrides :meth:`nupic.algorithms.backtracking_tm.BacktrackingTM.getSegmentInfo`.