def segmentForFlatIdx(self, flatIdx):
return self._segmentForFlatIdx[flatIdx]<EOL>
Get the segment with the specified flatIdx.

:param flatIdx: (int) The segment's flattened list index.

:returns: (:class:`Segment`)