(
A–C) Segmentation of data into moving and non-moving epochs for analysis. (
A) Distribution of ground speed values for all flies during trials with a 10 s odor pulse (n = 75 flies, 1306 trials; data from
Figure 1). Y axis on a logarithmic scale. Note large peak close to 0 mm/s corresponding to non-moving epochs. (
B) Probability of moving at greater than 1 mm/s increases during odor and remains elevated for tens of seconds after odor offset. PID measurement (top trace) and probability of movement (bottom trace) during a 10 s odor pulse (mean
SEM; n = 75 flies, 1306 trials; data from
Figure 1). Thus, if non-moving periods are not omitted from computation of movement parameters such as ground speed and angular velocity, the means of these parameters are heavily influenced by the fraction of non-moving flies (i.e. the number of zeros) in each epoch. (
C–D) Effects of low-pass filtering on estimates of behavioral responses to fluctuating stimuli. (
C) Upwind velocity (top) and ground speed (middle) of flies in response to an ascending frequency sweep stimulus (mean
SEM; n = 31 flies, 346 trials; data from
Figure 3E). Blue traces: data as it was used in
Figure 3. Red traces: data processed exactly as the blue traces, except we omitted the low-pass filtering at 2.5 Hz. Note that the difference between the two sets is small and mostly shows as increased high-frequency noise in the periods before the stimulus. Bottom black trace: stimulus. (
D) Same as C, showing turn probability (top) and curvature (middle) in response to the same stimulus. (
E–F) Reliable modulation of behavior at high frequencies can be observed in response to valve clicks. (
E) Mean ground speed (n = 31 flies, 248 trials) in response to a random train of valve clicks with a 50% probability of occurrence. Vertical gray lines: time at which the odor valves opened or closed, producing a click sound and slight vibration. Note that flies slowed their ground speed after every click. (
F) Modulation of ground speed during random valve clicks (black trace; mean
SEM (absolute values); n = 31 flies, 248 trials; data in E) and during every cycle of an ascending frequency sweep stimulus (green trace; mean
SEM; n = 31 flies, 346 trials; data and analysis in
Figure 3E, inset). Frequency of valve clicks ranged from 0.18 to 2 Hz and was calculated as one over the inter-click interval (responses to the first click were ignored).