def getSegmentOnCell(self, c, i, segIdx):
segList = self.cells4.getNonEmptySegList(c,i)<EOL>seg = self.cells4.getSegment(c, i, segList[segIdx])<EOL>numSyn = seg.size()<EOL>assert numSyn != <NUM_LIT:0><EOL>result = []<EOL>result.append([int(segIdx), bool(seg.isSequenceSegment()),<EOL>seg.getPositiveActivations(),<EOL>seg.getTotalActivations(), seg.getLastActiveIteration(),<EOL>seg.getLastPosDutyCycle(),<EOL>seg.getLastPosDutyCycleIteration()])<EOL>for s in range(numSyn):<EOL><INDENT>sc, si = self.getColCellIdx(seg.getSrcCellIdx(s))<EOL>result.append([int(sc), int(si), seg.getPermanence(s)])<EOL><DEDENT>return result<EOL>
Overrides :meth:`nupic.algorithms.backtracking_tm.BacktrackingTM.getSegmentOnCell`.