Left, heat map showing alignment of decoded direction and sweep direction (both in head-centred coordinates) across theta cycles throughout the recording session in c and f . Right, percentage of theta cycles in which decoded direction and sweeps point to the same side of the animals head axis (16 rats, 1 open-field session per animal). Red dot, mean; whiskers, s.d. Credit: rat, scidraw.io /Gil Costa.