Abstract
The optokinetic nystagmus is a gaze-stabilizing mechanism reducing motion blur by rapid eye rotations against the direction of visual motion, followed by slower syndirectional eye movements minimizing retinal slip speed. Flies control their gaze through head turns controlled by neck motor neurons receiving input directly, or via descending neurons, from well-characterized directional-selective interneurons sensitive to visual wide-field motion. Locomotion increases the gain and speed sensitivity of these interneurons, while visual motion adaptation in walking animals has the opposite effects. To find out whether flies perform an optokinetic nystagmus, and how it may be affected by locomotion and visual motion adaptation, we recorded head movements of blowflies on a trackball stimulated by progressive and rotational visual motion. Flies flexibly responded to rotational stimuli with optokinetic nystagmus-like head movements, independent of their locomotor state. The temporal frequency tuning of these movements, though matching that of the upstream directional-selective interneurons, was only mildly modulated by walking speed or visual motion adaptation. Our results suggest flies flexibly control their gaze to compensate for rotational wide-field motion by a mechanism similar to an optokinetic nystagmus. Surprisingly, the mechanism is less state-dependent than the response properties of directional-selective interneurons providing input to the neck motor system.
Similar content being viewed by others
Introduction
The optokinetic nystagmus (OKN) describes a characteristic pattern of fast and slow eye movements that occur as the entire visual surrounding moves over the retina (Fig. 1A). The eyes saccade against the direction of visual motion and then move slowly with the direction of motion. The OKN complements a range of gaze-stabilization strategies which together have numerous benefits for visual processing, including the reduction of motion blur, lowering retinal slip speed, and facilitating the tracking of stationary objects within a moving scene1,2,3. It is displayed by many species, including both vertebrates (rabbit4, pigeon5, cat6, salamander7, flying snake8) and invertebrates (mantis shrimp9, crab10, locusts11) and has proved a fruitful tool for analyzing the neural circuits of visual motion processing (mice12,13, crab10, zebrafish14, macaque, rabbit, cat, dog, pigeon15).
The neural circuits enabling the OKN can be well studied in flies because much is known about the mechanisms of motion detection at every neural connection between the photoreceptors and the neck muscles in several species. Flies have to move their heads to control their gaze, as their compound eyes are not actuated to perform independent compensatory movements. Large, well-studied interneurons that respond to wide-field visual motion, known as lobula plate tangential cells (LPTCs), innervate directly and indirectly via descending neurons the neck motor neurons that move the fly’s head16,17,18,19,20,21,22,23,24,25,26,27,28,29. In particular, LPTCs have motion receptive fields that match combinations of rotational and translational optic flow30,31,32, and are thought to support behavioral responses to wide-field motion, such as head turns and locomotor steering responses33,34,35,36. These cells integrate motion signals from T4 and T5 cells, which are the first motion-sensitive and directional-selective cells along the pathway37,38,39,40.
The response properties of the LPTCs are modulated by two aspects related to locomotion. First, locomotion increases their spontaneous activity, response gain and sensitivity to gratings moving with a high temporal frequency41,42,43,44,45. The velocity of the visual scene increases with walking speed, and this generates the second modulation of LPTC activity, visual motion adaptation, which decreases the response gain and the sensitivity to high temporal frequencies46,47,48,49,50,51. In moving flies, it is not known how these two aspects are balanced in LPTCs 52,53, and locomotion and visual motion adaptation can affect descending neurons in ways that are different to the effects on upstream interneurons54,55. One motivation to characterize the OKN in flies was to identify a visual behavior driven in part by direct connections from LPTCs, whose activity could then provide a read-out for the behavior, especially when the level of motion adaptation was modulated independently of the walking speed.
Flies rotate their eyes in the horizontal plane with yaw head turns that can be fast and saccadic, or slow56,57,58,59,60,61. While the turning response of the body to wide-field yaw rotations—the optomotor response—has been studied extensively, the vision-induced response of the head has been conventionally studied as a constant head yaw turn rather than the dynamic combination of saccades and slow turns that characterize the OKN35,62,63,64. In two studies in which flying Drosophila viewed objects moving against a rotating background, the head position and slow body turns tracked the rotating background while fast, saccadic body turns tracked the position of the object65,66. During voluntary body saccades, the head initially turns faster and then slower than the body, thus reducing the time the visual scene moves across the retina56,59,64 (but not in walking Drosophila58). When viewing image motion due to yaw rotation, flies can saccade against the direction of motion61,62,65, but it is unclear whether these saccades are part of an OKN to stabilize the visual input, or a casting search for an object to fixate66.
Here, we have recorded the head movements of tethered flies standing or walking on a trackball. The flies viewed a period of progressive translational image motion over both eyes that set the level of motion adaptation within a trial, before they were presented with image motion simulating a yaw rotation to induce movements of the head. We find that flies make fast and slow head yaw turns in both directions during the progressive motion stimulus. When they view rotational motion, on the other hand, the fast, saccadic head turns are biased against the direction of motion, while the slow head turns are syndirectional with the direction of the visual stimulus, creating head movements similar to an OKN. It is important to note that this response is not a fixed reflex. We observed flies to move their heads only in approximately half the trials, and it does not require the fly to be walking to be engaged, indicating that flies may choose from different gaze-stabilization strategies. In the trials with head movements, the temporal frequency tuning curve follows that found in LPTCs43,44, with a peak between 4 and 13 Hz. Surprisingly, we find that the temporal frequency tuning of this OKN-like behavior is robust to changes in walking speed and visual motion adaptation, despite the profound effects these factors have on the temporal frequency tuning of LPTCs.
Results
To observe the head movement responses to wide-field horizontal motion, we placed tethered blowflies on a trackball in front of gratings that covered a large fraction of the visual field (Fig. 1B) and filmed the head movements with a high-speed camera viewing the fly from above. The visual stimuli were organized to achieve two aims: (i) to characterize the temporal frequency tuning of head movements in response to simulated yaw rotations, and (ii) to assess the tuning’s dependence on the level of motion adaptation. For the first aim, we presented yaw rotation gratings of a fixed spatial wavelengths moving with different velocities during a stimulus period lasting 0.5 s (Fig. 1B, center). For the second aim, the stimulus period was preceded by 3 s of progressive motion, simulating the horizontal image motion components induced by forward translation during walking (Fig. 1B, left). Since the level of motion adaptation increases with the temporal frequency51, we presented the flies with different temporal frequencies of progressive image motion in the pre-stimulus period, randomly ordered selections of 0 Hz, 0.25 Hz, 1 Hz, 4 Hz and 10 Hz, as well as a grey screen with equal mean luminance. Finally, the stimulus period was followed by a grey screen for 0.5 s between trials (Fig. 1B right).
Head movements in response to rotational image motion
In individual trials, flies moved their head with fast, saccadic turns or with slow turns (Fig. 2). In example trials (Fig. 2A), the saccadic head turns were against the direction of visual motion, shown as a positive change in yaw angle, while slow head turns followed the grating, resulting in a negative change in yaw angle. Combined, these fast and slow head turns have the structure similar to the kinetics of an OKN (cf. Figure 1A).
The kinetics of the head movements were revealed by phase plots of the head yaw velocity and yaw angle (Fig. 2B). In this representation, a saccade against the direction of the grating described an upwards and rightwards arc (Fig. 2B, black lines). At the start of the movement, the head turned with the grating for a brief period (Fig. 2B, black arrows)—this was observed as a dip in the head position trace (Fig. 2A, black arrows). The head then accelerated smoothly and peaked in velocity halfway through the turn, before slowing down. In the final phase, the head angle overshot and moved with the grating for a brief period (Fig. 2A–B, white arrows), before the fly engaged in slow turns (Fig. 2B, grey lines). This phase structure of saccadic head turns—the trajectory of the head yaw angle and velocity—was preserved across fast (> 100°/s) head movements, with peak velocity and duration of the turns covarying approximately linearly (compare, e.g., ‘saccade 1’ and ‘saccade 2’ in Fig. 2B; positive fast turns in Fig. 2D–E).
The slow head movements also showed stereotypical structure in the phase plots (Fig. 2B). Sequences of slow compensatory motion were composed of small turns with initial counter-rotations and final overshoot sections of their trajectories, but unlike saccades they frequently lasted longer than 50 ms. The peak velocity and duration of the slow turns (> 50 ms) also covaried, but with peak velocities rarely exceeding 200°/s (slow head turns in Fig. 2C–E).
To classify head turns, we used thresholds that combined the peak angular velocity and duration (Fig. 2E). These thresholds identified fast, saccadic head turns as having an angular velocity > 100°/s, and slow head turns as having a duration > 50 ms, separated by linear boundaries. During the pre-stimulus period of progressive visual motion, there were saccadic and slow head movements in both yaw directions (Fig. 2D; S1A). During the yaw rotation stimuli, head saccades against the direction of motion predominated, while slow turns were most frequently syndirectional with the motion stimulus (Fig. 2E; S1A).
Rotational image motion selectively recruits OKN-like head movements.
The yaw movements of the fly’s head were constrained to a range of ± 25º (Fig. 3). The largest head saccades occurred when the head was to the side, with positive saccades occurring at negative yaw angles and vice versa (Fig. 3A Top). Head saccades occurred in both directions for the progressive motion, but the rate of positive saccades—moving against the direction of motion—increased during the rotational motion (Fig. 3A, Bottom – red traces). The rate of positive saccades significantly increased from 0.56 ± 0.07 turns/s across all pre-stimulus conditions to 0.79 ± 0.10 turns/s for the 4, 7 and 10 Hz rotational motion that generated robust OKN-like responses (mean ± S.E.M.; p = 0.004, paired t-test, N = 18; Fig. 3A, Bottom—red traces). Meanwhile, the rate of negative saccades decreased (from 0.52 ± 0.07 to 0.41 ± 0.07 turns/s; mean ± S.E.M.; p < 0.001, paired t-test, N = 18; Fig. 3A, Bottom—black traces). Slow head turns also occurred in both directions during the pre-stimulus progressive motion (Fig. 3B, Top, left). Rotational motion decreased the rate of positive slow head turns (0.56 ± 0.05 vs 0.30 ± 0.03 turns/s; mean ± S.E.M.; p < 0.001, paired t-test, N = 18), and raised the rate of negative slow head turns (0.74 ± 0.06 vs 1.25 ± 0.11 turns/s; mean ± S.E.M.; p < 0.001, paired t-test, N = 18; Fig. 3B, Bottom). Thus, while fast and slow head movements occur during progressive optic flow, rotational image motion selectively recruits fast head saccades against and slow head turns with the direction of motion.
Saccades occurred most frequently when the head aligned with the body axis (yaw = 0º; Fig. 3A, Bottom). In contrast, slow head turns were most often initiated when the head was to the side. For the progressive motion, positive and negative slow head turns most frequently began at yaw angles of − 3.5 ± 0.9º and 4.6 ± 0.7º (mean ± S.E.M.) respectively, values significantly different from zero (positive turns: p = 0.001; negative turns: p < 0.001, t-test, N = 18; Fig. 3B, Bottom—left). During rotational motion, the peak initial angles of the slow head turns remained significantly different from zero (positive turns: − 3.1 ± 1.0º; negative turns: 3.2 ± 0.6º, mean ± S.E.M.; positive slow turns: p = 0.006; negative slow turns: p < 0.001, t-test, N = 18; Fig. 3B, Bottom—right).
To analyze the sequence of head movements, we considered large head turns (≥ 2.5º), since saccade head movements are characteristically preceded and followed by small movements in the opposite directions (Fig. 1A). In the trials analyzed in Fig. 3, the first head movement ≥ 2.5º was a head saccade against the direction of motion in 54 ± 4% of trials (mean ± S.E.M.), and a slow head movement with the direction of motion in 28 ± 5% of trials (mean ± S.E.M.). For the trials where the first head movement ≥ 2.5º was a head saccade against the direction of motion followed by another turn ≥ 2.5º, the second turn was a slow head movement with the direction of motion in 83 ± 4% of trials (mean ± S.E.M.). As a result of the typical sequence of fast then slow head turns, the average change in the head yaw angle from the start of rotational image motion is a small net positive movement against the direction of motion, illustrated for one fly in Fig. S1B, and for all flies in Fig. S2. This average change contrasts with the head movements of Drosophila, where average head movements are with the direction of motion35,62,64, and follow a typical sequence of slow then fast head turns over longer periods of rotational image motion57,67.
Together, these results show that saccadic and slow head turns can be generated at all head yaw angles within the range of movement, and that combinations of fast and slow head movements most often begin with a saccade to the side, followed by a slow turn of the head back to the forward direction.
Flexible performance of OKN-like head movements, independent of the locomotor state
While the OKN–like responses, consisting of fast turns against followed by slow turns with the direction of motion, occurred for all stimulus conditions, flies did not always engage in this behavior. In some trials, we observed the two kinds of head movements independent of the locomotor state of the animal (Fig. 4A). The distribution of head movements was bimodal (Fig. 4A, Right) and we separated head movements from periods of the head being kept nearly still when the rotation angle was below a threshold value of 2.5°. Likewise, the distribution of walking speeds was bimodal (Fig. 4A, Top). In this case we considered flies to be walking when they exceeded a walking speed of > 3 mm/s, otherwise they were classified as standing (Fig. 4B). In standing flies the head was most frequently still, while walking flies were most likely moving their head (stationary flies, p = 0.001; walking flies, p = 0.013; Wilcoxon signed rank test with Holm-Bonferroni correction for multiple comparisons, N = 18; Fig. 4B). However, we also observed head movements in standing flies, and stationary heads in walking flies (Fig. 4B).
To quantify the effect of visual motion on yaw head rotations in trials where the fly moved her head, we calculated an optokinetic index (OKI). The OKI is defined as the yaw angle accumulated during fast saccadic head turns minus the accumulated angle due to slow turns during the period of visual stimulation, scaled to a unit time of 1 s (see “Methods”). Thus, if in one second a fly saccades 10° against the yaw grating, and then compensates for the motion of the grating with slow turns for 10°, the optokinetic index is 20°/s. The range of observed head movements was limited to a maximum of ~ 40° (Fig. 4A, Right). The largest head yaw ranges (max Δ head yaw, Fig. 4A) occurred for the slowest walking speeds, and fast walking flies (> 30 mm/s) either displayed large head movements or kept their heads still.
Impact of visual motion adaptation on temporal frequency tuning of the optokinetic index, OKI
During the yaw rotation stimulus period, the optokinetic index of walking flies varied with the temporal frequency of the moving grating, reaching a peak between 4 and 10 Hz and decreased at higher temporal frequencies (Fig. 5A). When a grey screen was shown in the pre-stimulus period (Fig. 5A, Left), the response to a yaw rotation stimulus presented at 0.25 Hz contrast frequency was low, and the peak response was an OKI of 13.5 ± 2.1°/s to a 7 Hz grating, decreasing to 3.6 ± 1.9°/s for 25 Hz motion. The OKI temporal frequency tuning curves are broadly consistent with the temporal frequency tuning of visual interneurons responding to wide-field horizontal motion. For example, in response to comparable stimuli the H2 LPTC has a peak response at a temporal frequency of 5 Hz, and a sustained non-zero response to 25 Hz gratings in walking flies44. During the pre-stimulus progressive motion period, there was a near-zero optokinetic index, with a small bias between 0.7 and 1.7°/s (mean values for 0 Hz and 10 Hz pre-stimulus conditions, respectively) that was not significantly different from zero except for the 10 Hz pre-stimulus condition (p = 0.01, t-test with Holm-Bonferroni correction for multiple comparisons, N = 18; Fig. 5B).
The mean walking speed of the trials varied with the temporal frequency of the pre-stimulus progressive visual motion (Fig. 5C). Flies viewing a grey screen or stationary grating in the pre-stimulus period respectively walked with a forward velocity of 11.2 ± 1.3 and 14.4 ± 1.2 mm/s during the rotation stimulus (mean ± S.E.M.; Fig. 5C). As the velocity of the pre-stimulus grating increased, the forward walking speed increased significantly to 20.5 ± 2.7 mm/s after a 4 Hz pre-stimulus grating (p = 0.007, paired t-test with Holm-Bonferroni correction for multiple comparisons, N = 18; Fig. 5C), and reduced to 18.2 ± 1.7 mm/s when the pre-stimulus motion was 10 Hz (mean ± S.E.M.; Fig. 5C). An increase in walking speed is associated with higher sensitivity to visual motion stimuli presented at speeds beyond the LPTC temporal frequency optimum (e.g., > 5 Hz for H244). For high stimulus temporal frequencies, the OKI varied across the pre-stimulus conditions in a way that qualitatively reflected the differences in forward walking speed. For example, for the 25 Hz stimulus, the OKI increased from 3.6 ± 1.9°/s when preceded by the grey screen, to 12.8 ± 2.5°/s when preceded by 4 Hz progressive motion (mean ± S.E.M., p = 0.009, Wilcoxon signed rank test, N = 18; Fig. 5D). This trend of linear scaling of OKI with walking speed was maintained for the responses to 10, 13, 18 and 25 Hz stimuli across all pre-stimulus conditions, with the linear fit explaining 15% of the variance in the OKI (R2 = 0.15, Fig. 5E).
Impact of walking speed on temporal frequency tuning of the OKI
To investigate further the effect of walking speed on the OKI, we compared the head movements of flies across all pre-stimulus conditions combined (Fig. 6). During the pre-stimulus progressive motion period, the OKI was near-zero, with mean values between 1.4 and 1.6°/s (compared to zero: 0–3 mm/s, p = 0.1; 3–25 mm/s, p = 0.002; 25–100 mm/s, p = 0.1; t-test with Holm-Bonferroni correction for multiple comparisons, N = 18; Fig. 6A). In stationary flies (< 3 mm/s), the OKI peaked at 7 Hz, and in slow (3–25 mm/s) and fast walking (25–100 mm/s) flies the OKI peak occurred at 10 Hz (Fig. 6B). The walking speed also significantly increased the magnitude of the peak OKI, from 15.3 ± 2.6°/s in stationary flies to 23.7 ± 2.7°/s in fast walking flies (p = 0.04, two-sample t-test, N = 18; Fig. 6B). At high temporal frequencies such as 18 and 25 Hz, the gain of the OKI was not significantly affected (25 Hz: p = 0.84; 18 Hz, p = 0.84, with Holm-Bonferroni correction for multiple comparisons; Wilcoxon rank sum test, N = 18; Fig. 6B). Neither the contribution of slow nor saccadic head movements significantly altered the responses to stimuli in this fraction of the input dynamic range (p > 0.05, with Holm-Bonferroni correction for multiple comparisons; Wilcoxon rank sum test, N = 18). Within the pre-stimulus conditions these trends were maintained, although with less statistical power. Together, these data indicate that the net amplitude of OKN-like head movements is correlated with walking speed, but that walking did not significantly increase the sensitivity to high temporal frequencies.
Discussion
We have shown that fast and slow head movements of flies combine to produce OKN-like responses to horizontal image motion, with fast head saccades against and slow head movements in the same direction as the retinal image shift (Fig. 2). In particular, we have shown how the kinematics of saccades and slow head turns can be discriminated in angular velocity and position phase space, allowing small amplitude saccades and slow turns to be detected (Fig. 2B,E). The head saccades were typically generated from central head positions, with slow turns bringing the head back into alignment with the longitudinal body axis (Fig. 3), a sequence of events that was hard to appreciate in previous work that quantified fly head movements with the average head position in the direction of the rotational image motion35,62,63,64. Head movements were not unconditional reflexes, as flies were able to keep their head still when presented with rotational image motion. The ability to suppress head movements did not require locomotion, in contrast to a previous report on head movement responses to yaw and pitch image motion63 (Figs. 4B, 6B). The temporal frequency tuning of the combined fast and slow optokinetic head movements matched that of upstream LPTCs reported in other studies43,44 (Fig. 5A). While there were modest correlations between walking speed and the magnitude of the OKN-like response (Figs. 5C–E, 6), there was little evidence for the profound effect motion adaptation has on the temporal frequency tuning or gain of LPTCs.
Our study has focused on yaw rotations, which have specific constraints and functional consequences compared to pitch and roll rotations16,68. Previous work has characterized how flying Drosophila stabilize their gaze for yaw image motion relative to the wide-field background, even when they produce saccadic body turns to track an object against a moving background65,66. Thus, rather than tracking the object by means of gaze shifts, the motion of the object is tracked against a stabilized background. This coordinated head and eye movement strategy has been argued to reduce motion blur and to increase the acceptable input dynamic range of wide-field image motion, allowing the visual system to better track motion in the visual field57. Our results are consistent with such a functional interpretation, and we propose that the slow head movements following rotational image motion are part of the blowfly’s gaze stabilization against wide-field background motion.
Another recent study in Drosophila has found that saccadic head turns during optokinetic head movements are characteristically preceded by large (± 9º) yaw angles that trigger reset, ballistic head movements against the direction of motion67. The kinematics of head movements we observed were stereotypical and consistent with ballistic turns, but in contrast to that study67, we rarely observed head saccades from large yaw angles (Fig. 3A). This difference may reflect the species studied56,58, or the effects on gaze stabilization of flying versus walking59,60, but may also be a consequence of the stimuli used or of the task performed. In the vertebrate optokinetic nystagmus, the frequency and amplitude of saccades are affected by the visual stimulus parameters, such as the spatial wavelength of the grating69, and by the instructions given to the subject, for example whether to ‘look’ at features in the grating or to ‘stare’ at the grating without trying to follow it15. Depending on these factors, saccades can stabilize the gaze with respect to the forward direction15,70 or may be triggered by the need to reset the angular position of the eyes to enable the next slow eye movement15,71.
In our data, flies were able to perform types of head movements other than those typical of the primate OKN, for example keeping their heads stationary (Fig. 4B) or saccading with the image motion (Figs. 2E, 3A). A limitation of our study is that we lack a detailed description of these other types of head movements required to quantify their properties and underlying control mechanisms. For example, Cellini et al. (2021) have suggested that flying Drosophila perform oscillatory microsaccades of ~ 1–2º when viewing stationary visual scenes67. These microsaccades may have contributed to many of the small head turns we recorded (Fig. 2D–E), and may be part of a gaze shift strategy used by the flies when not executing OKN-like head movements (Fig. 4B).
Two surprising results of our study were that prior motion adaptation does not dramatically reshape the gain or temporal frequency tuning of head movements (Fig. 5A), and that walking speed has only a modest effect on the response dynamics (Fig. 5E, 6A). These findings contrast with the strong effects of locomotion and motion adaptation on LPTCs43,44,46,48,51. Our visual stimuli were chosen to facilitate the comparison with recordings of an LPTC in a previous study on the effect locomotion has on the activity of the H2-cell, which is sensitive to regressive visual motion44. However, the left and right visual fields experience different directions of directional motion and visual motion adaptation in the switch from progressive to rotational pattern motion. In particular, the effect of the direction of pattern motion on visual motion adaptation has been explored in detail by Harris et al. (2000)48. They found that both preferred and anti-preferred motion shifted the contrast tuning to higher input dynamics and lowered the maximum response. However, the termination of motion in the preferred and anti-preferred direction resulted in a hyperpolarization and small depolarization, respectively. Thus, differentially adapted visual motion pathways in the left and right optic lobes may partially explain the observed differences between optokinetic-like head movements36,62,72,73 and our previously reported LPTC responses44. On the other hand, the difference between the behavioral results and the electrophysiological LPTC responses was consistent with recordings from downstream descending neurons sensitive to wide-field visual motion, which are not affected by visual motion adaptation and the animal’s locomotor state54,55. The mechanisms underlying such state-independent signaling are still not understood.
Our study further emphasizes the OKN-like eye movements as a general functional principle across phyla that facilitates visual processing by reducing wide-field retinal image shifts. It offers a conceptual framework to address the question of how state-dependent response properties found at central sensory interneurons are converted into state-invariant signals that are well suited to control adaptive motor behavior in a variety of visual surroundings. Recent work has highlighted how neck motor neurons and LPTCs receive sophisticated signals corresponding to the motor output and anticipated sensory effects of voluntary movements42,63,64,74,75,76. Well-characterized OKN-like head movements offer an opportunity for detailed future studies of the sensorimotor transformations along the comparatively short neural pathways that connect LPTCs and other sensory modalities with the fly neck motor system.
Methods
Animal preparation
We used 5–16 day old female blowflies, Calliphora vicina, from our colony which were kept at 23 °C and at 50% humidity on a 12 h ON 12 h OFF light cycle. Flies were briefly cooled and a cardboard tether waxed to the thorax. The wing joints were also waxed to prevent wing movements. A dot of white acrylic paint was applied to the dorsal edge of each compound eye as markers for measuring changes in the head yaw angle. The flies recovered for > 1 h in a large holding cage with ad libitum access to sucrose and water.
We recorded the head movements of 18 flies. Experiments were run at room temperature of 21 °C. Individual flies were used for sets of 64 trials lasting 5 min, and then returned to the holding cage while we downloaded movies taken with a high-speed video camera (see below). Flies were tested over a mean of three days, and nine days was the longest period over which a fly was tested.
Experimental setup
We positioned flies on a trackball system described previously44. The polystyrene trackball had a diameter of 48 mm and a mass of the 1.6 g. The mass of the flies was typically ≈100 mg, and lighter trackballs were lifted by the flies. The trackball movements were detected by the sensors of two Razer Imperator computer mice (Razer GmbH, Germany), calibrated by rotating a mounted trackball with a step motor along the pitch, yaw and roll axes. The trackball sensors were connected by USB to the controlling computer and driven with NI VISA drivers (National Instruments Corp., USA). The trackball position was sampled at 170 Hz.
The visual stimuli were displayed on two CRT monitors (Vision Master Pro 454, Iiyama, Japan; ‘screen 1’ and ‘screen 2’ in Fig. 1B). The monitors were separated by 80° azimuth, and spanned a visual field of 180° azimuth and 90° elevation (Fig. 1B). Visual patterns were displayed at 170 Hz using PowerStrip (3.90 Entech, Taiwan) and an Quadro NVS290 graphics card (Nvidia Corp., USA), and generated using VisionEgg 1.2.177, with a frame update rate of 170 Hz. To ensure that gratings were rendered and displayed correctly, we filmed the gratings at 500 frames per second with a high-speed camera when setting up the display, and then monitored frame update times using VisionEgg. Using the same display and method for identifying trials with dropped frames, we recorded high neuronal activities of H2-cells in walking flies in response to visual gratings moving at temporal frequencies of 25 Hz, e.g. Figure 3A of Longden et al.44. Thus, we were confident that the rendering of rapid gratings was sufficiently accurate to drive high neural responses.
The head position of the flies was filmed with a FASTCAM SA3 high-speed camera (Photron, UK) mounted vertically above the fly. The fly head movements were filmed at 500 Hz with a field of view of 128 × 128 pixels with 8 bits per pixel, controlled by the FASTCAM Viewer software (Photron, UK). Movies were stored on the camera’s internal hard drive and downloaded by an Ethernet connection after each trial.
Experiments were coordinated using Python 2.5 scripts running under Windows XP. The timing of each frame drawn from VisionEgg was used to query the trackball sensors using PyVISA. The filming was triggered at the start of a trial using Python NI-DAQmx package (National Instruments Corp., USA).
Visual stimuli
Trials lasted for 4 s. For the first 3 s, the flies viewed pre-stimulus visual gratings moving perpendicular to their vertical orientation, in the progressive front-to-back direction simulating forward translation, designed to result in different levels of visual motion adaptation (Fig. 1B). They then viewed for 0.5 s stimulus displays of wide-field horizontal image motion simulating yaw rotations, which were designed to test whether the flies performed head movements similar to an OKN. Finally, they viewed a blank grey screen for 0.5 s, which was included to mitigate the effects of visual motion adaptation between trials. We refer to the first 3 s of each trial as the pre-stimulus progressive image motion period (labelled ‘progressive’ in figures) and the subsequent 0.5 s as the stimulus rotational image motion period (labelled ‘rotation’ in figures). The visual stimuli were organized in this way to facilitate comparison with recordings of one LPTC in our prior study, in which we described the effect of locomotion on the activity of the H2 cell using a similar design44.
For all grating stimuli, the contrast (\(I_{{{\text{max}}}} {-}I_{{{\text{min}}}} /I_{{{\text{max}}}} + I_{{{\text{min}}}}\)) was 50%, and the spatial wavelength was 20° at the closest position to the fly. The grey screen conditions were luminance matched to the mean luminance of the gratings. There were 6 pre-stimulus conditions: a grey screen or gratings moving horizontally and progressively (in the front-to-back direction for the fly) on each screen to simulate the horizontal components of forward translation (Fig. 1B). For the five pre-stimulus conditions with moving gratings, the temporal frequencies were 0 Hz, 0.25 Hz, 1 Hz, 4 Hz and 10 Hz. There were 8 stimulus conditions: gratings moving with temporal frequencies of 0.25 Hz, 1 Hz, 4 Hz, 7 Hz, 10 Hz, 13 Hz, 18 Hz, and 25 Hz.
Trials were organized into sets of 64 trials, in which one fly was shown eight repetitions of all stimulus conditions, for one pre-stimulus condition, in a randomized order. In between the sets of 64 trials, flies were returned to the holding cage.
Image processing and data analysis
Images were processed using MATLAB 2014a (Mathworks, USA). The angle of the thorax was manually determined for each fly. An intensity threshold was then applied to frames to generate a binary image of the white dots painted on the head, from which the yaw angle of the head relative to the thorax was tracked. The head yaw angle traces, which were sampled at 500 Hz, were filtered with a Savitzky-Golay filter with an order 7 polynomial and a window of 51 data points, corresponding to a 102 ms time window. The head and trackball movement responses to the left-to-right rotation stimuli were inverted and combined with the right-to-left rotation stimuli.
To analyze head turns, we classified every head yaw angle as part of a leftward or rightward turn. By necessity, leftward and rightward head turns must alternate, so we identified all the points where the head yaw direction changed, and classified the head yaw angles between these points as leftward or rightward turns. For each head turn we calculated the duration and maximum velocity of the turn (Fig. 2D–E), the maximum change in yaw angle (Fig. 4A), as well as the dynamics of the turns (Fig. 2A–B). Positive and negative head yaw velocities indicate movements against and with the direction of rotational image motion, respectively. This convention was maintained during the pre-stimulus progressive image motion phase, where, for example, a rightward (clockwise) head turn defines a positive head yaw velocity.
To identify saccades, we used piecewise linear thresholds in a space of head turn duration (x-coordinate) and peak head yaw velocity (y-coordinate) shown in Fig. 2E: for head turn durations ≤ 50 ms, this was a peak head yaw velocity > 100°/s, or < − 100°/s; and for head turn durations > 50 ms, a point in this space above the line connecting [50 ms, 100°/s] and [100 ms, 1000°/s], or below the line connecting [50 ms, − 100°/s] and [100 ms, − 1000°/s]. We classified saccades as turns in one direction, and although saccades are preceded and followed by small turns in the opposite direction, as illustrated in Fig. 2A–B, we did not include these in the duration of the saccade. To identify slow turns, we also used piecewise linear thresholds in the space of head turn durations and peak head yaw velocities shown in Fig. 2E: for turn durations > 50 ms, slow head turns were points in this space between the lines connecting [50 ms, 100°/s] and [100 ms, 1000°/s], or below the line connecting [50 ms, − 100°/s] and [100 ms, − 1000°/s].
To identify stimulus periods of trials in which flies moved their heads, we calculated the maximum range of head yaw angles covered, max Δ head yaw, and applied a threshold of 2.5° (Fig. 4A). In trials in which the fly moved her head during the stimulus period, we calculated the optokinetic index by combining the sum of the yaw angle turned, θ, of all the positive saccades, \(\Sigma\uptheta _{sac}^{ + }\), and the sum of all the negative slow turns, \(- \Sigma\uptheta _{slow}^{ - }\). This combination \((\sum {\uptheta _{sac}^{ + } } -\uptheta _{slow}^{ - } )\) is the yaw angle covered by OKN-like head movements, that is, saccades against the direction of motion and slow movements with the direction of movement. We then subtracted the optokinetic nystagmus head movements in the opposing direction, the negative saccades, \(\Sigma \theta_{sac}^{ - }\), and positive slow turns, \(- \sum {\uptheta _{slow}^{ + } }\), and scaled this index by the time period assessed, \(\tau\):
The OKI, therefore, is the angle covered by OKN-like head movements per unit time.
For the data shown in Figs. 5 and 6, we used the responses of flies with ≥ 3 trials per stimulus temporal frequency condition.
To identify stimulus periods when the fly was stationary, we calculated the mean walking speed in the stimulus period and also the 0.5 s preceding the stimulus period, to rule out the effect of walking immediately prior to the stimulus period. We used a threshold of 3 mm/s to classify stationary trials (Fig. 4A). During the rotation stimulus, there was no significant optomotor response measured in the rotational velocity of the trackball78. This was likely a consequence of the rotation stimulus lasting for only 0.5 s, as comparable yaw rotation stimuli that were longer (4 s) generated robust optomotor responses using the same setup44.
Statistics
To check the normality of data, we used the Anderson–Darling test. For pairwise comparisons of normally distributed data, we used the paired Students t-test, and two-sample t-test when not every fly contributed data. For testing whether the mean of normally distributed data was significantly different from zero, we used a one sample Student’s t-test. For comparisons between data that was not normally distributed, we used the non-parametric Wilcoxon rank sum test for data where not every fly contributed, and the Wilcoxon signed rank test for pairwise data. To control for multiple comparisons, we used the Holm-Bonferroni correction.
References
Hardcastle, B. J. & Krapp, H. G. Evolution of biological image stabilization. Curr. Biol. 26, R1010–R1021 (2016).
Land, M. F. Motion and vision: why animals move their eyes. J. Comp. Physiol. A 185, 341–352 (1999).
Walls, G. L. The evolutionary history of eye movements. Vis. Res. 2, 69–80 (1962).
Collewijn, H. Optokinetic eye movements in the rabbit: input-output relations. Vis. Res. 9, 117–132 (1969).
Gioanni, H. Stabilizing gaze reflexes in the pigeon (Columba livia). I. Horizontal and vertical optokinetic eye (OKN) and head (OCR) reflexes. Exp. Brain Res. 69, 567–582 (1988).
Honrubia, V., Scott, B. J. & Ward, P. J. Experimental studies on optokinetic nystagmus I. Normal cats. Acta Otolaryngol. 64, 388–402 (1967).
Kopp, J. & Manteuffel, G. Quantitative analysis of salamander horizontal head nystagmus. Brain Behav. Evol. 25, 187–196 (1984).
Zamore, S. A., Araujo, N. & Socha, J. J. Visual acuity in the flying snake, Chrysopelea paradisi. Integrat. Comp. Biol. icaa143. https://academic.oup.com/icb/advance-article/doi/10.1093/icb/icaa143/5934511 (2020)
Daly, I. M., How, M. J., Partridge, J. C. & Roberts, N. W. Complex gaze stabilization in mantis shrimp. Proc. R. Soc. B 285, 20180594 (2018).
Horridge, G. A., Sandeman, D. C. & Callan, H. G. Nervous control of optokinetic responses in the crab Carcinus. Proc. R. Soc. B. 161, 216–246 (1964).
Shepheard, P. Control of head movement in the locust Schistocerca gregaria. J. Exp. Biol. 60, 735–767 (1974).
Cahill, H. & Nathans, J. The optokinetic reflex as a tool for quantitative analyses of nervous system function in mice: application to genetic and drug-induced variation. PLoS ONE 3, e2055 (2008).
Stahl, J. S. Using eye movements to assess brain function in mice. Vis. Res. 44, 3401–3410 (2004).
Huang, Y.-Y. & Neuhauss, S. C. F. The optokinetic response in zebrafish and its applications. Front. Biosci. 13, 1899–1916 (2008).
Rademaker, G. G. J. & Braak, J. W. G. T. On the central mechanism of some optic reactions. Brain 71, 48–76 (1948).
Gilbert, C., Gronenberg, W. & Strausfeld, N. J. Oculomotor control in calliphorid flies: head movements during activation and inhibition of neck motor neurons corroborate neuroanatomical predictions. J. Comp. Neurol. 361, 285–297 (1995).
Gronenberg, W. & Strausfeld, N. J. Descending neurons supplying the neck and flight motor of Diptera: physiological and anatomical characteristics. J. Comp. Neurol. 302, 973–991 (1990).
Gronenberg, W., Milde, J. J. & Strausfeld, N. J. Oculomotor control in calliphorid flies: organization of descending neurons to neck motor neurons responding to visual stimuli. J. Comp. Neurol. 361, 267–284 (1995).
Haag, J., Wertz, A. & Borst, A. Integration of lobula plate output signals by DNOVS1, an identified premotor descending neuron. J. Neurosci. 27, 1992–2000 (2007).
Huston, S. J. & Krapp, H. G. Visuomotor transformation in the fly gaze stabilization system. PLoS Biol. 6, e173 (2008).
Kauer, I., Borst, A. & Haag, J. Complementary motion tuning in frontal nerve motor neurons of the blowfly. J. Comp. Physiol. A 201, 411–426 (2015).
Namiki, S., Dickinson, M. H., Wong, A. M., Korff, W. & Card, G. M. The functional organization of descending sensory-motor pathways in Drosophila. Elife 7, e34272 (2018).
Nicholas, S., Supple, J., Leibbrandt, R., Gonzalez-Bellido, P. T. & Nordström, K. Integration of small- and wide-field visual features in target-selective descending neurons of both predatory and nonpredatory dipterans. J. Neurosci. 38, 10725–10733 (2018).
Nicholas, S., Leibbrandt, R. & Nordström, K. Visual motion sensitivity in descending neurons in the hoverfly. J. Comp. Physiol. A 206, 149–163 (2020).
Schnell, B., Ros, I. G. & Dickinson, M. H. A descending neuron correlated with the rapid steering maneuvers of flying Drosophila. Curr. Biol. 27, 1200–1205 (2017).
Strausfeld, N. J. & Gronenberg, W. Descending neurons supplying the neck and flight motor of Diptera: organization and neuroanatomical relationships with visual pathways. J. Comp. Neurol. 302, 954–972 (1990).
Strausfeld, N. J. & Seyan, H. S. Convergence of visual, haltere, and prosternal inputs at neck motor neurons of Calliphora erythrocephala. Cell Tissue Res. 240, 601–615 (1985).
Suver, M. P., Huda, A., Iwasaki, N., Safarik, S. & Dickinson, M. H. An array of descending visual interneurons encoding self-motion in Drosophila. J. Neurosci. 36, 11768–11780 (2016).
Wertz, A., Borst, A. & Haag, J. Nonlinear integration of binocular optic flow by DNOVS2, a descending neuron of the fly. J. Neurosci. 28, 3131–3140 (2008).
Krapp, H. G. & Hengstenberg, R. Estimation of self-motion by optic flow processing in single visual interneurons. Nature 384, 463–466 (1996).
Krapp, H. G., Hengstenberg, R. & Egelhaaf, M. Binocular contributions to optic flow processing in the fly visual system. J. Neurophysiol. 85, 724–734 (2001).
Longden, K. D., Wicklein, M., Hardcastle, B. J., Huston, S. J. & Krapp, H. G. Spike burst coding of translatory optic flow and depth from motion in the fly visual system. Curr. Biol. 27, 3225-3236.e3 (2017).
Bishop, L. G. & Keehn, D. G. Neural correlates of the optomotor response in the fly. Kybernetik 3, 288–295 (1967).
Busch, C., Borst, A. & Mauss, A. S. Bi-directional control of walking behavior by horizontal optic flow sensors. Curr. Biol. 28, 4037-4045.e5 (2018).
Haikala, V., Joesch, M., Borst, A. & Mauss, A. S. Optogenetic control of fly optomotor responses. J. Neurosci. 33, 13927–13934 (2013).
Hausen, K. & Wehrhahn, C. Neural circuits mediating visual flight control in flies. II. Separation of two control systems by microsurgical brain lesions. J. Neurosci. 10, 351–360 (1990).
Douglass, J. K. & Strausfeld, N. J. Retinotopic pathways providing motion-selective information to the lobula from peripheral elementary motion-detecting circuits. J. Comp. Neurol. 457, 326–344 (2003).
Maisak, M. S. et al. A directional tuning map of Drosophila elementary motion detectors. Nature 500, 212–216 (2013).
Serbe, E., Meier, M., Leonhardt, A. & Borst, A. Comprehensive characterization of the major presynaptic elements to the Drosophila OFF motion detector. Neuron 89, 829–841 (2016).
Strother, J. A. et al. The emergence of directional selectivity in the visual motion pathway of Drosophila. Neuron 94, 168-182.e10 (2017).
Chiappe, M. E., Seelig, J. D., Reiser, M. B. & Jayaraman, V. Walking modulates speed sensitivity in Drosophila motion vision. Curr. Biol. 20, 1470–1475 (2010).
Fujiwara, T., Cruz, T. L., Bohnslav, J. P. & Chiappe, M. E. A faithful internal representation of walking movements in the Drosophila visual system. Nat. Neurosci. 20, 72–81 (2017).
Jung, S. N., Borst, A. & Haag, J. Flight activity alters velocity tuning of fly motion-sensitive neurons. J. Neurosci. 31, 9231–9237 (2011).
Longden, K. D., Muzzu, T., Cook, D. J., Schultz, S. R. & Krapp, H. G. Nutritional state modulates the neural processing of visual motion. Curr. Biol. 24, 890–895 (2014).
Maimon, G., Straw, A. D. & Dickinson, M. H. Active flight increases the gain of visual motion processing in Drosophila. Nat. Neurosci. 13, 393–399 (2010).
Brenner, N., Bialek, W. & de Ruyter van Steveninck, R. Adaptive rescaling maximizes information transmission. Neuron 26, 695–702 (2000).
Fairhall, A. L., Lewen, G. D., Bialek, W. & de Ruyter Van Steveninck, R. R. Efficiency and ambiguity in an adaptive neural code. Nature 412, 787–792 (2001).
Harris, R. A., O’Carroll, D. C. & Laughlin, S. B. Contrast gain reduction in fly motion adaptation. Neuron 28, 595–606 (2000).
Maddess, T., Laughlin, S. B., Horridge, G. A. & Levick, W. R. Adaptation of the motion-sensitive neuron H1 is generated locally and governed by contrast frequency. Proc. R. Soc. B. 225, 251–275 (1985).
Nordström, K., Moyer de Miguel, I. & O’Carroll, D. C. Rapid contrast gain reduction following motion adaptation. J. Exp. Biol. 214, 4000–4009 (2011).
Reisenman, C., Haag, J. & Borst, A. Adaptation of response transients in fly motion vision. I: Experiments. Vis. Res. 43, 1291–1307 (2003).
Longden, K. D. & Krapp, H. G. Octopaminergic modulation of temporal frequency coding in an identified optic flow-processing interneuron. Front. Syst. Neurosci. 4, 153 (2010).
Lüders, J. & Kurtz, R. Octopaminergic modulation of temporal frequency tuning of a fly visual motion-sensitive neuron depends on adaptation level. Front. Integr. Neurosci. 9, 36 (2015).
Ache, J. M., Namiki, S., Lee, A., Branson, K. & Card, G. M. State-dependent decoupling of sensory and motor circuits underlies behavioral flexibility in Drosophila. Nat. Neurosci. 22, 1132–1139 (2019).
Nicholas, S. & Nordström, K. Persistent firing and adaptation in optic-flow-sensitive descending neurons. Curr. Biol. 30, 2739-2748.e2 (2020).
Blaj, G. & van Hateren, J. H. Saccadic head and thorax movements in freely walking blowflies. J. Comp. Physiol. A 190, 861–868 (2004).
Cellini, B. & Mongeau, J.-M. Active vision shapes and coordinates flight motor responses in flies. Proc. Natl Acad. Sci. U.S.A. 117, 23085–23095 (2020).
Geurten, B. R. H., Jähde, P., Corthals, K. & Göpfert, M. C. Saccadic body turns in walking Drosophila. Front. Behav. Neurosci. 8, 365 (2014).
Hateren, J. H. & Schilstra, C. Blowfly flight and optic flow. II. Head movements during flight. J. Exp. Biol. 202(Pt 11), 1491–1500 (1999).
Kress, D. & Egelhaaf, M. Head and body stabilization in blowflies walking on differently structured substrates. J. Exp. Biol. 215, 1523–1532 (2012).
Land, M. F. Head movement of flies during visually guided flight. Nature 243, 299–300 (1973).
Duistermars, B., Care, R. & Frye, M. Binocular interactions underlying the classic optomotor responses of flying flies. Front. Behav. Neurosci. 6, 6 (2012).
Haag, J., Wertz, A. & Borst, A. Central gating of fly optomotor response. Proc. Natl Acad. Sci. U.S.A. 107, 20104–20109 (2010).
Kim, A. J., Fenk, L. M., Lyu, C. & Maimon, G. Quantitative predictions orchestrate visual signaling in Drosophila. Cell 168, 280-294.e12 (2017).
Fox, J. L. & Frye, M. A. Figure-ground discrimination behavior in Drosophila. II. Visual influences on head movement behavior. J. Exp. Biol. 217, 570–579 (2014).
Mongeau, J.-M. & Frye, M. A. Drosophila spatiotemporally integrates visual signals to control saccades. Curr. Biol. 27, 2901-2914.e2 (2017).
Cellini, B., Salem, W. & Mongeau, J.-M. Mechanisms of punctuated vision in fly flight. Curr. Biol. 31, 4009-4024.e3 (2021).
Rosner, R. & Warzecha, A.-K. Relating neuronal to behavioral performance: variability of optomotor responses in the blowfly. PLoS ONE 6, e26886 (2011).
Cheng, M. & Outerbridge, J. S. Inter-saccadic interval analysis of optokinetic nystagmus. Vision Res. 14, 1053–1058 (1974).
Konen, C. S., Kleiser, R., Seitz, R. J. & Bremmer, F. An fMRI study of optokinetic nystagmus and smooth-pursuit eye movements in humans. Exp. Brain Res. 165, 203–216 (2005).
Carpenter, R. H. S. Movements of the eyes (Pion Ltd, 1988).
Wehrhahn, C. & Hausen, K. How is tracking and fixation accomplished in the nervous system of the fly?. Biol. Cybern. 38, 179–186 (1980).
Tammero, L. F., Frye, M. A. & Dickinson, M. H. Spatial organization of visuomotor reflexes in Drosophila. J. Exp. Biol. 207, 113–122 (2004).
Huston, S. J. & Krapp, H. G. Nonlinear integration of visual and haltere inputs in fly neck motor neurons. J. Neurosci. 29, 13097–13105 (2009).
Fujiwara, T., Brotas, M. & Chiappe, M. E. Walking strides direct rapid and flexible recruitment of visual circuits for course control in Drosophila. bioRxiv 2021.10.10.463817 (2021)
Fenk, L. M., Kim, A. J. & Maimon, G. Suppression of motion vision during course-changing, but not course-stabilizing, navigational turns. Curr. Biol. 31, 4608-4619.e3 (2021).
Straw, A. D. Vision egg: an open-source library for real time visual stimulus generation. Front. Neuroinformatics 2, 4 (2008).
Schützenberger, A. Behavioural characterisation of the blowfly gaze stabilisation system. MSc Thesis: Imperial College London (2014).
Acknowledgements
We thank Martina Wicklein for helpful discussions. We thank Graduate School of Systemic Neurosciences at the Ludwig-Maximilian-Universität for administrative support and Axel Borst for internal supervision within the GSN-LMU Master’s degree program for A.S. This work was funded by the Erasmus internship program for A.S. and award FA8655-09-1-3083 to H.G.K from the US Air Force Office of Scientific Research and the European Office of Aerospace Research and Development. K.D.L. was additionally supported by HHMI Janelia Research Campus funding to Michael Reiser.
Author information
Authors and Affiliations
Contributions
K.D.L. conceived study, contributed to study design, analyzed data, wrote the manuscript, and provided supervision; A.S. contributed to study design, performed experiments and initial data analysis; B.J.H. contributed to study design and provided supervision; H.G.K. conceived study, contributed to study design, critically revised the manuscript, and provided supervision and funding. All authors gave final approval for publication and agree to be held accountable for the work performed therein.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Longden, K.D., Schützenberger, A., Hardcastle, B.J. et al. Impact of walking speed and motion adaptation on optokinetic nystagmus-like head movements in the blowfly Calliphora. Sci Rep 12, 11540 (2022). https://doi.org/10.1038/s41598-022-15740-3
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-022-15740-3
This article is cited by
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.