(A) An alternation task maze. Purple: an example episode field sequence. Green: an example place field sequence. Each dot represents the peak of an episode/place field. (B) An example SPW event. Orange/purple: example SPW sequences correlated with the example episode field sequence. Orange/green: example SPW sequences correlated with the example place field sequence. Each dot represents a spike. (C) Percentage of SPWs with sequences significantly correlated with episode field (top) and place field (bottom) sequences. Red line: median, error bars: 95%-tile. Dash line: 2SD.