Skip to main content
Nature Portfolio logoLink to Nature Portfolio
. 2022 Feb 23;603(7899):119–123. doi: 10.1038/s41586-022-04428-3

A biophysical account of multiplication by a single neuron

Lukas N Groschner 1,✉,#, Jonatan G Malis 1,#, Birte Zuidinga 1, Alexander Borst 1,
PMCID: PMC8891015  PMID: 35197635

Abstract

Nonlinear, multiplication-like operations carried out by individual nerve cells greatly enhance the computational power of a neural system13, but our understanding of their biophysical implementation is scant. Here we pursue this problem in the Drosophila melanogaster ON motion vision circuit4,5, in which we record the membrane potentials of direction-selective T4 neurons and of their columnar input elements6,7 in response to visual and pharmacological stimuli in vivo. Our electrophysiological measurements and conductance-based simulations provide evidence for a passive supralinear interaction between two distinct types of synapse on T4 dendrites. We show that this multiplication-like nonlinearity arises from the coincidence of cholinergic excitation and release from glutamatergic inhibition. The latter depends on the expression of the glutamate-gated chloride channel GluClα8,9 in T4 neurons, which sharpens the directional tuning of the cells and shapes the optomotor behaviour of the animals. Interacting pairs of shunting inhibitory and excitatory synapses have long been postulated as an analogue approximation of a multiplication, which is integral to theories of motion detection10,11, sound localization12 and sensorimotor control13.

Subject terms: Neural circuits, Motion detection, Biophysical models


Release from shunting inhibition and coincident excitation implement a multiplication-like synaptic interaction in motion-sensing neurons of Drosophila melanogaster.

Main

Motion vision in insects represents a textbook example14 of nonlinear signal processing by a single neuron. Each photoreceptor of the compound eye captures changes in light intensity, but it is blind to the direction of motion. To compute visual motion, the signals of at least two neighbouring photoreceptors must be processed nonlinearly by a downstream local motion detector (Fig. 1a). In the Hassenstein–Reichardt model10, multiplication ensures detector output only if the two signals coincide. The coincidence results from asymmetric temporal filtering of the input signals and the sequence of photoreceptor activation, one after the other, as it unfolds during visual motion in the detector’s preferred direction (PD). The Barlow–Levick model of motion vision, which was first proposed for the rabbit retina15, uses a divisive nonlinearity to cancel responses to motion in the detector’s null direction (ND).

Fig. 1. Receptive fields of direction-selective T4 neurons and their presynaptic partners.

Fig. 1

a, The circuit architecture for visual ON motion detection involving a multiplicative interaction (×) between synapses of glutamatergic Mi9 and synapses of cholinergic Mi1/Tm3 neurons and a divisive interaction (÷) between synapses of Mi1/Tm3 and synapses of GABAergic C3/Mi4 neurons. Non-columnar inputs from T4, TmY15 and CT1 neurons are shaded. The dashed lines show the column borders. b, A T4 dendrite with subcellular segregation of glutamatergic (green), cholinergic (red) and GABAergic synapses (blue). Data from ref. 7. c, Targeted patch-clamp recording in vivo during visual stimulation. d, Average spatial receptive fields of input neuron classes obtained by reverse correlation (corr.) of membrane potentials and white-noise stimuli. AU, arbitrary units. e, The average spatial receptive fields of T4 neurons (left) representing cross-sections of the spatiotemporal receptive field (right) at two time points (dashed lines). f, Exemplary membrane potential recordings of T4 neurons in response to visual stimulation with square-wave gratings moving in the directions indicated on top. g, Directional (left) and frequency tuning (right) of T4 neurons based on the change in membrane potential (∆Vm) in response to visual stimulation with square-wave gratings. Data are mean ± s.e.m. n values indicate the number of cells.

Source data.

The visual system of Drosophila is compatible with both models (Fig. 1a). T4 neurons, which are functionally equivalent to the nonlinear stages of both models, respond selectively to luminance increments moving in one out of four cardinal directions5. Their direction selectivity arises in the second optic neuropil5,16,17, where spatial information is preserved in a retinotopic columnar organization18. Each T4 dendrite innervates approximately seven columns—at least three in a row along the neuron’s PD6 (Fig. 1b)—and, therefore, samples from multiple adjacent points in visual space. Recent studies6,7 identified most—if not all—columnar medulla intrinsic (Mi), transmedullary (Tm) and centrifugal (C) neurons that form synapses at distinct locations along a T4 neuron’s dendrite: glutamatergic Mi9 neurons at the distal branches (where stimuli moving in the T4 cell’s PD first affect its membrane potential), cholinergic Tm3 and Mi1 neurons at the centre, and GABAergic Mi4 and C3 neurons at the proximal segment (Fig. 1b). The emerging three-legged circuit motif involves a divisive interaction between cholinergic and GABAergic synapses and a multiplicative interaction between glutamatergic and cholinergic synapses17,1922 (Fig. 1a, b). However, crucial assumptions concerning the multiplicative term of this model21 remain untested: (1) the multiplication-like synaptic interaction involves disinhibition; (2) the supralinearity arises from the T4 cells’ passive membrane properties; and (3) it sharpens the directional tuning of the neurons and the optomotor acuity of the animal.

The first assumption, that multiplication requires release from inhibition, hinges on the conditions that the signals carried by glutamatergic Mi9 neurons are of opposite polarity to those of the other input elements and that glutamate controls the input resistance of T4 neurons through shunting inhibition23. Direct measurements of input resistance and membrane voltage are possible only through patch-clamp experiments, which we conducted in vivo in tethered flies, guided by cell-type-specific expression of green fluorescent protein (GFP; Extended Data Fig. 1a). We recorded the membrane potentials of T4 cells and of their presynaptic partners while projecting a 60 Hz spatiotemporal binary white-noise stimulus with a pixel size of 2.8° onto the fly’s eye. To characterize the receptive fields of the neurons, we cross-correlated the luminance of each pixel with the recorded voltage (Fig. 1c–e and Extended Data Fig. 1b). We found that the membrane potentials of Tm3, Mi1, Mi4 and C3 neurons were positively correlated with luminance, whereas those of Mi9 neurons were anticorrelated (Fig. 1d). The negative correlation was due to a rapid hyperpolarization following increments in luminance, as opposed to a possible depolarization in response to luminance decrements (Extended Data Fig. 2). Thus, the Mi9 neuron maintains a degree of continuous activity in darkness that ceases abruptly when the centre of its receptive field is stimulated by light. Yet, while the delayed inhibition mediated by GABAergic inputs24 was clearly discernible in the spatiotemporal receptive fields of direction-selective T4 neurons (Fig. 1e–g), the contribution of Mi9 neurons was not immediately apparent.

Extended Data Fig. 1. Neuronal morphologies and receptive fields of the ON motion detection circuit.

Extended Data Fig. 1

a, Maximum intensity projections of confocal stacks with GFP expression in the respective neuronal population (green) and single biocytin-filled neurons (white) recovered after patch-clamp recordings. Scale bars, 20 μm. Micrographs are representative of independent experiments in different flies (Mi9: n = 5, Tm3: n = 3, Mi1: n = 3, Mi4: n = 4, C3: n = 3, T4: n = 7). b, Individual spatial receptive fields of T4 and their columnar input neurons obtained by reverse correlation (corr.) of membrane potentials and white noise stimuli. AU, arbitrary units. Filtered averages are shown in Fig. 1d, e.

Source data

Extended Data Fig. 2. Mi9 neurons hyperpolarize in response to luminance increments.

Extended Data Fig. 2

Membrane potential responses of the same Mi9 neurons to increments (left) and decrements in luminance (right) presented in a 5° circle at the centre of the neurons’ receptive fields on a dark or bright background, respectively. Traces on top are normalized light intensities at the respective receptive field centre. The light lines represent technical replicates; the dark lines represent the mean; n = 14 technical replicates/2 cells/2 flies. Note the difference in membrane potential depending on the baseline luminance.

Source data

To test the effect of glutamate—and, indirectly, that of Mi9—on T4 neurons, we applied the neurotransmitter directly to T4 dendrites (Fig. 2a). Pneumatic ejection of glutamate transiently hyperpolarized T4 cells by 3.72 ± 0.61 mV (mean ± s.e.m.; Fig. 2b, c). The mild hyperpolarization was paralleled by a 25.27% decrease in input resistance, which was fully reversible. Repeated applications of glutamate enabled us to toggle T4 cells between states of high and low resistance (Fig. 2d, e). Targeted RNA interference (RNAi) with transcripts of GluClα8, the most highly expressed glutamate receptor gene in T4 neurons2528, blocked glutamate-gated whole-cell currents (Fig. 2f) and abolished the effects of glutamate on membrane potential and input resistance (Fig. 2b, c, e), while leaving the morphology of T4 cells intact (Extended Data Fig. 3). Importantly, post-transcriptional silencing of GluClα caused an average 11.94 mV depolarization of the resting membrane potential (Fig. 2g) and an increase in input resistance from 5.28 ± 0.12 to 6.70 ± 0.16 GΩ (mean ± s.e.m.; Fig. 2h), measured under dark conditions. This speaks for a persistent release of glutamate in the dark that keeps GluClα channels open and clamps the membrane potential of T4 neurons close to the equilibrium potential of chloride—a GluClα-mediated short circuit that curtails any excitation, unless glutamatergic Mi9 neurons are switched off first.

Fig. 2. Glutamate controls T4 neuron excitability through GluClα.

Fig. 2

a, Glutamate application during whole-cell recording. b, Membrane potential traces of exemplary T4 neurons in response to 100 ms glutamate pulses (Glu) in flies expressing GFP (black; T4 > GFP, full genotypes are provided in the Methods) or GFP + GluClαRNAi (teal; T4 > GluClαRNAi) under T4-cell-specific GAL4 control. Ten technical replicates per genotype are shown. c, The average membrane potentials of T4 neurons expressing GFP (black) or GFP + GluClαRNAi (teal) before and after glutamate application (green). A significant effect of glutamate, determined using a two-tailed paired Student’s t-test, is indicated; *P = 2.1 × 10−6. The light lines represent individual cells. The dark lines represent the mean ± s.e.m. d, Voltage responses of one exemplary T4 neuron to current steps (top) without (left) and with (right) prior glutamate application. e, Input resistances of T4 neurons expressing GFP (black) or GFP + GluClαRNAi (teal) during (+) and in between (–) repeated glutamate applications. The light lines represent individual cells. The dark lines represent the mean ± s.e.m. Two-way repeated-measures analysis of variance (ANOVA) detected a significant effect of glutamate (P = 3.5 × 10–12) and a significant glutamate × genotype interaction (P = 1.6 × 10–11). f, Average whole-cell currents in response to 100 ms glutamate pulses at different voltages (left and middle) and current–voltage relationships (right) of T4 neurons expressing GFP (black) or GFP + GluClαRNAi (teal). Data are mean ± s.e.m. g, h, Resting membrane potentials (g) and input resistances (h) of T4 neurons expressing GFP (black) or GFP + GluClαRNAi (teal) measured under dark conditions. Significant differences between genotypes, determined using two-tailed Mann–Whitney U-tests, are indicated; *P = 3.4 × 10−23 (g), *P = 4.8 × 10–11(h). n values indicate the number of cells.

Source data.

Extended Data Fig. 3. Morphology of wild-type and GluClα-deficient T4 neurons.

Extended Data Fig. 3

Maximum intensity projections of representative confocal stacks of T4 neurons expressing GFP (left) or GFP and GluClαRNAi (right), each containing an individual biocytin-filled neuron (white) recovered after patch-clamp recording. The soma of the GluClαRNAi-expressing neuron was lost during pipette removal. Scale bars, 20 μm. Micrographs are representative of independent experiments in different flies (T4 > GFP: n = 7 and T4 > GFP + GluClαRNAi: n = 3). At the light microscopic level, no obvious genotype-specific morphological differences were detectable.

To break down the precise temporal sequences of synaptic signals evoked by visual stimulation, we obtained membrane potential recordings while moving contrast edges through the T4 neuron’s receptive field in its PD and ND (Fig. 3). Bright ON and dark OFF edges travelling at a velocity of 30° s−1 revealed distinct, fingerprint-like signatures of electrical activity. To explain these signatures in terms of their underlying synaptic conductances, we subjected the five columnar input elements of T4 cells to an identical set of stimuli (Fig. 3a). Our reconstructions of the receptive fields of the cells (Extended Data Fig. 1b) enabled a post hoc alignment of their responses, which we used to recreate the direction-dependent input sequences that are expected to shape the voltage responses of a T4 cell (Fig. 3b, c). With all input signals and the respective reversal potentials at hand (Extended Data Fig. 4a–d), we simulated the electrical equivalent circuit of a passive single-compartment T4 neuron (Fig. 3b, c and Extended Data Fig. 5a). Measured membrane voltages of presynaptic neurons were transformed into postsynaptic conductance values using two free parameters per neuron: a gain (that is, synaptic weight) and a threshold below which no transmission occurred. The T4 neurons’ electrically compact morphology (Extended Data Fig. 4e, f) led us to neglect the membrane capacitance. After estimating the model parameters on the basis of a least-squares fit to the average voltage responses of T4 neurons, we quantified parameter uncertainty using an artificial neural network29. Examination of the full range of parameter combinations compatible with our measurements confirmed the estimated values, which fell within regions of high conditional probability (Extended Data Fig. 6). In agreement with our second assumption, the voltage responses of T4 neurons to all four stimuli were captured by our passive conductance-based model (Fig. 3b, c), which naturally joins an excitatory and an inhibitory signal in a supralinear manner. While, in a passive membrane, two excitatory inputs are bound to combine sublinearly (Extended Data Fig. 5b), the coincidence of an excitatory input with the release from an inhibitory one will almost invariably yield a supralinear response1,21 (Extended Data Fig. 5c). Exceptions are rare and can occur only under conditions in which the reversal potential of the excitatory current is closer to the leak reversal potential than that of the inhibitory current (Extended Data Fig. 5d, e and Supplementary Equations). For ON edge motion in the PD, a brief interval of minimal inhibitory conductance—a window of opportunity30—opened up (Fig. 3b). The transient lack of inhibition led to the amplification of excitatory inputs from Mi1 and Tm3 neurons during the upstroke of the T4 cell’s voltage trajectory (Fig. 3b and Extended Data Fig. 7). Intuitively, this can be explained by the coincident drop in overall conductance or, in other words, the increase in input resistance.

Fig. 3. Conductance-based T4 neuron model.

Fig. 3

a, Aligned membrane voltage (Vm) responses of columnar T4 input neurons to ON and OFF edges moving at 30° s−1. Time course of normalized light intensity at the receptive field centre is shown at the top. The light lines represent individual cells. The dark lines represent the mean. b, c, Conductance-based biophysical simulations of the membrane voltage (Vm) of a T4 neuron in response to ON (b) and OFF (c) edge motion. Input signals were time-shifted, as evident from light intensities at receptive field centres (top), to simulate visual motion in the T4 neuron’s PD and ND, respectively. The voltage signals of presynaptic neurons were converted into normalized postsynaptic conductances (g/gleak, centre) using a threshold and gain obtained by fitting the model (dashed pink) to measured T4 voltage responses (solid black, bottom). Conductance values are mean and area under curve. Voltage values are mean ± s.e.m. The arrowhead in b marks the window of opportunity when a minimum of shunting inhibition (green/blue) coincides with excitation (red). n values indicate the number of cells.

Source data.

Extended Data Fig. 4. Measured and modelled T4 whole-cell currents in response to three types of neurotransmitter.

Extended Data Fig. 4

a, Placement of pipettes for neurotransmitter application during whole-cell recording. b, Average whole-cell currents of T4 neurons in response to 100 ms applications of neurotransmitter to the dendrite at different holding potentials (left) and full current-voltage relationships (right). Coloured dashed lines are linear fits to measurements taken at membrane potentials in the physiologically observed range between −100 and −40 mV. Filled triangles denote reversal potentials obtained by linear fits to currents measured at the soma (Erev Soma). Data are mean ± s.e.m. n values indicate the number of cells. The inward rectification of GABA-induced currents could be due to coupling of GABAB receptors to inwardly-rectifying potassium channels. c, Electron microscopic reconstruction of a T4 neuron7 used for compartmental modelling. Pipettes indicate approximate locations of conductances and the recording site for simulations in d. d, Somatic currents at different holding potentials simulated during 100 ms openings of conductances at the electron microscopically-determined synaptic sites corresponding to the respective transmitter (left) and current-voltage relationships (right). Conductances were adjusted in order to approximate measured reversal potentials at the soma. Filled triangles denote modelled reversal potentials at the soma (Erev Soma); open triangles denote corresponding reversal potentials at the dendritic root (Erev Dend.). Note the predicted deviation of Erev Soma from Erev Dend. for currents induced by acetylcholine, but not for currents induced by glutamate or GABA. e, Pipettes indicate locations of recording sites on the compartmental model (c) for simulations in f. f, Ratio of somatic to dendritic membrane potential in response to dendritic injection of 10 pA of depolarizing current as a function of membrane resistance (Rm) and axial resistivity (Ra) in the model. Note that soma and dendrite were quasi-isopotential (ratio > 0.9) across a wide range of parameters. Asterisk indicates parameter set used for simulations in d. g, Modelled somatic input resistance as a function of Rm and Ra. Solid and dashed lines correspond to the measured mean input resistance ± s.d. for wild-type T4 neurons (as shown in Fig. 2h). Asterisk indicates parameter set used for simulations in d.

Source data

Extended Data Fig. 5. Nonlinear response properties of model circuits.

Extended Data Fig. 5

a, Resistor-capacitor equivalent circuit of a passive T4 neuron used for simulations in Fig. 3b, c, and 5a and Extended Data Figs. 6, 7, and 8. EGlu, EACh, and EGABA denote the equilibrium potentials and gGlu, gACh, and gGABA denote the conductances associated with glutamate, acetylcholine and GABA, respectively. The signals of Mi9 neurons control gGlu, the signals of Tm3 and Mi1 neurons control gAch, and those of C3 and Mi4 neurons act on gGABA. Vm, membrane potential; Cm, membrane capacitance; gleak, leak conductance. b, c, Top: Equivalent circuits of two passive isopotential neurons. One neuron (b) receives two input signals x and y, which control the excitatory conductances gexc1 and gexc2, respectively. The other neuron (c) receives one input signal x controlling the excitatory conductance gexc and another input signal y of opposite polarity that controls the inhibitory conductance ginh. Eexc, Einh, and Eleak are the equilibrium potentials of excitatory, inhibitory, and leak currents, respectively. Bottom: Nonlinearity as a function of signal amplitude for two excitatory conductances (b) and for one excitatory and the release from an inhibitory conductance (c). Nonlinearity was defined as the difference between the voltage response to both coincident inputs and the sum of the responses to each individual input. Equilibrium potentials were set to Eexc − Eleak = 50 mV and Einh − Eleak = −10 mV. d, e, Nonlinearity of the circuit in c as a function of Eexc and Einh. Conductances were set to gexc = ginh = gleak (d) or gexc = ginh = 0.5 × gleak (e). Disinhibition supports supralinear responses over a wide range of equilibrium potentials and input signal amplitudes.

Source data

Extended Data Fig. 6. Free parameters of the conductance-based T4 neuron model.

Extended Data Fig. 6

Samples (n = 10,000) drawn from conditional probability distributions of input neuron gains and thresholds, leak reversal potential (Eleak), and leak conductance (gleak) consistent with measured voltage traces of T4 neurons inferred by deep neural density estimation29. Histograms of individual parameter distributions are shown at the bottom; the remaining panels each contain the relationship between two respective parameters. Pink arrowheads and crosses indicate model parameters used for simulations shown in Figs. 3b, c, and 5a and Extended Data Figs. 7b, c, and 8.

Source data

Extended Data Fig. 7. A direction-selective ‘window of opportunity’.

Extended Data Fig. 7

a, Schematic columnar organization of T4 neuron inputs. Synapses from Mi9 neurons (green), Tm3/Mi1 neurons (red), and Mi4 /C3 neurons (blue) are each separated by one column (hexagons) resulting in direction-dependent time differences during visual motion. Arrows indicate the directions of edge motion in corresponding panels in b and c. b, c, Top: Normalized T4 cell conductances (g/gleak) of respective input synapses during ON (b) and OFF edge motion (c) at a velocity of 30° s−1 in the directions indicated in a using the same model parameters as in Figs. 3b, c, and 5a and Extended Data Fig. 8. Data are mean and area under curve. Arrowheads in b mark the coincidence of increased excitability and cholinergic excitatory input (red). Bottom: T4 cell membrane voltage (Vm) responses predicted by the model.

Source data

Direct evidence for the predicted increase in resistance (Extended Data Fig. 8) was obtained using current-clamp experiments. We took advantage of each T4 neuron’s stereotyped responses to moving edges and presented the fly with repeated episodes of identical visual stimulation. Varying the holding current in between episodes enabled us to obtain time-locked measurements of membrane potential and resistance (Fig. 4 and Extended Data Fig. 9). For ON edges moving in the neuron’s PD, the input resistance revealed a distinct peak that preceded the depolarizing voltage excursion and amounted to approximately 147% of the initial resistance (Fig. 4). Under all other conditions, the T4 cell experienced, if anything, a dip in excitability (Fig. 4). RNAi-mediated silencing of GluClα pre-empted the increase in that the resistance of GluClα-deficient T4 neurons at the baseline was already equivalent to the peak values reached by wild-type neurons (Fig. 4). Owing to the shift in resting potential towards the reversal potential of acetylcholine-induced currents, depletion of GluClα also reduced the membrane potential response amplitude from 18.10 ± 0.77 mV in wild-type T4 neurons to 13.63 ± 1.05 mV in GluClαRNAi-expressing T4 neurons (mean ± s.e.m.; n = 53 and n = 30 cells, respectively; P = 0.0008, two-tailed Mann–Whitney U-test).

Extended Data Fig. 8. Predicted relationship between membrane potential and input resistance during edge motion.

Extended Data Fig. 8

Simulated T4 cell membrane potential (Vm) as a function of input resistance (Rin) in response to ON (top) and OFF edges (bottom) moving at 30° s–1 in the preferred (PD, left) and the null direction (ND, right) of the model. The arrowhead marks the peak in input resistance.

Source data

Fig. 4. A GluClα-dependent input resistance peak.

Fig. 4

a, Simultaneously measured membrane potentials (Vm, solid lines) and input resistances (Rin, dashed lines) of T4 neurons expressing GFP (black) or GFP + GluClαRNAi (teal) in response to ON (top) and OFF (bottom) edges moving at 30° s−1 in the neurons’ PD and ND. Data are mean ± s.e.m. n values indicate the number of cells. b, The average membrane potential (Vm) as a function of input resistance (Rin) of T4 neurons shown in a in response to ON (top) and OFF (bottom) edges moving in the PD (left) and ND (right). The arrowheads mark the input resistance peak.

Source data.

Extended Data Fig. 9. Input resistance measurements during visual stimulation.

Extended Data Fig. 9

Holding currents (solid lines, top), membrane potentials (solid lines, centre), and input resistances (dashed lines, bottom) of exemplary T4 neurons expressing either GFP (a) or GFP + GluClαRNAi (b). To obtain input resistance measurements at high temporal resolution, neurons were subjected to at least two repetitions of identical visual stimulation while recording their membrane potentials. In this case, the stimulus was an ON edge moving at 30° s−1 in the neuron’s preferred direction. The holding current I was altered in between the first (#1) and the second repetition (#2) by ΔI = −1 pA. The input resistance Rin at each time point was calculated as ΔVmI, where ΔVm denotes the difference in membrane potential between repetitions (shaded areas/dashed arrows in a).

Source data

The ability to restrict the arithmetic repertoire of T4 neurons by interfering with the abundance of GluClα enabled us to test the prediction that multiplication sharpens directional tuning. We moved bright edges at a speed of 30° s−1 in 36 evenly spaced directions while recording the membrane potentials of GFP-labelled wild-type and GluClαRNAi-expressing T4 neurons (Fig. 5a–c). RNAi targeting transcripts of Nmdar1, which encodes a glutamate-gated cation channel with negligible expression in T4 cells2528, was used as an additional control. Silencing GluClα in T4 cells in vivo replicated the effect of silencing Mi9 neurons in silico—it broadened the directional tuning curve (Fig. 5a). Response amplitudes of wild-type and Nmdar1RNAi-expressing neurons declined steeply with increasing angular distance from PD, to 72.97% and 72.74% at a deviation of 60°, respectively. The decline was much shallower in GluClαRNAi-expressing T4 neurons of which the response amplitudes at PD ± 60° still averaged 89.62% of the corresponding PD responses (Fig. 5a). Rather than enhancing voltage responses to visual motion in the PD, the presence of GluClα attenuated responses to motion in all other directions, an effect that was especially obvious at those directions not affected by inhibition from Mi4 and C3 neurons (Fig. 5a–c). This was reflected in a significant reduction of the T4 neurons’ directional tuning indices (Ldir) in the absence of GluClα compared with the wild-type controls (P = 0.0002, Kruskal–Wallis test followed by Dunn’s multiple-comparisons test; Fig. 5c).

Fig. 5. GluClα sharpens directional tuning of T4 neurons and optomotor behaviour.

Fig. 5

a, T4 input organization in the presence (top left) and absence of Mi9 neurons (top right). Bottom, directional tuning of T4 neurons expressing GFP (black) or GFP + GluClαRNAi (teal) on the basis of membrane potential responses to ON edges moving at 30° s−1. Data are mean ± s.e.m. n values indicate the number of cells. The pink dashed lines show model predictions. b, Exemplary membrane voltage (Vm) recordings from T4 neurons in c in response to ON edges moving in the indicated directions (arrowheads). c, Peak membrane voltages of T4 neurons expressing GFP (black), GFP + GluClαRNAi (T4 > GluClαRNAi, teal) or GFP + Nmdar1RNAi (T4 > Nmdar1RNAi; grey) as a function of the direction of ON edge motion (left). Data are mean ± s.e.m. Right, directional tuning (Ldir) for all genotypes. Kruskal–Wallis test followed by Dunn’s multiple-comparisons test detected a significant difference of T4 > GluClαRNAi from T4 > GFP; *P = 0.0002. The circles show individual cells. The bars show the mean ± s.e.m. n values indicate the number of cells. d, Open-loop optomotor behaviour. e, Average virtual walking trajectories of flies expressing GluClαRNAi in T4/T5 cells (teal, n = 20) and of their parental controls (back and grey, n = 19 and n = 18, respectively) in response to ON edge motion at a 22.5° angle. f, The angular velocities of flies expressing GluClαRNAi (teal) or Nmdar1RNAi (grey) in T4/T5 neurons, and of their parental controls (black/grey), as a function of stimulus direction and polarity (top). Data are mean ± s.e.m. Bottom, absolute angular velocities scaled by horizontal stimulus components. For moving ON edges, one-way ANOVA followed by Holm–Šídák’s multiple comparisons test detected a significant difference of flies expressing GluClαRNAi in T4/T5 cells from both parental controls; *P = 0.0105. The circles represent individual flies. The bars show the mean ± s.e.m. n values indicate the number of flies. g, Closed-loop bar fixation behaviour. h, Exemplary bar trajectories (832 trials and 16 flies per genotype, top) and the overall bar position probabilities (bottom) for flies expressing GluClαRNAi in T4/T5 cells (teal) and their parental controls (back/grey). Probabilities are mean ± s.e.m. of flies in i. i, The percentage of the time that the bar occupied a 60° central window (fixation in front, dashed lines in h). Welch’s ANOVA followed by Dunnett’s T3 multiple comparisons test detected a significant difference of flies expressing GluClαRNAi in T4/T5 cells from both parental controls; *P = 0.0042. The dashed line indicates the chance level. The circles represent individual flies. The bars show mean ± s.e.m. n values indicate the number of flies.

Source data.

The impact of this intervention on the flies’ optomotor responses offered an opportunity to link a molecular mechanism to behavioural performance. Walking on a spherical treadmill (Fig. 5d), flies expressing GluClαRNAi in T4 neurons and their OFF-responsive T5 twins under control of R39H12-GAL4 (Extended Data Fig. 10a) overestimated the velocity of bright, but not of dark, edges moving in different directions. In their attempt to compensate for the perceived egomotion, animals that carried both the GAL4 and the UAS-GluClαRNAi transgene rotated the treadmill excessively about the vertical axis and strayed off the virtual paths of their parental controls (Fig. 5e, f). The angular velocities of animals of all other genotypes, including those expressing Nmdar1RNAi in T4/T5 neurons, were indistinguishable (Fig. 5f). In contrast to ON-responsive T4 neurons, which are speckled with GluClα receptors at both dendritic and axonal compartments, T5 neurons feature the receptor exclusively at their axon terminals31. It follows that the impairment of optomotor acuity specific to moving ON edges can, in all likelihood, be attributed to a process that is localized to the dendrites of T4 neurons.

Extended Data Fig. 10. GAL4 expression patterns, walking speeds, and bar fixation.

Extended Data Fig. 10

a, Confocal cross section through the optic lobe of a fly expressing GFP (green) under control of R39H12-GAL4 (T4/T5 >) as used in behavioural experiments in Fig. 5d–i. Synaptic structures were counterstained with an antibody against bruchpilot (grey). Scale bar, 40 µm. The micrograph is representative of 8 biological replicates. b, Average forward walking speeds of flies expressing GluClαRNAi (teal) or Nmdar1RNAi (grey) in T4/T5 neurons and their parental controls (black/grey) during closed-loop bar fixation experiments in Fig. 5h, i. c, Confocal cross section through the optic lobe of a fly expressing GFP (green) under control of the split GAL4 line R59E08-AD; R42F06-DBD. Synaptic structures were counterstained with an antibody against bruchpilot (grey). Scale bar, 40 µm. The micrograph is representative of 5 biological replicates. d, Average forward walking speeds of flies expressing GluClαRNAi (teal) under control of R59E08-AD; R42F06-DBD and their parental controls (black/grey) during closed-loop bar fixation in e, f. e, Exemplary bar trajectories (242 trials and 11 flies per genotype, top) and the overall bar position probabilities (bottom) for flies expressing GluClαRNAi (teal) under control of R59E08-AD; R42F06-DBD and their parental controls (back/grey). Data are mean ± s.e.m. of flies in f. f, The percentage of time that the bar occupied a central 60° window (fixation in front, dashed lines in e). The dashed line indicates the chance level. Circles, individual flies; bars, mean ± s.e.m. Asterisk denotes a significant difference from both parental controls (P = 0.0012, one-way ANOVA followed by Holm–Šídák’s multiple comparisons test). n values indicate the number of flies.

Source data

To test the ability of animals with a T4/T5-cell-restricted GluClα deficiency to hold a steady course under closed-loop conditions, we took advantage of the flies’ tendency to approach a dark vertical bar, a behaviour that depends on T4/T5 neurons32,33. When given the opportunity to control the bar position through their walking behaviour (Fig. 5g), control animals had a clear preference for holding the bar in front of them at 0 ± 30°. By contrast, flies expressing GluClαRNAi in T4/T5 neurons failed to maintain a stable bearing relative to the bar (Fig. 5h) despite moving at a comparable pace (Extended Data Fig. 10b). We corroborated this discovery using another, more specific split GAL4 line (Extended Data Fig. 10c–e). Independent of the driver line used, animals with a T4/T5-cell-restricted GluClα-deficiency performed at chance level (Fig. 5i and Extended Data Fig. 10f). In accordance with our third assumption, locking T4 neurons in a state of high gain (Figs. 2h and 4) resulted in exaggerated optomotor responses (Fig. 5d–f) and impaired performance as the animals navigated a virtual environment (Fig. 5g–i). These observations reveal the behavioural significance of a multiplication-like operation in a specific type of neuron.

Discussion

Nervous systems rely on nonlinearities to process information1. A multiplication-like operation—possibly the simplest form of nonlinearity—is implicated in the transformation of eye-centric into head-centric coordinates13, the localization of sound12, the combination of multisensory signals34,35 and the detection of visual motion10. The biophysical underpinnings of such an operation in a single neuron are by and large unclear. One exception is the looming detector of locusts, in which—just like on a slide rule—the sum of two logarithmically scaled signals is exponentially transformed into spike rates36. Other multiplicative synaptic interactions involve NMDA receptors37,38. Both mechanisms are contingent on threshold-like nonlinearities in the current–voltage relationships of ion channels: the gating of tetrodotoxin-sensitive sodium channels in the former and the magnesium block of NMDA receptors in the latter case. Here, we describe a multiplication-like nonlinearity that is independent of thresholds.

Using the visual circuit of the fruit fly as an example5, we took advantage of the neurons’ compact sizes, their known connectivity6 and our ability to manipulate them genetically to study the biophysical basis of the multiplication step in a Hassenstein–Reichardt detector10. We recorded the membrane potentials of ON motion-sensitive T4 neurons and of their columnar input elements in response to a defined set of visual stimuli. Our measurements of both pre- and postsynaptic voltages obviated the need for assumptions regarding the temporal dynamics of input signals when modelling the detector’s output. The voltage responses of T4 neurons were reproduced rather faithfully by our passive conductance-based model (Figs. 3b, c and 5a). Discrepancies between simulation and reality could be due to selective synaptic delays or the 15% of dendritic inputs from wide-field TmY15 and CT1 neurons6,7,39, which were not taken into account. In the model, as in our data, the supralinearity arises from the coincidence of excitation and release from shunting inhibition23. Such ‘multiplicative disinhibition’ constitutes the inverse operation of divisive inhibition. It is free from the voltage dependence that often limits threshold-based systems40 and less sensitive to changing signal amplitudes21 (Extended Data Fig. 5c). More broadly, theory invokes multiplication as a strategy to gate information flow41,42. The passive biophysical mechanism that we propose could lend itself to other systems, such as the logical conjunction of chemosensory signals43 or the gating of cortical afferents44. Motion vision in flies may provide one of many cases of multiplicative disinhibition.

Methods

Fly husbandry and genotypes

Flies were cultivated on a cornmeal, molasses and yeast medium under a 12 h–12 h light–dark cycle at 25 °C and 60% humidity. All of the experiments were carried out on female flies bearing at least one wild-type allele of the white gene. The experimenters were not blinded.

Drosophila melanogaster of the following genotypes were used to target transgene expression to the respective types of neuron: P{R48A07-p65.AD}attP40, P{10XUAS-IVS-mCD8::GFP}su(Hw)attP5; P{VT046779-GAL4.DBD}attP2 was used to label Mi9 neurons, P{R13E12-p65.AD}attP40/+P{R59C10-GAL4.DBD}attP2/P{40XUAS-IVS-mCD8::GFP}attP2 was used to label Tm3 neurons, P{R19F01-p65.AD}attP40/+; P{R71D01-GAL4.DBD}attP2/P{40XUAS-IVS-mCD8::GFP}attP2 was used to label Mi1 neurons, P{R48A07-p65.AD}attP40, P{10XUAS-IVS-mCD8::GFP}su(Hw)attP5; P{R13F11-GAL4.DBD}attP2 was used to label Mi4 neurons, P{R26H02-p65.AD}attP40/+; P{R29G11-GAL4.DBD}attP2/P{40XUAS-IVS-mCD8::GFP}attP2 was used to label C3 neurons and P{R42F06-p65.AD}attP40, P{10XUAS-IVS-mCD8::GFP}su(Hw)attP5; P{VT037588-GAL4.DBD}attP2 (abbreviated T4 > GFP) was used to label T4 neurons, with a preference for subtypes T4c and T4d17,27,45,46. In electrophysiological experiments, P{TRiP.HMC03585}attP40/P{R42F06-p65.AD}attP40, P{10XUAS-IVS-mCD8::GFP}su(Hw)attP5; P{VT037588-GAL4.DBD}attP2/+ (abbreviated T4 > GluClαRNAi) and P{TRiP.HMS02199}attP2/P{R42F06-p65.AD}attP40, P{10XUAS-IVS-mCD8::GFP}su(Hw)attP5; P{VT037588-GAL4.DBD}attP2/+ (abbreviated T4 > Nmdar1RNAi) were used to silence the expression of GluClα and Nmdar1, respectively47.

In behavioural experiments, P{UAS-Dcr-2.D}2; P{R39H12-GAL4}attP2 (abbreviated T4/T5 >), which yields strong and comprehensive expression in T4 and T5 neurons, was used to drive either P{TRiP.HMC03585}attP40 (abbreviated GluClαRNAi) or P{TRiP.HMS02199}attP2 (abbreviated Nmdar1RNAi). For the experiments in Extended Data Fig. 10c–f, P{R59E08-p65.AD}attP40; P{R42F06-GAL4.DBD}attP2 was used as the driver line. All flies, including the parental controls, were heterozygous for the respective transgenes. P{UAS-Dcr-2.D}2/P{10XUAS-IVS-mCD8::GFP}su(Hw)attP5; P{R39H12-GAL4}attP2/+ and P{R59E08-p65.AD}attP40/P{10XUAS-IVS-mCD8::GFP}su(Hw)attP5; P{R42F06-GAL4.DBD}attP2/+ were used to visualize the expression pattern of the respective driver lines immunohistochemically.

With the exception of the strain used to label C3 (a gift from A. Nern and M. Reiser), all of the flies were obtained from the Bloomington Drosophila Stock Center.

Histology

Brains of female flies (aged 1–3 days) were dissected in phosphate-buffered saline (PBS; 137 mM NaCl, 3 mM KCl, 8 mM Na2HPO4, 1.5 mM KH2PO4, pH 7.3) and fixed in 4% (w/v) paraformaldehyde in PBS overnight at 4 °C, followed by four 30 min washes in PBS containing 0.2% (v/v) Triton X-100 (PBT). To label biocytin-filled neurons, the samples were incubated with DyLight 633-conjugated streptavidin (21844, Invitrogen, 1:200) for 48 h at 4 °C, followed by four 30 min washes in PBT. To visualize GFP expression patterns driven by R39H12-GAL4 and R59E08-AD; R42F06-DBD, brains were fixed for 25 min at room temperature and blocked in PBT containing 10% normal goat serum (NGS) overnight at 4 °C. Synaptic structures and GFP were labelled, first with mouse anti-bruchpilot antibodies (nc82, AB2314866, Developmental Studies Hybridoma Bank, 1:20) and chicken anti-GFP antibodies (600-901-215S, Rockland, 1:400), respectively, for 48 h and then with Atto 647N-conjugated goat anti-mouse IgG antibodies (610-156-040, Rockland, 1:300) and Alexa 488-conjugated goat anti-chicken IgY antibodies (A-11039, Invitrogen, 1:500), respectively, for 72 h, both diluted in PBT containing 5% NGS, at 4 °C. Immunodecorated samples were mounted in Vectashield antifade mounting medium (Vector Laboratories) and imaged on a Leica TCS SP8 confocal microscope equipped with an HCX PL APO ×63/1.30 NA glycerol-immersion objective (506353, Leica). Micrographs were acquired using the Leica Application Suite X (Leica) and processed using the Fiji distribution of ImageJ (v.2.0)48.

Patch-clamp recordings

For whole-cell recordings in vivo49,50, female flies aged 2–24 h post-eclosion were cold-anaesthetized and fixed to a custom, laser-cut polyoxymethylene mount with soft thermoplastic wax (Agar Scientific). The preparation was submerged in extracellular solution (pH 7.3) containing 5 mM TES, 103 mM NaCl, 3 mM KCl, 26 mM NaHCO3, 1 mM NaH2PO4, 1.5 mM CaCl2, 4 mM MgCl2, 10 mM trehalose, 10 mM glucose and 7 mM sucrose (280 mOsM, equilibrated with 5% CO2 and 95% O2). Cuticle, adipose tissue and trachea were surgically removed in a window large enough to expose the left dorsal optic lobe. Patch pipettes (15–20 MΩ) were fabricated from borosilicate glass capillaries with outer and inner diameters of 1.5 mm and 1.17 mm or 0.86 mm, respectively, using a P-97 (Sutter Instruments) or a PC-10 (Narishige) micropipette puller. Pipettes were polished using a microforge (MF-830, Narishige) and filled with solution (pH 7.3) containing 10 mM HEPES, 140 mM potassium aspartate, 1 mM KCl, 4 mM MgATP, 0.5 mM Na3GTP, 1 mM EGTA and 10 mM biocytin (265 mOsM). Green fluorescent somata were targeted visually using a combination of bright-field and epifluorescence microscopy on an InVivo SliceScope (Scientifica) or an Axio Scope.A1 microscope (Zeiss), each equipped with a ×60/1.0 NA water-immersion objective (LUMPLFLN60XW, Olympus) and an LQ-HXP 120 light source (Leistungselektronik Jena). Transillumination was achieved by butt-coupling a white LED (MCWHD5, Thorlabs) to a liquid light guide, the far end of which was positioned caudally at a distance of 1 cm to the fly allowing for an unobstructed field of view. To gain access to cell membranes, a micropipette was used to make a small incision in the perineural sheath. Signals were recorded at room temperature (21–23 °C) with a MultiClamp 700B amplifier, low-pass-filtered and sampled at 10 kHz using a Digidata 1550B digitizer controlled through pCLAMP 11 software (all from Molecular Devices). Data were corrected for the liquid junction potential and analysed using custom-written software in Python v.3.7 (Python Software Foundation) using NumPy v.1.15, Pandas v.0.25, SciPy v.1.3, Matplotlib v.3.0 and pyABF v.2.1 (https://pypi.org/project/pyabf/). After temporal alignment, current-clamp data were analysed at a sampling rate of 1 kHz. The most negative membrane potential recorded within 2 min after break-in, in darkness and in the absence of a holding current was taken to represent the resting potential. Only cells with a measured resting potential that was more negative than −25 mV were characterized further. Input resistances, as plotted in Fig. 2, were calculated on the basis of linear fits to the steady-state voltage changes elicited by 1 s steps of hyperpolarizing currents (2 pA increments, starting at −10 pA). In voltage-clamp recordings, voltage steps were applied 2 s in advance of pharmacological applications and linear leak currents were subtracted.

Visual stimulation in electrophysiological experiments

Visual stimuli were projected with two mirrors onto a cylindrical screen using two DLP Lightcrafter 3000 pico projectors (Texas Instruments) as previously described20. The screen covered 180° in azimuth and 105° in elevation of the fly’s left frontal visual field and doubled as a Faraday shield. Restricting the projectors to the green channel (500–600 nm) allowed for a refresh rate of 180 Hz at 8-bit colour depth and a maximal luminance of 1,274 cd m−2. The average luminance of stimuli, which were presented in full contrast, was set to an 8-bit greyscale value of 128 corresponding to an average luminance of ~637 cd m−2. Stimuli were created and predistorted to account for the curvature of the screen using the Panda3D game engine in Python v.2.7.

Receptive fields were located and characterized using a binary white-noise stimulus with a pixel size of 2.8° × 2.8°. Samples were drawn at a rate of 60 Hz and projected onto the screen for durations ranging from 3 min to 20 min. Stimuli and simultaneously recorded membrane potentials were time-locked using a continuously recorded trigger signal on the screen. Stimulus files were exported after lossless compression and cross-correlated to each neuron’s recorded membrane voltage using standard techniques for reverse correlation in Python (v.3.7)20. Slow voltage drifts were corrected post hoc by subtracting a low-pass-filtered version of the signal obtained using a Gaussian blur with a standard deviation of 60 s. The reverse correlation was calculated as

K(x,τ)=0TdtS(x,tτ)×Vm(t),

where Vm denotes the neuron’s baseline-subtracted membrane voltage at time point t and S denotes the stimulus at position x and time point t − τ for values of τ ranging from −0.5 to +3.0 s. The resulting spatiotemporal receptive fields were converted into standard scores. Only neurons with clear standard score peaks (typically >4 s.d. from the mean) and with receptive field centres >8 px (22.48°) from the bezel of the screen were included in the analysis to guarantee full coverage of the surround. Receptive fields were normalized and aligned in space using the extremum (that is, the maximum or minimum with the highest absolute value) of the standard score as a point of reference, which was placed at 0°. After cropping the individual spatial receptive fields to the largest common region holding data from all neurons, scores were averaged across neurons of one class. For Fig. 1, averages were upsampled by a factor of 10 by linear interpolation and smoothed with a Gaussian filter (1.8 px s.d.). For direction-selective T4 neurons, individual receptive fields were rotated in space to align along the neurons’ PDs; therefore, in Fig. 1e, azimuth and elevation do not necessarily correspond to horizontal and vertical coordinates on the screen, but to coordinates parallel and orthogonal to the T4 cell’s PD.

To determine a neuron’s PD, square-wave gratings with a spatial wavelength of 30° spanning the full extent of the screen were moved at a temporal frequency of 1 Hz in eight different directions separated by 45°. The neuron’s peak membrane voltage during motion, after subtracting a 1 s prestimulus baseline, was taken to represent the magnitude of a Euclidean vector v(φ) pointing in the direction given by the angle of rotation φ of the associated stimulus. PD was defined as the direction of the resultant of all individual vectors. Temporal frequency tuning curves were measured using gratings of the above properties that were moved alternatingly in PD and ND (that is, PD + 180 ) at temporal frequencies ranging from 0.5 Hz to 16.0 Hz. ΔVm was defined as the absolute difference between the maximal and minimal membrane potential.

The fine-grained directional tuning curves in Fig. 5 were assessed using ON edges moving at 30° s−1 in 36 evenly spaced directions. Membrane potentials were recorded in the presence of a constant holding current of −1 pA, which enabled stable recordings over extended periods of time. In Fig. 5c, |v(φ)| was defined as the maximum of a Voigt profile fit to the membrane potential in a 700 ms time window surrounding the peak response during motion in the respective direction using the VoigtModel function of the lmfit.models module in Python v.3.7. Thus the readout incorporated more data points than just the maxima of the raw traces. To make directional tuning curves comparable between experiments and genotypes, each neuron’s PD was aligned post hoc to 0° and its tuning curve was minimum–maximum normalized. Directional tuning was quantified as the magnitude of the resultant vector divided by the sum of the individual vectors’ magnitudes:

Ldir=|Σϕv(ϕ)Σϕ|v(ϕ)||

For the experiments in Fig. 3, bright (ON) and dark (OFF) edges were moved across the screen at a velocity of 30° s−1. The responses of individual neurons of one type were temporally aligned based on the cross-correlation maximum between the time derivative of the low-pass-filtered membrane potential of each neuron and that of one hand-picked template neuron in response to ON edges (moving in PD for T4 cells). The responses of different input neuron classes were aligned based on the relative distances of the template neurons’ receptive field centres on the screen. Correct alignment was verified by recording light intensities from a 5°-wide area of the screen located at the respective template neuron’s receptive field centre using a custom-built photodiode under identical stimulus conditions.

Time-locked measurements of a T4 neuron’s membrane potential and input resistance (Fig. 4 and Extended Data Fig. 9) were achieved through repeated presentations of identical stimuli with varying holding current amplitudes ranging from −5 to 0 pA. The slope of a linear regression of voltages onto holding currents provided a measure of the neuron’s input resistance at each time point. For experiments with only two different holding current amplitudes, the slope of the regression is equivalent to the input resistance calculated as ΔVmI, where ΔVm denotes the change in membrane potential and ΔI denotes the change in holding current in between repetitions. Resistances shown in Fig. 4 were smoothed with a Gaussian filter (13 ms s.d.). Input resistances did not change significantly throughout recording sessions. The difference in input resistance between the start and the end of recording sessions averaged at 0.28 ± 0.56 GΩ (mean ± s.e.m., n = 30 cells; P = 0.6143, two-tailed paired Student’s t-test).

Pharmacology

For applications of glutamate, acetylcholine and GABA, a micropipette with a bore diameter of 5 µm was filled with 1 mM of neurotransmitter (dissolved in extracellular solution) and aimed at the GFP-labelled T4 dendrites in layer 10 of the medulla. To elicit transient neurotransmitter responses in patch-clamped T4 neurons, pressure (50 kPa) was applied in 100 ms pulses using a PDES-02DX pneumatic drug ejection system (NPI Electronic). For long-lasting responses during input resistance measurements, pulse times were increased to 500 ms. Two wild-type neurons were lost after the third glutamate application during patch-clamp recordings for Fig. 2e and were excluded from the repeated-measures analysis.

Multi-compartment model

We built a passive compartmental model of a T4 neuron (Extended Data Fig. 4c, d) in Python v.3.7 to account for possible space-clamp problems due to neuronal morphology in voltage-clamp experiments and to assess signal propagation between dendrite and soma (Extended Data Fig. 4e, f). The model was based on an electron microscopic reconstruction7 (http://neuromorpho.org/neuron_info.jsp?neuron_name=T4a-25_85) and comprised 2,012 compartments. A connectivity matrix, which held values of 1 where two compartments were connected and values of 0 otherwise, was used as a template to calculate a conductance matrix M. The latter was based on the three-dimensional coordinates and the length as well as the diameter of each compartment assuming, unless stated otherwise, an axial resistivity (Ra) of 150 Ω cm, a membrane resistance (Rm) of 28 kΩ cm2, and a specific membrane capacitance (Cm) of 1 µF cm−2. All parameters were on the same scale as those commonly used to model Drosophila neurons51 and were considered to be uniform across the entire cell. Varying Ra and Rm over a biophysically plausible range had negligible effects on model output (Extended Data Fig. 4f, g).

The voltage vector Vm(t) indicating the membrane potential of each compartment and at each time point t was determined by using the sparse.linalg.spsolve function of the SciPy v.1.3 module to iteratively solve the matrix equation M × Vm(t) = Vm(t − 1) × cmt + Eleak × gleak + I(t), where Vm(t − 1) denotes the voltage vector at the previous time point, cm is the vector holding the specific capacitances of all compartments, Δt denotes the time step, Eleak denotes the leak reversal potential, gleak denotes the vector holding the specific transmembrane leak conductances of all compartments and I(t) is the vector indicating the current injected at time point t into each compartment. Simulations were performed with a fixed Δt of 0.1 ms. If only steady-state was considered, the diagonal of the conductance matrix M held no capacitive conductances and the right side of the equation simplified to Eleak × gleak + I(t). At the time of transmitter application, synaptic conductances were added both to the diagonal of the conductance matrix and, multiplied by the reversal potential of the current, to the right side of the equation.

To simulate voltage clamp, the current injected at the soma was calculated on the basis of the difference between the chosen command voltage Vcmd and the actual potential at the soma Vm,soma using a proportional-integral control loop that served to emulate a voltage-clamp amplifier in Python v.3.7. The current to be injected at time point t was calculated as I(t) = Kp × (Vcmd(t) − Vm,soma(t)) + Ki × I(t − 1); where Kp denotes the proportional gain and Ki the integral gain. With values of 2 × 109 and 1 for Kp and Ki, respectively, Vm,soma could be clamped reliably at the desired Vcmd under all conditions and synaptic inputs.

Single-compartment model

Recorded membrane voltages of input neurons were averaged, minimum–maximum normalized (retaining the signal ratios across stimuli) and converted into relative conductances using a rectilinear transfer function with two free parameters per neuron: a threshold below which all conductances were set to 0 and a gain (that is, a scaling factor). Taking into account an average inter-ommatidial angle θ of 4.8° (refs. 52,53) and the edge velocity v of 30° s−1, conductances of Mi9 neurons and those of Mi4 and C3 neurons were advanced or delayed in time, respectively, by Δt relative to those of Mi1 and Tm3 neurons, depending on the angle φ of the virtual edge: Δt = θ cosφ/v.

For each stimulus condition, the membrane potential of the T4 neuron was calculated as

Vm=EGlugMi9+EACh(gTm3+gMi1)+EGABA(gMi4+gC3)+EleakgleakgMi9+gTm3+gMi1+gMi4+gC3+gleak,

where g denotes the relative conductance associated with each input neuron and E denotes the reversal potential of the respective synaptic current with EGlu = −71 mV, EACh = −21 mV and EGABA = −68 mV as measured/modelled in voltage-clamp experiments (Extended Data Fig. 4a–d). Owing to the compact size of a T4 neuron, the small amplitudes of capacitive currents (in relation to the steady-state amplitudes) and their short time constants (in relation to those of synaptic currents) eliminated the need for a differential equation to calculate Vm. Free parameters (thresholds, gains, Eleak and gleak) were estimated from a least-squares fit to measured membrane voltage traces of T4 neurons, computed with the help of the optimize.minimize function of the SciPy v.1.3 module and hand-tuned using a FaderPort 16-channel mix production controller (Presonus). Upper and lower bounds for parameter values were set to 0 and 1 for thresholds, 0 and 2 for gains, −80 mV and −45 mV for Eleak, and 0 and 3 for gleak, respectively. The parameters used for the simulations shown in Figs. 3b, c and 5a and Extended Data Figs. 7b, c and 8 were as follows: Mi9gain = 0.92, Tm3gain = 0.35, Mi1gain = 0.65, Mi4gain = 1.10, C3gain = 1.49, Mi9thld = 0.20, Tm3thld = 0.35, Mi1thld = 0.88, Mi4thld = 0.44, C3thld = 0.70, Eleak = −65.0 mV and gleak = 0.50, where ‘thld’ refers to the respective threshold values.

To validate our choice of parameters and to quantify the sensitivity, robustness and uniqueness of parameter sets, we resorted to simulation-based inference29, which enabled us to examine the full range of possible parameter combinations. We used 20,000 model simulations, drawing parameters from uniform distributions within the above bounds, to train the artificial neural network implemented in the sequential neural posterior estimation (SNPE) algorithm of the software package sbi (v.0.8)54. On the basis of Bayesian inference, SNPE provided a conditional probability distribution P(α|Vdata), which is high for parameter sets α that are consistent with the experimentally measured voltage traces Vdata, but close to zero otherwise. To visualize P(α|Vdata) we drew 10,000 sample parameter sets that are compatible with Vdata and compared them to our chosen parameters (Extended Data Fig. 6). All of the simulations were written in Python v.3.7.

Behaviour

Female flies (aged 1–5 days) were cold-immobilized and attached to a pin with light-curing composite glue (Sinfony Opaque Dentin, 3M) using dental curing light (440 nm, New Woodpecker). Five independent locomotion recorders32 were operated in parallel. In each recorder, a tethered fly was positioned on top of an air-suspended polyurethane sphere with a diameter of 6 mm and a weight of around 40 mg. The sphere floated freely on an air stream supplied by a rotary vane pump (G6/01-K-EB9L, Gardner Denver Thomas) through an inlet at the bottom of a concave holder, allowing the walking fly to rotate the sphere about any axis through its centre. The rotation of the spherical treadmill, lit by an infrared LED (JET-800-10, Roithner Electronics), was tracked at 4 kHz and digitized at 200 Hz using a custom-designed system based on two optical computer mouse sensors focused on two 1 mm2 equatorial squares at ±30° from the centre of the sphere55. A camera (GRAS-20S4M-C, Point Grey Research) was used to facilitate proper positioning of the fly on the ball. To encourage prolonged walking, the air temperature surrounding the fly was maintained at 34 ± 0.1 °C using a custom-built air conditioning system with a Peltier heater (QC-127-1.4-6.0MS, Quick-Cool) and a thermometer positioned below the sphere.

Visual stimuli were presented with a refresh rate of 120 Hz on three liquid crystal displays (2233RZ, Samsung) arranged vertically to form a U-shaped visual arena surrounding the fly, which spanned approximately 270° in azimuth and 120° in elevation of the fly’s visual field at a resolution of <0.1°. The maximal luminance of the displays was 131 cd m−2; the average intensity of stimuli, which were presented at a Michelson contrast of 50%, was set to an 8-bit greyscale value of 100. Stimuli were created, and predistorted to mimic a cylindrical panorama, using the Panda3D game engine in Python v.2.7.

In open-loop experiments, ON and OFF edges were moved at a velocity of 60° s−1 in 16 evenly spaced directions. Owing to the geometry of the visual arena, full translation of edges at different angles required variable amounts of time. Thus, to limit stimulus durations to 5 s, an edge of which the direction of motion deviated from the cardinal directions was initialized with a small segment of the edge already present in one of the outer corners (never covering any part of the central display). Edges started moving 0.5 s after stimulus initialization and crossed the arena within 5 s. In a single experiment (~80 min), flies experienced 50 trials of either ON or OFF edges moving in all 16 directions in a pseudorandom order. The first 15 trials were used to equilibrate the temperature and to accustom the fly to the treadmill and were excluded from analyses. As inclusion criteria, we used a forward walking speed of ≥0.15 cm s−1 on a trial-by-trial basis and a minimum of ten trials per fly. To correct for a possible constant turning bias, the time-averaged rotational velocity of each full trial (comprising all 16 directions) was subtracted from all measurements of the corresponding trial. The optomotor response was quantified as the average rotational velocity during 5 s of edge motion in the corresponding direction. The slope of a linear regression of optomotor responses onto the absolute horizontal stimulus components |cosφ| served as a single measure of an animal’s angular velocity across different edge angles φ.

In closed-loop experiments, bar-fixation was assessed using a 10°-wide dark vertical bar, the position of which along the azimuth was controlled in real time by the rotation of the spherical treadmill (Δbar position = −rotation about z axis, updated every ~9 ms). The bar appeared at a random position between −180° and 180° at the start of each 20 s trial, during which the fly could control the bar’s position through its walking behaviour. One experiment (~60 min) consisted of 180 trials, the first 40 of which were not analysed, as they served to equilibrate the temperature and to accustom the fly to the virtual environment. For the results presented in Extended Data Fig. 10d–f, each experiment consisted of 80 longer multi-stimulus trials, the first 10 of which were excluded. Only trials with a forward walking velocity of ≥0.40 cm s−1 and flies with at least 50 (20 for Extended Data Fig. 10d–f) of such trials were included in the analysis. To avoid possible turning bias (for example, due to skewed mounting), flies whose average turning deviated from zero by >10° s−1 were excluded. Probability density functions of bar positions were calculated for each 20 s trial using a bin width of 5° before averaging over trials. The measure ‘fixation in front’ was obtained by summing the probabilities of finding the bar in a 60° window in front of the fly and averaging these probabilities over trials.

Statistics and reproducibility

Statistical tests were performed in Prism v.9.2 (GraphPad). Details, including test statistics, degrees of freedom and exact P values for statistical analyses of data shown in Figs. 2 and 5 and Extended Data Fig. 10 are reported in Supplementary Tables 1 and 2.

Data were assessed for normality and equality of variances using Shapiro–Wilk and Brown–Forsythe tests, respectively. Two groups of normally distributed data were compared using two-tailed Student’s t-tests (paired if applicable). Two groups of nonparametric data were compared using two-tailed Mann–Whitney U-tests for independent datasets and using Wilcoxon matched-pairs signed-ranks test for paired datasets. Differences between the means of multiple independent groups of data that met the assumptions of normality and equality of variances were compared using one-way ANOVA followed by Holm–Šídák’s multiple-comparisons test. Where the assumptions of normality or of equality of variances were violated, group means were compared using Kruskal–Wallis tests followed by Dunn’s multiple-comparisons test or by Welch’s ANOVA followed by Dunnett’s T3 multiple-comparisons test, respectively. Reported P values were corrected for multiple comparisons. Data shown in Fig. 2e were analysed using two-way repeated measures ANOVA with Geisser–Greenhouse correction. For multiple comparisons with parental controls, the highest of two P values was reported in the figure legend.

No sample size calculations were performed before experimentation. Sample sizes were chosen to match or exceed standard sample sizes in the field. Sample sizes in electrophysiological experiments correspond to the number of cells, each of which was recorded in a different animal. Sample sizes in behavioural experiments correspond to the number of flies. The investigators were not blinded. Randomization was not applicable, because flies were grouped on the basis of genotype. In open-loop behavioural experiments (Fig. 5d–f) and all experiments involving two directions of visual stimuli, stimulus directions were alternated randomly; all of the remaining visual stimuli were presented in a strict sequence to enable quick, intuitive interpretation (Figs. 1f and 5b). Two wild-type neurons were lost after the third glutamate application during patch-clamp recordings for Fig. 2e and were excluded from the repeated-measures analysis. Six cells were lost during voltage-clamp experiments shown in Fig. 2f and Extended Data Fig. 4b due to pneumatic ejection. The current–voltage relationships of those cells do not include all, but at least six, data points per cell.

Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this paper.

Online content

Any methods, additional references, Nature Research reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code availability are available at 10.1038/s41586-022-04428-3.

Supplementary information

Supplementary Information (523.5KB, pdf)

This file contains Supplementary Equations and Supplementary Tables 1 and 2.

Reporting Summary (2.4MB, pdf)

Acknowledgements

We thank A. Nern, M. Reiser, G. Rubin, L. Luo and T. Schilling for flies; M. Drews and A. Leonhardt for software; S. Prech for technical assistance; and G. Ammer, N. Hörmann and J. Pujol-Martí for discussions. This work was supported by the Max Planck Society, an EMBO Long-Term Fellowship ALTF 365-2019 to L.N.G. and by the European Union’s Horizon 2020 programme under the Marie Skłodowska-Curie Action MOVIS grant agreement no. 896143 to L.N.G. Flies obtained from the Bloomington Drosophila Stock Center (NIH P40OD018537) were used in this study.

Extended data figures and tables

Source data

Source Data Fig. 1 (3.8MB, xlsx)
Source Data Fig. 2 (31.9KB, xlsx)
Source Data Fig. 3 (1.8MB, xlsx)
Source Data Fig. 4 (255.5KB, xlsx)
Source Data Fig. 5 (2.3MB, xlsx)

Author contributions

L.N.G., J.G.M. and A.B. conceived the study, designed experiments and ran model simulations. L.N.G. and J.G.M. performed and analysed electrophysiological recordings. L.N.G., J.G.M. and B.Z. performed histological analyses and B.Z. conducted and analysed behavioural experiments. The manuscript was written by L.N.G. and edited by all of the authors, chiefly by B.Z.

Peer review

Peer review information

Nature thanks Holger Krapp and Botond Roska for their contribution to the peer review of this work.

Funding

Open access funding provided by the Max Planck Society.

Data availability

Data are available at the Edmond Open Research Data Repository of the Max Planck Society (10.17617/3.8g). Source data are provided with this paper.

Code availability

Custom-written code is available at the Edmond Open Research Data Repository of the Max Planck Society (10.17617/3.8g).

Competing interests

The authors declare no competing interests.

Footnotes

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

These authors contributed equally: Lukas N. Groschner, Jonatan G. Malis

Contributor Information

Lukas N. Groschner, Email: groschner@neuro.mpg.de

Alexander Borst, Email: borst@neuro.mpg.de.

Extended data

is available for this paper at 10.1038/s41586-022-04428-3.

Supplementary information

The online version contains supplementary material available at 10.1038/s41586-022-04428-3.

References

  • 1.Koch, C. & Poggio, T. Multiplying with Synapses and Neurons. In Single Neuron Computation (eds Mckenna T. et al.) 315–345 (Academic Press, 1992).
  • 2.Koch C, Segev I. The role of single neurons in information processing. Nat. Neurosci. 2000;3:1171–1177. doi: 10.1038/81444. [DOI] [PubMed] [Google Scholar]
  • 3.London M, Häusser M. Dendritic computation. Annu. Rev. Neurosci. 2005;28:503–532. doi: 10.1146/annurev.neuro.28.061604.135703. [DOI] [PubMed] [Google Scholar]
  • 4.Joesch M, Schnell B, Raghu SV, Reiff DF, Borst A. ON and OFF pathways in Drosophila motion vision. Nature. 2010;468:300–304. doi: 10.1038/nature09545. [DOI] [PubMed] [Google Scholar]
  • 5.Maisak MS, et al. A directional tuning map of Drosophila elementary motion detectors. Nature. 2013;500:212–216. doi: 10.1038/nature12320. [DOI] [PubMed] [Google Scholar]
  • 6.Takemura S-Y, et al. The comprehensive connectome of a neural substrate for ‘ON’ motion detection in Drosophila. eLife. 2017;6:e24394. doi: 10.7554/eLife.24394. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Shinomiya K, et al. Comparisons between the ON- and OFF-edge motion pathways in the Drosophila brain. eLife. 2019;8:e40025. doi: 10.7554/eLife.40025. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Cully DF, Paress PS, Liu KK, Schaeffer JM, Arena JP. Identification of a Drosophila melanogaster glutamate-gated chloride channel sensitive to the antiparasitic agent avermectin. J. Biol. Chem. 1996;271:20187–20191. doi: 10.1074/jbc.271.33.20187. [DOI] [PubMed] [Google Scholar]
  • 9.Liu WW, Wilson RI. Glutamate is an inhibitory neurotransmitter in the Drosophila olfactory system. Proc. Natl Acad. Sci. USA. 2013;110:10294–10299. doi: 10.1073/pnas.1220560110. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10.Hassenstein B, Reichardt W. Systemtheoretische Analyse der Zeit-, Reihenfolgen- und Vorzeichenauswertung bei der Bewegungsperzeption des Rüsselkäfers Chlorophanus. Z. Naturforsch. B. 1956;11:513–524. [Google Scholar]
  • 11.Borst A, Haag J, Reiff DF. Fly motion vision. Annu. Rev. Neurosci. 2010;33:49–70. doi: 10.1146/annurev-neuro-060909-153155. [DOI] [PubMed] [Google Scholar]
  • 12.Peña JL, Konishi M. Auditory spatial receptive fields created by multiplication. Science. 2001;292:249–252. doi: 10.1126/science.1059201. [DOI] [PubMed] [Google Scholar]
  • 13.Andersen RA, Essick GK, Siegel RM. Encoding of spatial location by posterior parietal neurons. Science. 1985;230:456–458. doi: 10.1126/science.4048942. [DOI] [PubMed] [Google Scholar]
  • 14.Luo, L. Principles of Neurobiology (Garland Science, 2020).
  • 15.Barlow HB, Levick WR. The mechanism of directionally selective units in rabbit’s retina. J. Physiol. 1965;178:477–504. doi: 10.1113/jphysiol.1965.sp007638. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Fisher YE, Silies M, Clandinin TR. Orientation selectivity sharpens motion detection in Drosophila. Neuron. 2015;88:390–402. doi: 10.1016/j.neuron.2015.09.033. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Strother JA, et al. The emergence of directional selectivity in the visual motion pathway of Drosophila. Neuron. 2017;94:168–182. doi: 10.1016/j.neuron.2017.03.010. [DOI] [PubMed] [Google Scholar]
  • 18.Fischbach KF, Dittrich APM. The optic lobe of Drosophila melanogaster. I. A Golgi analysis of wild-type structure. Cell Tissue Res. 1989;258:441–475. [Google Scholar]
  • 19.Haag J, Arenz A, Serbe E, Gabbiani F, Borst A. Complementary mechanisms create direction selectivity in the fly. eLife. 2016;5:e17421. doi: 10.7554/eLife.17421. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Arenz A, Drews MS, Richter FG, Ammer G, Borst A. The temporal tuning of the Drosophila motion detectors is determined by the dynamics of their input elements. Curr. Biol. 2017;27:929–944. doi: 10.1016/j.cub.2017.01.051. [DOI] [PubMed] [Google Scholar]
  • 21.Borst A. A biophysical mechanism for preferred direction enhancement in fly motion vision. PLoS Comput. Biol. 2018;14:e1006240. doi: 10.1371/journal.pcbi.1006240. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Zavatone-Veth JA, Badwan BA, Clark DA. A minimal synaptic model for direction selective neurons in Drosophila. J. Vis. 2020;20:2. doi: 10.1167/jov.20.2.2. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Torre V, Poggio T. A synaptic mechanism possibly underlying directional selectivity to motion. Proc. R. Soc. Lond. B. 1978;202:409–416. [Google Scholar]
  • 24.Gruntman E, Romani S, Reiser MB. Simple integration of fast excitation and offset, delayed inhibition computes directional selectivity in Drosophila. Nat. Neurosci. 2018;21:250–257. doi: 10.1038/s41593-017-0046-4. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Pankova K, Borst A. RNA-seq transcriptome analysis of direction-selective T4/T5 neurons in Drosophila. PLoS ONE. 2016;11:e0163986. doi: 10.1371/journal.pone.0163986. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 26.Davis FP, et al. A genetic, genomic, and computational resource for exploring neural circuit function. eLife. 2020;9:e50901. doi: 10.7554/eLife.50901. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27.Hörmann N, et al. A combinatorial code of transcription factors specifies subtypes of visual motion-sensing neurons in Drosophila. Development. 2020;147:dev186296. doi: 10.1242/dev.186296. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Özel MN, et al. Neuronal diversity and convergence in a visual system developmental atlas. Nature. 2021;589:88–95. doi: 10.1038/s41586-020-2879-3. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Gonçalves PJ, et al. Training deep neural density estimators to identify mechanistic models of neural dynamics. eLife. 2020;9:e56261. doi: 10.7554/eLife.56261. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Denève S, Machens CK. Efficient codes and balanced networks. Nat. Neurosci. 2016;19:375–382. doi: 10.1038/nn.4243. [DOI] [PubMed] [Google Scholar]
  • 31.Fendl S, Vieira RM, Borst A. Conditional protein tagging methods reveal highly specific subcellular distribution of ion channels in motion-sensing neurons. eLife. 2020;9:e62953. doi: 10.7554/eLife.62953. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 32.Bahl A, Ammer G, Schilling T, Borst A. Object tracking in motion-blind flies. Nat. Neurosci. 2013;16:730–738. doi: 10.1038/nn.3386. [DOI] [PubMed] [Google Scholar]
  • 33.Fenk LM, Poehlmann A, Straw AD. Asymmetric processing of visual motion for simultaneous object and background responses. Curr. Biol. 2014;24:2913–2919. doi: 10.1016/j.cub.2014.10.042. [DOI] [PubMed] [Google Scholar]
  • 34.Huston SJ, Krapp HG. Nonlinear integration of visual and haltere inputs in fly neck motor neurons. J. Neurosci. 2009;29:13097–13105. doi: 10.1523/JNEUROSCI.2915-09.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Haag J, Wertz A, Borst A. Central gating of fly optomotor response. Proc. Natl Acad. Sci. USA. 2010;107:20104–20109. doi: 10.1073/pnas.1009381107. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Gabbiani F, Krapp HG, Koch C, Laurent G. Multiplicative computation in a visual neuron sensitive to looming. Nature. 2002;420:320–324. doi: 10.1038/nature01190. [DOI] [PubMed] [Google Scholar]
  • 37.Lavzin M, Rapoport S, Polsky A, Garion L, Schiller J. Nonlinear dendritic processing determines angular tuning of barrel cortex neurons in vivo. Nature. 2012;490:397–401. doi: 10.1038/nature11451. [DOI] [PubMed] [Google Scholar]
  • 38.Poleg-Polsky A, Diamond JS. NMDA receptors multiplicatively scale visual signals and enhance directional motion discrimination in retinal ganglion cells. Neuron. 2016;89:1277–1290. doi: 10.1016/j.neuron.2016.02.013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Meier M, Borst A. Extreme compartmentalization in a Drosophila amacrine cell. Curr. Biol. 2019;29:1545–1550. doi: 10.1016/j.cub.2019.03.070. [DOI] [PubMed] [Google Scholar]
  • 40.Srinivasan MV, Bernard GD. A proposed mechanism for multiplication of neural signals. Biol. Cybern. 1976;21:227–236. doi: 10.1007/BF00344168. [DOI] [PubMed] [Google Scholar]
  • 41.Abbott, L. F. Where Are the Switches on This Thing? In 23 Problems in Systems Neuroscience (eds van Hemmen, J. L. & Sejnowski, T. J.) 423–431 (Oxford University Press, 2006).
  • 42.Schnupp JW, King AJ. Neural processing: the logic of multiplication in single neurons. Curr. Biol. 2001;11:R640–R642. doi: 10.1016/s0960-9822(01)00381-5. [DOI] [PubMed] [Google Scholar]
  • 43.Dobosiewicz M, Liu Q, Bargmann CI. Reliability of an interneuron response depends on an integrated sensory state. eLife. 2019;8:e50566. doi: 10.7554/eLife.50566. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Pi H-J, et al. Cortical interneurons that specialize in disinhibitory control. Nature. 2013;503:521–524. doi: 10.1038/nature12676. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 45.Tuthill JC, Nern A, Holtz SL, Rubin GM, Reiser MB. Contributions of the 12 neuron classes in the fly lamina to motion vision. Neuron. 2013;79:128–140. doi: 10.1016/j.neuron.2013.05.024. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Schilling T, Ali AH, Leonhardt A, Borst A, Pujol-Martí J. Transcriptional control of morphological properties of direction-selective T4/T5 neurons in Drosophila. Development. 2019;146:dev.169763. doi: 10.1242/dev.169763. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Ni J-Q, et al. A genome-scale shRNA resource for transgenic RNAi in Drosophila. Nat. Methods. 2011;8:405–407. doi: 10.1038/nmeth.1592. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 48.Schindelin J, et al. Fiji: an open-source platform for biological-image analysis. Nat. Methods. 2012;9:676–682. doi: 10.1038/nmeth.2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 49.Wilson RI, Turner GC, Laurent G. Transformation of olfactory representations in the Drosophila antennal lobe. Science. 2004;303:366–370. doi: 10.1126/science.1090782. [DOI] [PubMed] [Google Scholar]
  • 50.Groschner LN, Chan Wah Hak L, Bogacz R, DasGupta S, Miesenböck G. Dendritic integration of sensory evidence in perceptual decision-making. Cell. 2018;173:894–905. doi: 10.1016/j.cell.2018.03.075. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 51.Gouwens NW, Wilson RI. Signal propagation in Drosophila central neurons. J. Neurosci. 2009;29:6239–6249. doi: 10.1523/JNEUROSCI.0764-09.2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 52.Götz KG. Optomotorische Untersuchung des visuellen Systems einiger Augenmutanten der Fruchtfliege Drosophila. Kybernetik. 1964;2:77–92. doi: 10.1007/BF00288561. [DOI] [PubMed] [Google Scholar]
  • 53.Land MF. Visual acuity in insects. Annu. Rev. Entomol. 1997;42:147–177. doi: 10.1146/annurev.ento.42.1.147. [DOI] [PubMed] [Google Scholar]
  • 54.Tejero-Cantero, A. et al. sbi: A toolkit for simulation-based inference. J. Open Source Softw. 5, 2505 (2020).
  • 55.Seelig JD, et al. Two-photon calcium imaging from head-fixed Drosophila during optomotor walking behavior. Nat. Methods. 2010;7:535–540. doi: 10.1038/nmeth.1468. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Information (523.5KB, pdf)

This file contains Supplementary Equations and Supplementary Tables 1 and 2.

Reporting Summary (2.4MB, pdf)

Data Availability Statement

Data are available at the Edmond Open Research Data Repository of the Max Planck Society (10.17617/3.8g). Source data are provided with this paper.

Custom-written code is available at the Edmond Open Research Data Repository of the Max Planck Society (10.17617/3.8g).


Articles from Nature are provided here courtesy of Nature Publishing Group

RESOURCES