My experimental tangent continues. The Temporal Pooler recognizes sequences in Temporal Memory and acts almost like a recorder for consistent sequences. If any of the sparse patterns in TM that are apart of a sequence are recognized then a sparse pattern in TP is activated. In this case the sparse pattern is 4, which is an arbitrary value.
As seen in the gif, for each active sparse pattern among the active columns there is a segment that recognizes it. The segment depolarized the associated cell in TP then any activated segments after that continue to depolarize into hyperpolarization (activation).
There will be cases when similar sequences could share similar TM sparse patterns. Instead of a union of TP patterns, the TP cells compete for activation. If there were a set of cells in TP that responded to A,B,C,D and another set the responded to B,C,D,E then if a sequence of A,B,C were fed in then A,B,C,D will rival over B,C,D,E because it recognizes one more pattern in the sequence (A) even though they both recognize B,C. The competition is somewhat similar to SP.
The stable representation from TP could be combined and fed into another region and SP would just see it just like any other pattern. Essentially TP has collapsed a temporal pattern into a spatial pattern.
In this example there are two separate input sequences. For both of the sequences, two sets of sparse representations form winth in TP.
Again, this is a crude experimentation. I have no idea if anything like this is happening biologically.
(click to enlarge gif)