Figure 1. The computational theory used to calculate the relative phase relationship between the heartbeat and locomotor activity rhythms (φr,h). The square waves are step signals. Elevation of the wave indicates heel contact. The waves at the bottom of the panel are electrocardiogram signals. The sharply elevated wave is the R wave.