Example traces of the running (R, brown) and visual flow (VF, orange) speed profiles during a static running bout. Below, the gain function is plotted and indicates the timing of an imposed gain change (from 1x to 2x the running speed; grayed area) in VF.