Sweep directions predicted by the empirically driven agent shown in d (blue shapes) and internal direction fitted by the LMT model (green arrows) during 16 theta cycles in an open field (both plotted in a head-centred reference frame). Theta cycles are evenly spaced along the horizontal axis. Note the alignment between decoded and predicted directions.