Skip to main content
UKPMC Funders Author Manuscripts logoLink to UKPMC Funders Author Manuscripts
. Author manuscript; available in PMC: 2021 Nov 1.
Published in final edited form as: Nature. 2021 May 5;593(7860):558–563. doi: 10.1038/s41586-021-03514-2

Fast odour dynamics are encoded in the olfactory system and guide behaviour

Tobias Ackels 1,2,#, Andrew Erskine 1,2,#, Debanjan Dasgupta 1,2,#, Alina Cristina Marin 1, Tom PA Warner 1, Sina Tootoonian 1,2, Izumi Fukunaga 1, Julia J Harris 1,2, Andreas T Schaefer 1,2,*
PMCID: PMC7611658  EMSID: EMS134647  PMID: 33953395

Abstract

Odours are transported in turbulent plumes resulting in rapid concentration fluctuations1,2 that contain rich information about the olfactory scenery, such as odour source composition and location24. Yet whether the mammalian olfactory system has access to the underlying temporal structure to extract information about the environment remains unknown. Here, we show that 10 ms odour pulse patterns result in distinct responses in olfactory receptor neurons. In operant conditioning experiments mice discriminated temporal correlations of rapidly fluctuating odours at frequencies of up to 40 Hz. In imaging and electrophysiological recordings, such correlation information could be readily extracted from the activity of mitral and tufted cells, the output of the olfactory bulb. Furthermore, we show that temporal correlation of odour concentrations5 reliably predicts whether odorants emerge from the same or different sources in naturalistic environments with complex airflow. Training mice on such tasks and probing with synthetic correlated stimuli at different frequencies suggests that mice can indeed use the temporal structure of odours to extract information about space. Our work thus demonstrates that the mammalian olfactory system has access to unexpectedly fast temporal features in odour stimuli. This in turn endows animals with the capacity to overcome key behavioural challenges such as odour source separation5, figure-ground segregation6 and odour localisation7, by extracting information about space from temporal odour dynamics.


The turbulent nature of air1,2,4,8 as well as water9,10 flow results in complex temporal fluctuations of odour concentrations that depend on the distance and direction of odour sources14,8,10. Insects are thought to use the temporal structure of odour plumes to infer e.g. odour source location4,7,1113 or composition1315. Mammalian olfaction on the other hand has generally been considered a slow sense. Individual sniffs are thought to be the unit of information16, implying that fast odour concentration changes (at sub-sniff resolution) should be inaccessible to the mammalian olfactory system. However, the neural circuitry of e.g. the mouse olfactory bulb (OB) is in principle capable of millisecond-precise action potential firing17,18, and is endowed with rich computational resources that could be employed to extract fine temporal information from dynamic inputs19. Here, we show that the mouse olfactory system has access to fast, sub-sniff temporal patterns in the odour scenery and that mice can use this information to detect high-frequency odour correlations enabling source separation.

Fast odour dynamics encoded in OB inputs

Normal airflow is characterized by complex, often turbulent, flow patterns and imposes a rich temporal structure on odour concentration profiles with significant power in frequencies well above typical sniff rates (Fig. 1a). To assess whether the mouse olfactory system has access to this frequency regime, we designed an odour delivery system capable of reliably presenting odours with a bandwidth beyond 50 Hz (Fig. 1b, Supplementary Methods Fig. 1). As prototypical, simplistic high frequency stimuli we employed two 10 ms square pulses of odour separated by 10 or 25 ms (Fig. 1c). Olfactory sensory neurons (OSN) are known to be slow in responding to odour stimuli20. Both epithelial mucus and the biochemical transduction cascade act as low-pass filters16,20,21, suggesting that individual OSNs cannot directly follow rapidly fluctuating odour stimuli. However, axons from up to 10s of thousands of OSNs that express the same olfactory receptor converge onto one or a few glomeruli in the OB22. This organization resembles the auditory system where, despite the relatively low temporal resolution of individual cells, population responses faithfully report high-frequency signals23. Thus, we built a model of populations of noisy integrate-and-fire neurons with stimulus filtering and neuronal dynamics matching experimental data to explore whether this large convergence could aid in detecting high frequency stimuli in OSNs (Extended Data Fig. 1). Our simulation results suggest that across the thousands of OSNs that express the same OR – while still not directly following the odour profile – the population can faithfully discriminate between such 10/25 ms stimulation (Extended Data Fig. 1d,f,h). Key high-frequency information in the odour profile might, therefore, be preserved in the inputs to the OB.

Fig. 1. Sub-sniff detection of odour signals in olfactory bulb inputs.

Fig. 1

ai, Example odour plume recorded outdoors under natural, complex airflow conditions using a photoionisation detector (PID). aii, Averaged power spectrum of all recorded odour plumes (n=37 plumes, mean±SD of log power), typical range of sniff frequencies observed in mice highlighted in dark grey. bi, Schematic of multi-channel high bandwidth odour delivery device. bii, Representative odour pulse recordings at command frequencies between 5 and 50Hz. biii, Relationship of frequency and odour pulse signal fidelity (see Methods, n=5 repeats for each frequency, mean±SEM, see also Supplementary Methods Fig. 1). ci, Odour (red) and flow traces (black) of 10ms paired pulse interval (PPI) stimuli for 10ms (top) and 25ms (bottom), valve commands are shown in dark grey. cii, Stimuli are presented during the inhalation phase of the respiration cycle. d, Schematic of the two-photon imaging approach. e, GCaMP6f fluorescence recorded in olfactory bulb glomeruli (maximum projection of 8200 frames, marked glomeruli correspond to example traces shown in f). Scale bar: 50μm. f, Example calcium traces in response to 10 and 25ms PPI odour stimuli (mean of 10 trials±SEM, unpaired two-sided t-test for 2s response-integral from odour onset). Bottom: Example respiration trace. g, Calcium transients as colour maps for PPI 10ms (left), PPI 25ms (middle), and the difference between both odour stimulations (right). Glomeruli are sorted by response magnitude to the PPI 10ms stimulus. h, Glomerular responses sorted by magnitude of difference to PPI 10 vs. 25ms. i, Classifier accuracy over all glomeruli when a linear classifier was trained on several response windows (colour-coded, black: shuffle control) to PPI 10 vs. 25ms stimuli (n=up to 100 glomeruli from 5 individual animals; mean±SD of 500 repetitions). Throughout, ethyl butyrate was used as the odour stimulus.

To test this experimentally, we performed Ca2+ imaging experiments in anaesthetized and awake mice expressing GCaMP6f in OSNs (Fig. 1c-i, Extended Data Fig. 2) whilst delivering odour pulses locked to inhalation (Fig. 1c,d). Overall, responses for all glomeruli were highly correlated between the two stimuli (Fig. 1f,g). Glomerular activity did not directly follow the 10ms or 25 ms pulses (Fig. 1f). However, in 1/3 of glomeruli (n = 33/100, p < 0.01), responses were consistently and significantly different for the two stimuli (Fig. 1f-h, Extended Data Fig. 2) mirroring the simulation results (Extended Data Fig. 1). Notably, just a few dozen randomly chosen glomeruli were sufficient to discern between the stimuli at >80% success rate with a linear classifier (Fig. 1i, see also Extended Data Fig. 1h). Expanding the stimulus set to different concentrations and multiple pulses (Extended Data Fig. 2) confirmed that information about concentration and temporal patterns with features exceeding the 25 ms timescale is reliably and independently preserved in the population of OSNs.

Discrimination of correlation structure

Can mice base behaviour on such high frequency stimuli? We trained mice in an automated go/no-go operant conditioning system (“AutonoMouse”24, Fig. 2a, Supplementary Video 1) to discriminate between high frequency stimuli. To ascertain that the brief odour pulses were delivered during inhalation in freely moving mice we opted for 2 second pulse trains at different frequencies with constant airflow (Fig. 2b). We found that mice can discriminate whether an odour is presented at e.g. 4 Hz or 20 Hz, yet the apparent “critical flicker frequency” (Fig. 2c, Extended Data Fig. 3) was significantly lower than frequencies OSNs readily represent (Fig. 1, Extended Data Fig. 1,2). However, in both visual and auditory systems, conventional flicker fusion frequency or gap detection thresholds substantially underestimate the temporal sensitivity, particularly for tasks with multiple stimuli present23,25,26: In vision, for example, flicker fusion frequency is around 60 Hz, whereas thresholds for detecting synchrony between stimuli has been reported to be 3 ms26. Thus, we wanted to probe whether, similarly, olfactory tasks involving multiple odours reveal behavioural access to higher frequencies. We presented stimuli composed of two odours fluctuating in a correlated or anti-correlated manner as the rewarded and unrewarded stimulus, respectively (and vice versa, Fig. 2d-f). Mice readily learned to differentially respond to correlated or anti-correlated odours (Fig. 2h-k). Gradually increasing the correlation frequency showed that animals were capable of reliably detecting the correlation structure of stimuli at frequencies of up to 40 Hz (Fig. 2h,j,k). As a population, animal performance decreased by approximately 5% per octave with performance significantly above chance at frequencies of up to 40 Hz (n = 33 mice in two cohorts of 14 and 19 mice, Fig. 2k). To mitigate the risk of animals using non-intended cues for discrimination, odours were presented from changing valve combinations (Fig. 2g, Extended Data Fig. 4), odour flow was carefully calibrated (Fig. 2e, Extended Data Fig. 4d-e) and additionally varied randomly between trials such that neither flow nor valve clicking noises or average concentration provided any information about the nature of the stimulus (Extended Data Fig. 4d-h). Consistent with this, when valve identities were scrambled, animals performed at chance (grey, Fig. 2k). Finally, when odour presentation was changed to a new set of valves, performance levels were maintained (Fig. 2g-i and Extended Data Fig. 4i-k), indicating that only intended cues (the temporal structure of odours) were used for discrimination. Performance was independent of the odour pair used (Extended Data Fig. 3g) and maintained for tasks discriminating correlated from uncorrelated (rather than anti-correlated) odours (Extended Data Fig. 3e,f).

Fig. 2. Mice can discriminate odour correlation structure at frequencies up to 40Hz.

Fig. 2

a, Schematic of the automated operant conditioning system (“AutonoMouse”) housing cohorts of up to 25 animals. bi, Representative trace of a 20Hz odour pulse train (top) and corresponding stable airflow (bottom). bii, Relationship of frequency and total amount of odour released (n=5 repeats for each frequency, mean±SEM). c, Group accuracy in frequency discrimination task (n=10 mice, p<0.001 for all stimuli compared to chance accuracy (paired two-sided t-test); see also Extended Data Fig. 3). Boxes indicate 25th-75th percentiles, thick line is median, whiskers are most extreme data points not considered outliers, see Methods. d, Left: Valve commands to release two odours fluctuating at 20 Hz in a correlated (top) or anti-correlated (bottom) manner. Right: Resultant odour concentration changes measured using dual-energy photoionisation detectors (Supplementary Methods Fig. 2). e, Odour (ei) and flow (eii) signal for correlated and anti-correlated stimuli fluctuating at 20Hz (n=60 trials for each condition; odour: p=0.19, flow: p=0.23, unpaired two-sided t-test). Median shown as black dot, first and third quartile are bounds of the black bar. f, Schematic of the discrimination stimuli; mice were trained to discriminate between two odours presented simultaneously in either a correlated (top) or anti-correlated (bottom) fashion in a standard go/no-go paradigm. g, Schematic of valve combinations for stimulus production. Train: 6 valves are used to produce the stimulus through varying valve combinations. Switch control: two extra valves are introduced and odour presentation switched over to the newly introduced valves. h, Example animal performing the correlation discrimination task at different frequencies. i, Trial response maps before and after switch to control valves (as described in g, n=12 trials pre-, n=12 trials post-new valve introduction). Symbols indicate time point of valve introduction as marked in h, see also Extended Data Fig. 4. j, Accuracy of 3 representative animals performing correlation discrimination where stimulus pulse frequency is randomised from trial to trial. k, Group accuracy for the experiment in j (black trace: standard training, band: SEM, grey trace: full scramble control; n=33 training mice, n=5 control mice, n=9.3×105 trials). Throughout, isoamyl acetate and ethyl butyrate were used as odour stimuli.

Mice tended to take more time to detect the correlation structure of stimuli with higher fluctuation frequencies (Extended Data Fig. 5j-l). This was most pronounced for animals with higher overall performance (Extended Data Fig. 5j). Accuracy strongly correlated with reaction time across all stimuli and animals (Extended Data Fig. 5k) despite the fact that total time of odour delivery was the same across all trials regardless of stimulus frequency. Consequently, when analysis was restricted to trials where mice sampled the stimuli long enough, e.g. for at least 750 ms, performance significantly increased across frequencies (Extended Data Fig. 5l). This indicates that the measured performance might not be the psychophysical limit for discriminating fluctuating odour stimuli. Furthermore, this suggests that mice integrate information across large portions of the presented stimuli, rather than e.g. detecting simultaneity of odour onset14 to determine whether odours were correlated or not. To directly test this possible strategy, we interleaved training trials with probe trials where the onset characteristics were flipped (Extended Data Fig. 5f-i). Notably, performance did not drop substantially (Extended Data Fig. 5h,i), consistent with a strategy that relies primarily on discerning the high frequency correlation structure of the stimulus over several 100 ms rather than the onset only (Extended Data Fig. 5f,g,i). Sniff rate in turn was independent of the correlation frequency of stimuli presented (Extended Data Fig. 5a-e).

Odour correlation encoded in OB output

To assess how this high-frequency information is represented and reformatted in the olfactory system, we imaged neural activity in response to high-frequency stimuli (Fig. 3). Ca2+ imaging of OSN responses to correlated and anti-correlated stimuli showed that – unlike for two pulses with variable gaps (Fig. 1) – correlation structure of odour pulse trains was difficult to discern on the level of inputs to the OB using simple linear classifiers (Extended Data Fig. 6). Directly imaging from the output of the OB, mitral and tufted cells (M/TCs, Fig. 3a-g, Extended Data Fig. 7), showed that overall, M/TCs also responded similarly to correlated and anti-correlated stimuli (Extended Data Fig. 7j-l). 17% of all M/TCs, however, showed significantly different integral responses (0-5 sec after odour onset, p < 0.01) to the two stimuli (114/680 ROIs, Fig. 3d-f). As a result, correlated and anti-correlated odours were reliably discriminated by a linear classifier using the M/TC population responses (somatic response Fig. 3g, dendritic response Extended Data Fig. 7d,i) unlike for the OSN population response (Extended Data Fig. 6k,l). This is consistent with the idea that the OB circuitry implements a non-linear transformation of OSN input where the representation of correlation becomes more readily accessible in the OB output.

Fig. 3. Odour correlation structure is encoded by olfactory bulb output neurons.

Fig. 3

a, Schematic of the two-photon imaging approach (see also Extended Data Fig. 7e). b, Coronal olfactory bulb section showing GCaMP6f (green) expressed in projection neurons. Scale bar: 20μm. c, GCaMP6f fluorescence from mitral and tufted cells (maximum projection of 8000 frames). Responses from ROI * in magnified inset 1 * is shown in d. Scale bar: 20μm. d, Example traces of ROIs that show differential response kinetics to correlated (black) and anti-correlated (red) stimulation (mean of 24 trials±SEM, f=20Hz, unpaired two-sided t-tests on 5s response-integrals) in anaesthetised and e, awake animals (mean of 16 trials±SEM, f=20Hz, unpaired two-sided t-tests). Odour presentation indicated in light blue. f, Calcium transients as colour maps for correlated (left) anti-correlated (middle) averaged trials and the difference between both odour stimulations (right) for the 5% of ROIs with the largest differential responses. g, Accuracy of linear classifier trained on several response windows (colour-coded, black: shuffle control) to correlated vs. anti-correlated stimuli at 20Hz (n=up to 680 ROIs from 6 individual animals; mean±SD of 500 repetitions). h, Schematic of the extracellular recording approach. i, Example single unit of an odour response for correlated (black) and anti-correlated (red) stimuli shown as raster plot (top) and PSTH (mean±SEM) of spike times binned every 50ms (bottom); inset: average spike waveform (black) and 1000 individual spike events (grey), scale bar: 100μV and 1ms. Odour presentation indicated in light blue. Two-sided Mann-Whitney U test comparing spike time distributions of correlated and anti-correlated trials during 4s after odour onset. j, Binned spike discharge over time shown as colour maps for all units, correlated (left), anti-correlated (middle) and the difference between both odour stimulations (right). k, Accuracy of linear classifier trained on the average 2s response to correlated vs. anti-correlated stimuli at 20Hz (yellow); green: 500ms window; blue 100ms window (n=up to 97 units from 6 individual animals; mean±SD of 1000 classifier repetitions; see Methods and Extended Data Fig. 8).

We employed odour stimuli rapidly fluctuating at frequencies that substantially exceeded the temporal resolution of Ca2+ imaging, which captures a low-pass filtered signal of neural activity. Although the Ca2+ signal does not follow individual stimulus frequencies, the M/TC population response contained enough information to determine whether a correlated or anti-correlated stimulus was presented. To probe whether additional information about stimuli is present in the output of the OB at finer time scales, we turned to extracellular unit recordings (Fig. 3h-k, Extended Data Fig. 8) and whole-cell patch recordings (Extended Data Fig. 9). Despite the kHz temporal resolution, single-units also did not directly follow high-frequency stimuli. Average activity (summed spike count during 500 ms after odour onset) was, however, significantly different between correlated and anti-correlated stimuli in 24% of single-units (23/97, p < 0.01, Mann-Whitney U test, Fig. 3i,j, Extended Data Fig. 8b), consistent with the Ca2+ imaging results. As few as 60 randomly selected units were sufficient to classify the odour stimuli with >80% accuracy (Fig. 3k). Additional information was contained at finer time scales as increasing the temporal resolution of analysis improved discriminability (Fig. 3k and Extended Data Fig. 8e-g). Together, these results demonstrate that information about high-frequency correlation structure in odours is accessible to the animal for behavioural decisions and readily available in the output of the OB.

Correlations allow for source separation

What could the detection of high-frequency correlations be useful for? Natural odours consist of multiple different types of molecules, and a typical olfactory scene contains several sources6. To make sense of the olfactory environment, the brain must be able to separate odour sources, attributing the various chemicals present to the same or different objects5. Motivated by the turbulent nature of odour transport, Hopfield suggested that the temporal structure of odour concentration fluctuations might contain location information about odour sources5 - i.e. that chemicals belonging to the same source would co-fluctuate in concentration. Detecting correlations in odour fluctuations would thus allow mice to discern which odours arise from the same object. To experimentally probe the potential of odour correlation structure to facilitate odour source separation in air, we devised a dual-energy fast photoionisation detection method to simultaneously measure the odour concentrations of two odours with high temporal bandwidth (Methods, Fig. 4a,b, Extended Data Fig. 10a-e and Supplementary Methods Fig. 2). When an odour was presented in a laboratory environment with artificially generated complex airflow patterns (Fig. 4a), to mimic the outdoor measurements (Fig. 1a), odour concentration fluctuated with a spectrum extending beyond 40 Hz (Extended Data Fig. 10a). When two odours were presented from the same source, these fluctuations were highly correlated (Fig. 4a,b and Extended Data Fig. 10b). When we separated odour sources and presented the two odours 50 cm apart, odour dynamics were uncorrelated (Fig. 4a,b) with intermediate correlations for closer distances (Fig. 4b). This pattern of almost perfect correlation for the same source and virtually uncorrelated dynamics for separated sources was maintained at closer and farther distances between odour source and sensor (Extended Data Fig. 10d), independent of the odours used (Extended Data Fig. 10c) and was mirrored outdoors (Extended Data Fig. 10e). Thus, the correlation structure of odorant concentration fluctuations indeed contains reliable information about odour objects – e.g. whether odours emerge from the same or different sources.

Fig. 4. Source separation using correlations of odour concentration fluctuations.

Fig. 4

a, Simultaneous measurement of two odours (Odour 1: α-Terpinene; AT, Odour 2: ethyl butyrate; EB) using a dual-energy photoionisation detector (Extended Data Fig. 10a-e, Supplementary Methods Fig. 2) at d=40cm, presented either from one source or separated from each other by s=50 cm, with complex airflow in the laboratory. b, Correlation coefficients over all recordings for odours from the same source and for odour sources separated by s=10-50cm (EB vs. AT; n=61 for Mix, n=71 for each individual distance; unpaired two-sided t-test). Boxes indicate 25th–75th percentiles, thick line is median, whiskers are most extreme data points not considered outliers, see Methods. c, Example plumes used for training animals on a virtual source separation task to discriminate between odour stimuli derived from the same one source (Unrewarded, S-) and from separated sources recordings (Rewarded, S+). d, Example learning curve for a mouse trained to perform the virtual source separation task. Isoamyl acetate and ethyl butyrate were used as odour stimuli. e, Average accuracy over different variants of the task, calculated over the last 2400 trials of virtual source separation training (n=11 mice, p<0.0001, unpaired t-test, compared to chance performance), and subsequent stages where probe trials containing novel plume types are interleaved with the training set. Responses are compared between probe and training plumes within each stage. Probe plumes: odours fluctuate in a perfectly correlated manner, with a novel temporal structure (120 probe trials, in a segment of 2400 trials, n=11 mice, paired t-test). Probe 2Hz, 20Hz, 40Hz: Correlated/anti-correlated square pulse trains (50 probe trials per frequency, in a segment of 1650 trials, n=9 mice). Responses to 2Hz, 20Hz and 40Hz probe trials were shuffled 10000 times to calculate chance performance; data is mean±SD; unpaired two-sided t-test.

Can mice make use of this information? We trained a new cohort of mice in a modified AutonoMouse setting, presenting odours corresponding to the “same source” or “source separated” case as rewarded or unrewarded stimuli (Fig. 4c,d and Extended Data Fig. 10). Mice were able to learn to discriminate these stimuli (Fig. 4d,e). Once the task was acquired, we probed their performance with artificially generated stimuli (Extended Data Fig. 10f-k) that were derived from prior measurements with natural airflow but perfectly correlated (Fig. 4e). Notably, they reliably responded to these probe trials with correlated stimuli as they did to the “same source” stimuli they had been trained on (Fig. 4e, Extended Data Fig. 10m). To further ascertain that they were using the correlation structure to make these decisions, we probed with artificial square pulse stimuli (as in Fig. 2, 3) at different frequencies. Mice performed significantly above chance in probe trials at frequencies of up to 40 Hz (Fig. 4e, Extended Data Fig. 10s), implying that learning about source separation directly translates to distinguishing temporal features in correlated / uncorrelated stimuli.

Discussion

Here, we have shown that the mammalian olfactory system has access to temporal features of odour stimuli at frequencies of at least up to 40 Hz. We have demonstrated access to information in rapid odour fluctuations using different behavioural experiments (Fig. 2,4). We have shown reliable decoding from imaging and unit recordings from different stages of the olfactory system using both correlated odour concentration fluctuations (Fig. 3, Extended Data Fig. 7, 8a-g) as well as simplistic paired pulse stimuli with gaps as small as 25 ms (Fig. 1, Extended Data Fig. 2, 8h-l), corroborated by computational modelling (Extended Data Fig. 1). Our results are consistent with recent findings that the olfactory bulb circuitry not only enables highly precise odour responses17,18 but enables detection of optogenetically evoked inputs with a precision of 10-30 ms2729 with different projection neurons displaying distinct firing patterns in response to optogenetic stimulation29. While behavioural and physiological responses to precisely timed odour stimuli have been observed in insects13,15,30, in mammals the complex shape of the nasal cavity was generally thought to low-pass filter any temporal structure of the incoming odour plume. Our results show that while the low-pass filtering in the nose and by OSNs might reduce the ability of neurons to directly follow high-frequency stimuli, sufficient information about high-frequency content is preserved and available such that mice can readily make use of this information.

What could such high bandwidth be useful for? We have shown that odour sources even in close proximity differ in their temporal correlation structure. Thus, the ability to detect whether odorants are temporally correlated could allow mice to perform source separation, solving the “olfactory cocktail party problem”5,6 without prior knowledge about the odour scenery. We show that mice can indeed discriminate between “one source / separated source” stimuli. They readily translate this discrimination to artificial correlated pulse trains demonstrating that they are using correlation structure to make this distinction. Distinguishing between other environmental features, such as distance or direction of an odour source, could also be achieved by extracting temporal features from odour fluctuations13,8 possibly in combination with strategies comparing information reaching the brain through the two nares31,32.

How exactly is this temporal information extracted? While insects are able to detect the simultaneity of onset of two odours14,33,34, this strategy is unlikely to be the dominant means that mice use to detect correlation (Extended Data Fig. 5). Similarly, mice do not show adjustment of sniff strategies for discriminating high frequency odour correlations (Extended Data Fig. 5, Supplementary Video 2). While individual mammalian OSNs are thought to be quite slow and unreliable20, the large convergence of OSN axons provides a substrate to create the needed high temporal bandwidth35 (Extended Data Fig. 1). Biophysical heterogeneity of OSNs might improve how the population encodes temporally structured stimuli36,37. Intrinsic cellular biophysics (Extended Data Fig. 9), local interneurons or long-range lateral inhibition5,38 might permit the extraction of temporal correlation within the olfactory bulb circuitry and possibly result in individual projection neurons tuned to specific temporal structures.

The turbulence of odour plumes has often been viewed as a source of noise for mammals. In contrast, we find that the mouse olfactory system has access to high-frequency temporal features in odour stimuli. This opens up a new perspective on how mice could make use of natural turbulence in order to obtain information about their spatial environment. This in turn provides new computational challenges for the mammalian olfactory system and an entry point into how information about space is extracted from sensory inputs.

Methods

Ethical compliance

All animal procedures performed in this study were approved by the UK government (Home Office) and by the Crick Institutional Animal Welfare Ethical Review Panel.

Mice

All mice used for behavioural experiments were C57/Bl6 males (Fig. 2 and 4, Extended Data Fig. 3-5 and 10). In vivo imaging experiments were performed in 12-20 week old heterozygous OMP-cre (39; JAX stock #006668; Fig. 1, Extended Data Fig. 2 and 6) or Tbet-cre (40; Jax stock #024507; Fig. 3, Extended Data Fig. 7) mice crossed with the Ai95(RCL-GCaMP6f)-D line (41; JAX stock #028865) of either sex. Extracellular unit (Fig. 3 and Extended Data Fig. 8) and whole-cell patch-clamp recordings (Extended Data Fig. 9) were performed in 5-8 week old C57/Bl6 males. Mice were housed up to 5 per cage in a 12/12h light/dark cycle. Food and water were provided ad libitum.

Reagents

All odours were obtained in their pure form from Sigma-Aldrich, St. Louis MO, USA. Unless otherwise specified, odours were diluted 1/5 with mineral oil in 15 ml glass vials (27160-U, Sigma-Aldrich, St. Louis MO, USA).

Statistical analysis and data display

To test for statistical significance between groups where appropriate we used either paired or non-paired student t-test or, for non-parametric data, the Mann-Whitney U test, or the Kolmogorov–Smirnov test to test the equality of probability distributions. Statistical test details and p-values are provided in figures and / or their respective figure legends. Unless specified otherwise, boxplots were plotted using the MATLAB boxplot function with the median depicted as a thick line and default maximal whisker length of 1.5 * (q3-q1) where q3 and q1 indicate the 75th and 25th percentile, respectively. If points were located outside this whisker range they were displayed individually as outliers. Violin plots show the median as a black dot and the first and third quartile by the bounds of black bars. Mouse cartoons were adapted from https://scidraw.io/drawing/123 and /49.

High-speed odour delivery device

The odour delivery device was based on a modular design of four separate odour channels, and consisted of an odour manifold for odour storage, a valve manifold for control of odour release and hardware for controlling and directing airflow through the system (Fig. 1b). The odour manifold was a 12.2x3.2x1.5 cm3 stainless steel block with 4 milled circular indentations (1 cm radius). Within each of these indentations was a threaded through-hole for installation of an input flow controller (AS1211F-M5-04, SMC, Tokyo, Japan) and an output filter (INMX0350000A, The Lee Company, Westbrook CT, USA). For each inset, the cap of a 15 ml glass vial (27160-U, Sigma-Aldrich, St. Louis MO, USA) with the centre removed was pushed in and sealed with epoxy resin (Araldite Rapid, Huntsman Advanced Materials, Basel, Switzerland). This meant that glass vials could be screwed in and out of the insets for rapid replacement.

Solenoid valves typically limit high-fidelity odour stimulation resulting in odour rise times of several 10s of milliseconds under optimal conditions42. We thus employed high-speed micro-dispense valves with custom electronics for pulse-width modulation to maximize bandwidth: 4 VHS valves (INKX0514750A, The Lee Company, Westbrook CT, USA) were installed in a 4-position manifold (INMA0601340B, The Lee Company, Westbrook CT, USA) with standard mounting ports (IKTX0322170A, The Lee Company, Westbrook CT, USA). Each valve was connected to a corresponding odour position in the odour manifold with 10 cm Teflon tubing (TUTC3216905L, The Lee Company, Westbrook CT, USA). Each valve was controlled by digital commands via a spike-and-hold driver. Each digital pulse delivered to the spike-and-hold driver delivered a 0.5 ms, 24 V pulse to the valve (to open it), followed by a 3.3 V holding pulse lasting the rest of the duration of the digital pulse. This spike-and-hold input allowed for fast cycling of the valve without switching between 0 and 24 V at high frequencies to prevent from overheating the valve. Each valve was controlled by an individual spike-and-hold driver. Up to 4 drivers could be controlled and powered with a custom-made PSU consisting of a 24 V power input and a linear regulator to split the voltages into a 24 V and 3.3 V line, as well as control inputs taking digital signal input and routing it to the appropriate valve. Pulse profiles for calibration and stimulus production were generated with custom Python software (PyPulse, PulseBoy; github.com/RoboDoig) allowing to define pulse parameters across multiple valves using a GUI.

To generate airflow through the olfactometer, a pressurised air source was connected to a filter (AME250C-F02, SMC, Tokyo, Japan) and demister (AMF250CF02, SMC, Tokyo, Japan) and then split into two separate lines, the input line and carrier line. Both lines were then connected to a pressure regulator (AR20-F01BG-8, SMC, Tokyo, Japan) and flow controller (FR2A13BVBN, Brooks Instrument, Hatfield PA, USA). The main line was then connected to the input of the valve manifold. The input line was split into 4 separate lines and connected to the input flow controllers (set to 0.25 L/min) on each odour position of the odour manifold. The output of the valve manifold was fitted with MINSTAC tubing (TUTC3216905L, The Lee Company, Westbrook CT, USA). Where the design was scaled up (e.g. to include 8 odour positions) the valve manifold outputs were connected and consolidated to a single output with 3-way connectors (QSMY-6-4, Festo, Esslingen am Neckar, Germany). Shape and reliability of odour pulses depended strongly on low volume headspace and low pressure levels (0.05 MPa). Flow change due to odour pulses was always compensated by mineral oil presentation (e.g. light grey in Fig. 1ci).

Odour characterisation

Signal fidelities were calculated by first subtracting the average amplitude of troughs from the average amplitude of peaks during a pulse train and then subsequently dividing this peak-to-trough value by the difference of average peak amplitude subtracted by baseline amplitude (SignalFidelity = (meanPeak – meanTrough) / (meanPeak – baseline)). This results in a value between 0 and 1, with 1 being perfectly modulated odour pulses.

Behaviour

Automatic operant conditioning of cohorts of mice (AutonoMouse)

In AutonoMouse, groups of mice (up to 25) implanted with an RFID chip are housed in a common home cage (Fig. 2a, for detailed description see24). Within the common home cage of AutonoMouse, mice have free access to food, social interaction and environmental enrichment. Water is not freely available in the system, but can be gained at any time by completion of an operant conditioning go/no-go task. To access these behavioural tasks, mice must leave the home cage and enter a behavioural area. This behavioural area contains the odour port and a lick port through which water rewards can be released. The lick port is also connected to a lick sensor, which registers the animal’s response (its lick rate) in response to the task stimuli. As animals can only gain their daily water intake by completing behavioural tasks, mice are motivated to complete long sequences of trials without manual water restriction.

Training on temporally structured odours

We aimed to probe whether mice could perceive a particular temporal feature of naturally occurring odour signals: temporal correlations between odour signals. In particular, we aimed to investigate this question with the simplest possible case: whether mice could discriminate perfectly correlated from perfectly anti-correlated odour stimuli. All tasks followed a standard go/no-go training paradigm. Animals were presented with two odours presented in either a correlated pattern or an anti-correlated pattern (Fig. 2d and Extended Data Fig. 4a-c). For roughly half of all animals, the correlated pattern was S+ (rewarded) and the anti-correlated pattern was S- (unrewarded); in the other half of the group this reward valence was reversed. All stimuli were 2 s long. A water reward could be gained by licking such that licking was detected for at least 10% of the stimulus time during an S+ presentation (a “Hit”). Licking for the same amount of time during S- presentation resulted in a timeout interval of 7 seconds. In all other response cases, the inter-trial interval was 3 seconds and no water reward was delivered.

Stimulus structure

All anti-correlated and correlated stimuli on each trial followed a common pattern in their construction. Generally, wherever an odour position is inactivated a blank position should be activated to compensate for flow change. There should also be no consistent differences in the amount of odour or flow released during the stimulus between correlated and anti-correlated stimuli. The detailed algorithm for stimulus generation is as follows:

  1. Correlated or anti-correlated/uncorrelated odour pulses (Fig. 2d-k and Extended Data Fig. 3 and 5)
    1. The stimulus is chosen to be correlated or anti-correlated/uncorrelated.
    2. A set of 1-2 positions each for odour 1 and odour 2 and 2-3 positions for blank are randomly chosen from a pre-defined subset of 6 of the 8 total positions. For example, a valid combination could be odour 1 at position 1, 2; odour 2 at position 5; and blank at position 3 and 7. (see Fig. 2g and Extended Data Fig. 4b)
    3. A guide pulse is created at the desired frequency (e.g. 2 Hz pulse with 50% duty, see Supplementary Methods Fig. 1c) for all positions that follows the chosen stimulus structure.
    4. The relative contributions of each position to the total stimulus are randomly generated. At each time point in the stimulus, only two position types should be active (e.g. odour 1 and blank for an anti-correlated stimulus) so the maximum contribution for any position type is 50% of the total release amount. Where two positions have been chosen for a position type, their relative contributions should add to 50% (Extended Data Fig. 4b).
    5. The guide pulses are pulse-width modulated according to the relative contributions of each position (Supplementary Methods Fig. 1c). Pulse-width modulation (PWM) is at 500 Hz with some added jitter in the duty to avoid strong tone generation.
    6. For uncorrelated pulses, temporal offsets are added in one channel according to a distribution of time delays that follow the desired correlation structure between the two odour pulses (Extended Data Fig. 3e,f).
  2. “One source” and “Source separated” naturalistic plumes (Fig. 4c-e and Extended Data Fig. 10)
    1. The stimulus is chosen to be “One source” or “Source separated”.
    2. A plume bank of plume pairs obtained from indoor PID recordings is created. Each trial will contain 2 plumes, each representing one odour recording originating from one source or from sources positioned 50 cm apart. To maintain consistency in trial length between behaviour experiments, a 2 s time window from each plume was selected from the middle of each 5 s recording, such that odour was always present in the first 500ms of the trial. Trials where the correlation of the 2 s window was vastly different from the original 5 s were excluded from the plume bank. This procedure resulted in a plume bank containing 72 plume pairs for the separated source condition and 48 plume pairs for the one source condition.
    3. An odour plume pair is randomly selected from the plume bank, from the corresponding category.
    4. The odour that will be used to replicate each plume in a pair and the positions in the odour delivery device that will be used for that purpose are randomly assigned, as described previously. For each odour valve active, a blank valve will also be activated to produce an “anti-plume” structure, to compensate for the changes in flow created by odour delivery.
    5. Plumes are recreated from the chosen PID recordings. Each trace is normalised to between 0 and 1, and then converted into a series of binary opening and closing times. The length of the openings and closings relate directly to the value of the normalised signal, a value of one translates to a continuous opening, and a value of zero translates to continuously closed. This series of openings and closings are relayed to the valves and the resulting output resembles the original plume.
  3. Perfectly correlated plume trials (probe trials, Fig. 4e)
    1. A 2 s window is chosen from the source separated plume bank (plume structures previously associated with opposite reward valence – 5 trials) or from independent plume recordings obtained in a different environment than the original recordings (completely novel plume structures – 10 trials).
    2. The chosen plume structure is replicated using both odour channels, resulting in a plume where both odour components fluctuate in a perfectly correlated manner.
  4. Frequency discrimination pulses (Fig. 2c and Extended Data Fig. 3a-d)
    1. Two frequencies are chosen for discrimination (e.g. 2 Hz vs. 20 Hz).
    2. For each trial one of the frequencies is chosen for presentation.
    3. Valves are selected for presentation of both odours.
    4. A guide pulse is created for each odour channel that pulses at the desired trial frequency with 50% duty, such that pulse alternates between channels at the given frequency.
    5. Guide pulses are pulse-width-modulated as for correlated/anti-correlated stimuli.

Task structure for the correlation experiment (Fig. 2d-k, Extended Data Fig. 3-5)

Task frequency was randomised from trial to trial in a range between 2-81 Hz. The choice of frequency was with weighted probability divided into 3 frequency bands. E.g. this task could be arranged such that 2-20 Hz would be chosen with P = 0.6, 21-40 Hz with P = 0.3 and 41-81 Hz with P = 0.1. Within each of these frequency bands, the choice of individual task frequency was based on a uniform distribution. Thus, few trials were performed for frequencies exceeding 40 Hz resulting in more “noisy” behavioural performance data in Fig. 2k.

Onset detection

For the onset detection experiments (Extended Data Fig. 5f-i) animals were trained to discriminate perfectly correlated (e.g. S+) from perfectly anti-correlated stimuli (e.g. S-) and probed with partially altered stimuli where the onset (first cycle) of the probe S+ stimuli was anti-correlated and probe S- stimuli where the onset (first cycle) was correlated. Performance during these probe trials is then compared to the average performance during training (perftrain).

We calculated the expected average animal performance on the probe trials based on two models (prediction data, Extended Data Fig. 5f,g): Model 1 assumed the animals were taking any part of the stimulus into account equally when making a decision. Model 2 assumed that only the onset of the stimulus would contribute to discrimination. Thus for Model 1, a stimulus of frequency f (e.g. 10 Hz) that was sampled for tsample consisted of a “shifted” onset component of one cycle for S+ (1/f) and half a cycle for S- (0.5/f) corresponding to a fraction of fraconset = 1/f/tsample of the entire stimulus and a “normal” residual (fracres = 1-fraconset). Thus, the predicted probe trial performance would be:

predictedprobetrialperfentire=perftrain×fracres+(1perftrain)×fraconset (1)

In Extended Data Fig. 5i this prediction was calculated for the following parameters: Sniff frequency: 6 Hz, inhalation fraction: 0.2, stimulus sampling time: 0.7 s, In Extended Data Fig. 5g sampling time was varied as indicated.

For Model 2, ignoring inhalation timing, the prediction would be that preference would be reversed (as onset correlations during probe trials are reversed). However, this ignores the fact that odour stimuli during the exhalation period might not be detected. Thus, to more accurately predict animals’ performance for Model 2, we assume that the part of the stimulus that is detected as the “onset” is the first odour pulse during an inhalation phase. During the probe trial, this will be the “inverted” first cycle if the stimulus begins either during the inhalation phase or at most 1/f before the inhalation (then inhalation would start during the inverted first cycle of the probe trial). The probability of this occurring is perfonset = (durinh +1/f) / dursniff with durinh and dursniff being inhalation and sniff duration respectively (provided durinh +1/f < dursniff). Predicted probe trial performance for an “onset only” model would thus be:

predictedprobetrialperfonset=perftrain×(1perfonset)+(1perftrain)×perfonset (2)

Extended Data Fig. 5f,g displays the predictions of these two models in comparison to the experimental data for a broad range of respiration patterns. The “prediction data” in Extended Data Fig. 5i shows model predictions assuming typical sniff and sampling parameters as indicated above (Sniff frequency: 6 Hz, inhalation fraction: 0.2, stimulus sampling time: 0.7 s).

Controls

Control valves could be automatically added to the random frequency task. These tasks produced their stimuli based on a subset of 6 valves and control valves could be added automatically after a set period of trials to force the algorithm to produce stimuli from all 8 valves (see Fig. 2g,i switch control and Extended Data Fig. 4i-k).

A subgroup of animals was created in which the valve map was scrambled, as an ongoing control against animals learning extraneous variables in the task (see Fig. 2k, scramble control). The valve map was scrambled in the following way: One blank to odour 1, one odour 2 to blank, one odour 1 to odour 2 and one odour 1 to blank. Every few days all odour bottles were cleaned and replaced, odour positions changed and valves reassigned43.

Airflow and sound recordings

Airflow and sound were recorded in AutonoMouse during trials at different frequencies to ensure that the temporal structure of the odour is the only parameter that varies over trials and that no tactile or auditory cues were present in the stimulus. A flow sensor (AWM5101VN, Honeywell, USA) and a microphone (NTG1, RØDE, Australia) were placed in close proximity to the AutonoMouse odour port. In total, 286 trials were recorded (2 Hz: n = 75 correlated, n = 70 anti-correlated; 40 Hz: n = 69 correlated, n = 72 anti-correlated) using Audacity for sound and Spike2 (Cambridge Electronic Design, UK) for flow signals. Airflow and sound signal underwent spectral analysis (Fourier transform), as well as linear classification analysis (Extended Data Fig. 4d-g).

Training on naturalistic plumes

One group of animals (n = 12) were trained to discriminate between plumes derived from those originating from one source (S-, unrewarded) or from separated sources (S+, rewarded), using 2 s long stimuli produced as described above from the recordings shown in Fig. 4a. An additional 12 animals trained simultaneously on the reverse reward valence did not pass the performance criterion within the given timeframe and were not carried forward to probe trials.

To test whether correlation structure was a feature used by mice to perform the virtual source separation task, probe trials were introduced randomly at a frequency of approximately 1 in 11 trials, with every instance of a probe trial repeated every 330 trials. Probe trials consisted of perfectly correlated plumes or correlated/uncorrelated square pulses produced as described above, presented at 3 different frequencies: 2 Hz, 20 Hz, 40 Hz. The feedback for probe trials was the same as for a training trial, with a reward or time-out given based on the response of the mouse. No change in performance across repeated presentation of the probe trials was observed indicating that performance was not due to putative rapid re-learning. Of the 12 mice exposed to this protocol, a total of 9 mice reached all phases of the experiment.

Cohorts

The correlation discrimination experiment was performed in 3 separate experimental cohorts (Fig. 2, Extended Data Fig. 3-5: group 1, n = 14; group 2, n = 25 (one animal did not successfully pass the pre-training); Fig. 4, Extended Data Fig. 10: group 3, n = 24, see above). Each cohort was organised into several subgroups, which performed slight variations of the behavioural tasks in terms of reward valence and valves utilised, but with the same underlying task aim. Half of the animals in each subgroup were trained on correlated stimuli as the S+ rewarded condition, with the other half trained on anti-correlated as rewarded. Animals were further subdivided into groups, which were trained on different subsets of valves as standard in the 8-channel olfactometer. For each cohort, mice were once assigned to each of these subgroups based on performance in a simple pure odour discrimination at the beginning of the experiment – group membership was randomised until no significant (ANOVA, Tukey-Kramer) differences in performance could be extracted between these subgroups on this task.

Data analysis

AutonoMouse behavioural data was converted to MATLAB data format using the Conversion module of the Python autonomouse-control package (github.com/RoboDoig). All subsequent analysis was performed with custom-written MATLAB scripts unless otherwise specified.

All behavioural performance within a specified trial bin was calculated as a weighted average of S+ vs. S- performance:

performance=(Hit/S+)+(CR/S)2

Where S+ is the total number of rewarded trials, S- is the total number of unrewarded trials, Hit is the total number of rewarded trials in which a lick response was detected, CR (correct rejection) is the total number of unrewarded trials in which no lick response was detected.

For random stimulus pulse frequency experiments (e.g. Fig. 2j,k) trials were binned approximately by half-octave for performance analysis. The exact intervals were f(Hz) = [2, 3, 4, 5, 6:7, 8:10, 11:13, 14:17, 18:22, 23:29, 30:37, 38:48, 49:62, 63:81]. Reaction time (Extended Data Fig. 5) was calculated from S+ trials for each animal as the time to the first lick after stimulus onset. For presentation of learning curves (Fig. 2h, 4d) accuracy was calculated over 100-trial sliding windows.

Motion magnification of the respiration camera video recordings (Extended Data Fig. 5 and Supplementary Video 2) was performed with phase-based video motion processing with correction for large body movements based on MATLAB scripts by 44 (phaseAmplifyLargeMotions). Parameters for phase amplification were: blurring σ = 1, magnification ɑ = 50, amplification in frequency band between 2-13 Hz. Following magnification, static ROIs for each video were selected in Bonsai (http://www.kampff-lab.org/bonsai/, 45) over the animal flank. An adaptive binary threshold was applied to the ROI to segment the animal body from the video background. Respiration rate was extracted from the total size of the ROI occupied by the body over time.

Olfactory sensory neuron population model

Overview

We modelled the olfactory sensor neuron (OSN) population as noisy integrate-and-fire neurons integrating a filtered odour pulse and with independent (cell-specific) noise to qualitatively match experimental data46. The square of the resulting mean population firing rate was convolved with a calcium imaging filter to produce a model of the observed calcium imaging signal. All code and related data for the model can be found at https://github.com/stootoon/crick-osn-model-release.

Odour Input Current

The olfactory input current It to each OSN was modelled as a filtered version of the odour pulse input Ot:

τCdItdt=It+Ot

This filtering models filtering of the nasal cavity, transport through the mucous, and chemical transduction from odour concentration to receptor channel opening.

Olfactory Sensory Neurons

Each OSN was modelled as a noisy integrate-and-fire neuron. Each OSN membrane performs a noisy integration of the olfactory input current It so that the membrane voltage Vt satisfies the following stochastic differential equation:

τVdVt=(ItVt)dt+σdBt.

Here Bt is standard Brownian motion and σ is the standard deviation of the membrane voltage noise. The OSN generates a spike whenever its membrane voltage exceeds a spiking threshold θ:

St={1IfVtθ;0otherwise.

Upon spiking the membrane voltage is clamped to a refractory voltage Vref for a period of tref seconds. The mean instantaneous firing rate of the population is computed as

S¯t=1Nn=1NStn

where Stn is the spiking activity of OSN n.

Calcium imaging signal

To model the calcium imaging signal the mean firing rate is squared and convolved with the imaging kernel ht to form the calcium imaging signal Ct:

Ct=(S¯t2)ht.

The calcium imaging kernel is an alpha function:

ht=tet/τh

A list of parameters is given in Supplementary Table 1. All parameters were fit manually: Parameters τC, τV and σ were set to produce a qualitative match in time courses between model membrane voltage traces and the suction current traces in Figure 2 of reference 46. The remaining parameters were adjusted to produce a qualitative fit between model and the dynamics of the observed calcium imaging traces.

Generating model glomeruli

Overview

We generated 100 model glomeruli by randomly varying a subset of the model OSN parameters described in the previous section (τV, τC, σ, θ, a). Specifically, we picked the parameters of each glomerulus by selecting uniformly within ± 25% of the centre value of each parameter. All 5000 OSNs within each glomerulus had the same parameters, and differed only due to the random noise applied to their membrane voltages. The range of variation is shown in Supplementary Table 2.

The effect of concentration was modelled by linear scaling of the input waveforms. For each setting of PPI and concentration the model was run to simulate 25 consecutive trials of length 2.5 seconds each, with the odour onset at 0.1 seconds into each trial. The first 5 trials of data were discarded to allow the model to ‘settle,’ yielding 20 trials for each condition that were used in subsequent analyses (Extended Data Fig. 1g,h, Extended Data Fig. 2j,k).

Classifying glomerular outputs

Predictors

The predictors used for classification were the response integrals for each glomerulus, defined as the instantaneous mean firing rate of the OSNs in the glomerulus, filtered by the Ca2+ imaging filter (see section “Olfactory sensory neuron population model”) and summed over the 2 seconds following odour onset in each trial. Since the scale of the responses is arbitrary, we scaled the response integrals by their overall standard deviation, computed over glomeruli and trials.

Labels

Trials were labelled by their paired-pulse interval (PPI), or a combination of PPI and concentration, depending on the task.

Classifiers

The classifiers used were support vector machines with linear kernels and l2 regularization as implemented by the ‘LinearSVC’ function of the Python scikit-learn library. The setting of the penalty parameter C and whether or not to learn an intercept were determined by cross-validation with scikit-learn’s ‘GridSearchCV’. The values of C considered ranged in powers of 10 from 10-4 to 104.

Computing Decoding Accuracy

The decoding accuracy for a given subset of n glomeruli was computed as the average accuracy over 10 cross-validation trials for the results in Extended Data Fig. 1h, and 40 cross-validation trials for the results in Extended Data Fig. 2j,k. In each cross-validation trial, the classifier was trained on a random 90% of the trials, tested on the remaining 10%, and the accuracy recorded. The random subsets were stratified i.e. constrained to have the same fraction of trials from each class as the full dataset when possible. The mean accuracy across cross-validation trials was recorded as the accuracy for that subset. To compute the shuffled performance, the labels of the training and test trials were shuffled in each cross-validation trial before the classifier accuracy was computed.

Decoding PPI from the responses of model glomeruli

To determine how decoding accuracy was affected by the size of the population used we selected a random subset of n glomeruli and computed the decoding accuracy as described above. This was repeated for 256 random subsets of n glomeruli generating 256 unshuffled and 256 shuffled accuracies. The subset size n was varied from 1 (using only a single glomerulus) to 100 (using the full population; Extended Data Fig. 1h). Note that for n ≥ 99, some subsets are likely to have been repeated because there are fewer than 256 possible subsets of size 99 and 100. The observed variability in accuracy in those cases is then due mainly to the random determination of training and testing trials.

Decoding PPI and concentration from the responses of model glomeruli

To compute the decoding accuracy when decoding PPI and concentration, we followed a very similar procedure to the previous section, but fixed the population size at the maximum of 100 and varied the stimulus concentration from 0.5 to 5 in steps of 0.5 to cover a factor of 10 range in concentration as used in the experimental data (Extended Data Fig. 2j-m). For comparison, the results in Extended Data Fig. 1h were for a concentration of 1. Decoders were trained to extract just concentration, or PPI and concentration.

In vivo two-photon imaging

Surgical and experimental procedures

Prior to surgery all utilised surfaces and apparatus were sterilised with 1% trigene. Mice were anaesthetised using a mixture of fentanyl/midazolam/medetomidine (0.05 mg/kg, 5 mg/kg, 0.5 mg/kg respectively). Depth of anaesthesia was monitored throughout the procedure by testing the toe-pinch reflex. The fur over the skull and at the base of the neck was shaved away and the skin cleaned with 1% chlorhexidine scrub. Mice were then placed on a thermoregulator (DC Temperature Controller, FHC, ME USA) heat pad controlled by a temperature probe inserted rectally. While on the heat pad, the head of the animal was held in place with a set of ear bars. The scalp was incised and pulled away from the skull with four arterial clamps at each corner of the incision. A custom head-fixation implant was attached to the base of the skull with medical super glue (Vetbond, 3M, Maplewood MN, USA) such that its most anterior point rested approximately 0.5 mm posterior to the bregma line. Dental cement (Paladur, Heraeus Kulzer GmbH, Hanau, Germany; Simplex Rapid Liquid, Associated Dental Products Ltd., Swindon, UK) was then applied around the edges of the implant to ensure firm adhesion to the skull. A craniotomy over the left olfactory bulb (approximately 2 x 2 mm) was made with a dental drill (Success 40, Osada, Tokyo, Japan) and then immersed in ACSF (NaCl (125 mM), KCl (5 mM), HEPES (10 mM), pH adjusted to 7.4 with NaOH, MgSO4.7H2O (2 mM), CaCl2.2H2O (2 mM), glucose (10 mM)) before removing the skull with forceps. The dura was then peeled back using fine forceps. A layer of 2% low-melt agarose diluted in ACSF was applied over the exposed brain surface before placing a glass window cut from a cover slip (borosilicate glass 1.0 thickness) using a diamond knife (Sigma-Aldrich) over the craniotomy. The edges of the window were then glued with medical super glue (Vetbond, 3M, Maplewood MN, USA) to the skull.

Following surgery, mice were placed in a custom head-fixation apparatus and transferred to a two-photon microscope rig along with the heat pad. The microscope (Scientifica Multiphoton VivoScope) was coupled with a MaiTai DeepSee laser (Spectra Physics, Santa Clara, CA) tuned to 940 nm (<50 mW average power on the sample) for imaging. Images (512 x 512 pixels) were acquired in SciScan (Scientifica, UK) with a resonant scanner at a frame rate of 30 Hz using a 16x 0.8 NA water-immersion objective (Nikon). The output of a 4-channel version of the temporal olfactometer described above was adjusted to approximately 1 cm away from the ipsilateral nostril to the imaging window, and a flow sensor was placed next to the contralateral nostril for continuous respiration recording.

Awake recordings

For implantation of the head-plate, mice were anaesthetized with isoflurane in 95% oxygen (5% for induction, 1.5-3% for maintenance). Local (mepivacaine, 0.5% s.c.) and general analgesics (carprofen 5 mg/kg s.c.) were applied immediately at the onset of surgery. After surgery, animals were allowed to recover for 7 days with access to wet diet and, after recovery, habituated to the head-fixed situation for at least 15 min on three consecutive days preceding the imaging experiment.

Odour stimulation

For paired-pulse experiments, ethyl butyrate was diluted in mineral oil at the ratio of 1:5 and installed into a 4-channel version of the high-speed odour delivery device (15 ml per vial) along with two blank positions (15 ml mineral oil). Odour concentration range was adjusted over 10 steps on a logarithmic scale with a factor of 1.25 by modulating odour pulse-width.

For correlated vs. anti-correlated stimulus experiments, stimuli were generated from mixtures of physically mixed monomolecular odorants in order to ensure high probability of finding odour responsive cells in the dorsal olfactory bulb using custom Python Software (PulseBoy). Binary mixtures were diluted in mineral oil at the ratio of 1:5 and installed into a 4-channel version of the high-speed odour delivery device (15 ml per vial) along with two blank positions (15 ml mineral oil). Mix 1: ethyl butyrate + 2-hexanone, mix 2: isoamyl acetate + cineole. During glomerular imaging experiments (Extended Data Fig. 6), six odours (A-F) where presented either individually or in pairs: A (ethyl butyrate), B (2-hexanone), C (isoamyl acetate), D (cineol), E (ethyl tiglate) and F ((+)-fenchone). For all stimuli, odour valve offsets were compensated by opening a corresponding blank position valve to ensure no global flow changes occurred over the course of the stimulus. All stimuli were repeated between 16-50 times with at least 15 s inter-stimulus interval.

Data analysis

For M/TC imaging, motion correction, segmentation and trace extraction were performed using the Suite2p package (https://github.com/MouseLand/suite2p;47). Putative neuronal somata and dendritic segments were automatically identified by segmentation and curated manually. Soma and neuropil fluorescence traces were extracted and neuropil fluorescence was subtracted from the corresponding soma trace. Further analysis was performed with custom written scripts in MATLAB.

M/TCs were recorded in 17 fields of view (FOV) from 6 individual Tbet-cre:Rosa-GCaMP6f animals, with 40 ± 9.23 (mean ± SD; range 27-48) cells per FOV and 30.25 ± 12.97 (mean ± SD; range 7-53) M/TC dendrites, For glomerular imaging experiments, ROIs corresponding to glomeruli were manually delineated based on the mean fluorescence image. Fluorescence signal from all pixels within each ROI was averaged and extracted as time series. ΔF/F = (F-F0)/F0, where F = raw fluorescence and F0 was the median of the fluorescence signal distribution.

Glomerular signals from a total of 15 individual OMP-cre:Rosa-GCaMP6f animals were recorded with 28 ± 4.34 (mean ± SD; range 20-36) glomeruli per animal (Extended Data Fig. 6a).

Where the odour stimulus was not inhalation-triggered, traces were post hoc aligned to the first inhalation after odour onset. Calcium response integrals were calculated for a range of window durations starting from odour onset (100-5000 ms). To analyse how well odour responses predicted stimulus correlation on a trial-to-trial basis, we generated a linear discriminant classifier from the data set and analysed prediction accuracy. For the classifier, we performed 50% holdout validation, splitting the data randomly into a training set and test set with equal numbers of samples. We then performed linear discriminant analysis on the training data set to determine the best linear boundary between 10 vs. 25 ms pulse interval stimulations or correlated vs. anti-correlated data. Classifier performance was then validated on the test data set. To determine the effect of number of ROIs used on classifier performance, we iteratively trained multiple classifiers on random subsets of ROIs with increasing numbers of ROIs within each set. For each ROI subset size, 100 classifiers were trained and the mean ± SD of their performance accuracy was calculated. All classifier analysis was performed on individual, unaveraged trials.

Glomerular imaging classifiers in Extended Data Fig. 6k,l

The classifiers used in Extended Data Fig. 6k,l were trained separately for each odour pair, each frequency, and each time window. The inputs for classification were the averaged responses of the 145 glomeruli in a given time window for 24 odour presentation trials, where the odours were fluctuating in a correlated manner in half of the trials, and in an anti-correlated manner in the remaining half. Within the correlated and anti-correlated subsets of trials, half had the first odour in the pair phase-shifted by 180 degrees, and the remaining half had no phase shift. The classification task was to determine whether the glomerular responses in a given trial were evoked by correlated or anti-correlated odour fluctuations.

Because we had far fewer trials (24) than glomeruli (145) it was important to use regularized classifiers to avoid overfitting. To promote interpretability of the decision boundaries learned by the classifiers we opted for sparsity-promoting regularizers and settled on the Lasso, evaluated as a classifier by taking the sign of its output computed after the addition of a small amount of noise (to decide ambiguous classifications). The implementation of the Lasso we used was ‘LassoLarsCV’ provided by the Python scikit-learn library because it converged readily, gave very good classification performance, and automatically tuned the weighting of the sparsity penalty. Inputs to the classifier were standardized to have mean zero and unit variance across trials. We found that it was important to learn the classification weights without intercept to avoid overfitting.

The performance of a classifier was determined by cross-validation, where in each cross-validation iteration, the classifier was trained on a random ~90% of the trials (21 trials) and tested on the remaining ~10% (3 trials), and the test accuracy recorded. The random subsets were selected in a stratified manner, meaning that the fraction of correlated and anti-correlated trials in the subset were kept as close as possible to their fraction in the full dataset (50/50). This meant that 10 of the 21 training trials were of one type and 11 of the other. This procedure was performed for 10 cross-validation iterations, and the average performance over these repeats was recorded as the performance of the classifier. The shuffled performance was computed the same way but with training and test labels shuffled in each iteration. The entire procedure was then repeated for each of 100 different random seeds to produce a distribution of classification accuracies, whose means and standard deviations are plotted in Extended Data Fig. 6k,l.

Because we used a sparsity-promoting classifier it was straightforward to determine which glomeruli were contributing to a particular classification decision. We found that if we used all 145 glomeruli available then frequently glomeruli would be selected for noisy fluctuations of their responses that were by chance ‘informative’ for the classification. To avoid the inclusion of such noisy responses, we filtered glomeruli for responsivity. To determine the responsivity of a glomerulus, the mean X¯glom,baseline and standard deviation σglom,baseline of its responses pooled across all baseline bins (defined as the 3 seconds before odour onset) and across all trials for the given odour pair and frequency were first computed. A Z-score was then computed for its averaged response for the given time bin and for each trial by comparing this response to the baseline activity according to

Zglom,trial=Xglom,trialX¯glom,baselineσglom,baseline/nwnd,

where Xglom,trial is the response of the glomerulus in the given time window and nwnd is the number of time bins constituting the window. The scaling of the baseline standard deviation is to account for the reduction in variance due to the averaging over time bins used to compute the response. A glomerulus was considered responsive in a given trial if the absolute value of its Z-score as computed above was greater than 1 on three-quarters or more of the trials. Such a thresholding ensured that the number of responsive glomeruli was almost always zero before odour onset, but rose to a peak ~125 of the 145 glomeruli available when 2 s windows were used. Reducing the window size reduced the peak number of glomeruli, but at least 25 glomeruli were used during the peak responsive period in all cases, and frequently many more. This filtering also meant that some time windows late in the response contained no responsive glomeruli for some window sizes, which explains the `patchiness’ observed in Extended Data Fig. 6k,l.

Extracellular recordings

Surgical and experimental procedures

5-8 week old C57BL/6Jax mice were anaesthetised using a mixture of ketamine/xyazline (100mg/kg and 10mg/kg respectively) by intraperitoneal (IP) injection. An IP line was inserted after the initial injection to allow for easier and more regular subsequent injections of anaesthetics. Surgery was carried out as described above for two-photon imaging, up until the application of agar and cranial window.

Following surgery, mice and custom platform were transferred to the extracellular recording set up. A flow sensor (A3100, Honeywell, NC, USA) was placed in front of the contralateral nostril whilst an output from the temporal olfactometer was positioned in front of the ipsilateral nostril. A Ag/Ag+Cl- reference coil was immersed in the well, over the left hemisphere of the skull. The reference wire was connected to both the reference and ground of the amplifier board (RHD2132, intan, CA, USA), which was connected (Omnetics, MN, USA) to a head-stage adapter (A32-OM32, NeuroNexus, MI, USA). A 32-channel probe (A32-Poly3, NeuroNexus, MI, USA) was connected to the adapter, and the tip of the probe was manoeuvred to be positioned 1-2cm above the craniotomy. The adapter and probe were held above the craniotomy using a micromanipulator (PatchStar, Scientifica, UK) set at 90 degrees to the surface of the brain. The probe was moved towards the surface of the OB, whilst being observed through a surgical microscope. Once the probe was in contact with the surface, but had not entered the brain, the manipulator’s Z position was set to zero. The signal from the probe was streamed through OpenEphys acquisition board and software (OpenEphys, RI, USA). The probe was inserted at < 4 μm/s until the number and amplitudes of spikes began to decrease on deeper channels, indicating the tip of the probe was exiting the MC layer. This was found to be between 400-600 μm from the surface of the OB. From here, the probe was left for 10 minutes for neural activity to stabilise before recording began.

Odour stimulation

Odours were presented using an 8-channel version of the high-speed odour delivery device, 4 of which contained odours (A: ethyl butyrate, B: 2-hexanone, C: isoamyl acetate, D: eucalyptol) and 4 contained blank (mineral oil) which were used to compensate for flow changes. Trials either paired A and B or C and D together. Stimuli were repeated 64 times and had an 8 s inter-trial interval. Onset of odour was recorded using TTL pulses passed through additional channels in the OpenEphys acquisition board. Trial starts were triggered on inhalation as detected by the flowmeter.

Data analysis

Spikes were sorted using Kilosort2 (github.com/MouseLand/Kilosort2;48) and classified as ‘good’ when they displayed a strong refractory period visible in their auto-correlogram, a typical waveform and a stable firing rate, as ‘MUA’ (multi-unit activity) if they presented a typical waveform but a weak refractory period, or ‘noise’ if they were suspected of being electrical or mechanical interference. For a first-pass analysis units were classified as “differentially responding” to correlated and anti-correlated stimuli if units were found to have significantly (p < 0.01, Mann Whitney u test) different spike time distributions during 4 s post odour onset. However, the cut-off for such distinction will always be somewhat arbitrary. For the majority of the analysis, we therefore pooled all good units across experiments in a pseudo-population. All classifiers used for unit recording analysis were support vector machines (SVMs) with linear kernels with a low regularisation parameter, which translates to a greater freedom for a classifier to vary weights for any given component. Data was split into training and test sets prior to classification. Test sets either consisted of 26 trials (summed spike classifiers for correlated vs. anti-correlated) or 2 trials (PCA classifiers and short odour pulse combinations). Data passed to the summed spike classifiers was pre-processed in one of two ways prior to classification.

Firstly, a rolling sum of detected spikes, within variable window sizes was used. The window sizes varied from 10 ms to 2000 ms. In addition to window size, window starts were also varied. Each window size was trialled with every possible window start from zero to four seconds minus the window size from odour onset, with 10 ms incremental changes. For example, a 500 ms window was tested with starts varying from 0 to 3500 ms from odour onset.

Secondly, the coefficients of PCs for units in each trial was used for classification. The PCs were found by applying PCA across all units and all training trials. Each PC represented a time series and hence the coefficients signify the strength at which that time series was followed by a given unit for a given trial. The two holdout trials were not used to find the PCs but were then projected onto them and their coefficients used as the test for the classifiers. All classifiers were repeated 1000 times with a random selection of holdout trials each time.

Finally, for the short odour pulse classification, classifiers were trained on summed spikes in windows of 500 ms post odour onset. Each classifier was trained on all but two hold out trials. To account for a varying number of trials between animals, training data was bootstrapped to 1000 trials of each type. Each trial was randomly selected from the initial pool of training trials, and each unit was bootstrapped independently. These classifiers were tested on the initial two hold out trials. This was repeated 1000 times with different bootstrapped datasets and different hold out trials.

Training data for all classifiers was scaled such that each feature (unit spike count / PC coefficient) had a mean value of zero, and a standard deviation of one using the following equation:

z=(xu)s

where x is the initial value of the feature, u is the mean, s is the standard deviation, and z is the scaled value. Means and standard deviations were calculated using the training data so no information from the testing data could influence the scaling. The testing data was scaled using the same values as for the training. Scaling was applied during every repeat in this manner.

Whole-cell patch recordings

Whole-cell recordings were performed as described previously38,49. Borosilicate pipettes (2 x 1.5 mm) were pulled and filled with (in mM) KMeSO3 (130), HEPES (10), KCl (7), ATP-Na2 (2), ATP-Mg (2), GTP-Nax (0.5), EGTA (0.05) (pH = 7.3, osmolarity ~290 mOsm/kg). The OB surface was submerged with ACSF containing (in mM) NaCl (135), KCl (5.4), HEPES (5), MgCl2 (1), CaCl2 (1.8), (pH = 7.4 and ~300 mOsm/kg. Signals were amplified and low-pass filtered at 10 kHz using an Axoclamp 2B amplifier (Molecular Devices) and digitized at 40 kHz using a Micro 1401 analogue to digital converter (Cambridge Electronic Design).

After zeroing the pipette tip position at the OB surface, the tip was advanced to reach a depth of ~200 μm from the surface. Whole-cell patch-clamp recordings were obtained as described in50. Series resistance was compensated and monitored continuously during recording. Neurons showing series resistance >25 MΩ were discarded from further analysis. To estimate the input resistance, a -50 pA current step was delivered at the start and end of each recording.

The vertical depth of recorded neurons was calculated as the vertical distance from the brain surface. Respiration was recorded using a mass flow sensor (A3100, Honeywell, NC, USA) and digitized at 10 kHz. Odours were prepared and delivered as described above and triggered to the beginning of inhalation.

Data analysis

Change in membrane potential

Recordings were spike-clipped using a custom script written in Spike2 (Cambridge Electronic Design) and analysed in MATLAB (Mathworks, USA). All recordings were baseline subtracted as described previously51. The average change in membrane potential was defined as the difference between the average membrane potential over a 2 s period before odour onset and the average membrane potential in the first 500 ms (~2 sniffs) after odour onset.

Change in spike frequency

Action potentials were counted from raw traces, converted into spike frequency in 50 ms bins and plotted as peri-stimulus time histograms (PSTH). The net change in spike frequency was defined as the difference of the average spike frequency during 2 s before onset and 500 ms after onset.

Arithmetic sum

Baseline-subtracted traces obtained from independent component odour (A and B) presentations were either summed and averaged in an in-phase manner to generate the arithmetic sum equivalent of the correlated response or phase-shifted to generate the equivalent of the anti-correlated response.

Arithmeticsum(correlated)=(VmodourA+VmodourB)/2Arithmeticsum(anticorrelated)=(VmodourA+shiftedVmodourB+shiftedVmodourA+VmodourB)/4

Dual-energy fast photoionisation detection (defPID, Supplementary Methods Fig. 2)

Two photoionisation detectors (200B miniPID, Aurora Scientific, Aurora ON, Canada) fitted with UV lamps of emission energy 10.6 eV (PID high) and 8.4 eV (PID low) were used to discriminate ethyl butyrate (EB, ionisation energy = 9.9 eV) from α-Terpinene (AT, ionisation energy = 7.6 eV) or ethyl valerate (EV, ionisation energy = 10.0 eV) from tripropyl amine (TA, ionisation energy = 7.2 eV). To accommodate the lower voltage UV lamp, resonance circuitry in the PID headstage electronics was adjusted according to manufacturer’s recommendations. Specifically, potentiometer ‘PT1’ was adjusted up to the point where the 8.4 eV lamp began to glow. Further, we tested if the now converted PID low was now sensitive to only AT and TA while not detecting EB and EV. The PID inlets were connected with a 3-way connector to detect incoming odours by both PIDs simultaneously from a common point. PID heads were held on lab stands with the PID inlet at approximately 4 cm above ground level.

Odour delivery

Odours were held in ceramic crucibles (5 cm diameter, 6 ml volume) covered in an air-tight fashion using glass lids. Odours were released for 5 s with an inter-trial interval of 15 s by Arduino-based robots programmed to lift the lids from the crucibles using a servo motor (TowerPro SG-5010, Adafruit, UK). Lid lifting events were triggered by the Arduino board, recorded in Spike2 and defined as the onset of odour for analysis. Both the Arduino board and Spike2 were controlled by a portable computer and used the same clock for synchronisation. Experiments were carried out in a large open space, both indoors and outdoors (Supplementary Methods Fig. 2f,g).

Outdoors setup

PIDs and odour delivery system as described above were used to record for multiple trials in different conditions on a day with low wind (~8-12 mph » 3-5 m/s, recorded with a 2-axis ultrasonic wind sensor (Gill Instruments, Hampshire, UK)). Outdoor experiments were performed on a ~6 m x 10 m wooden patio structure surrounded by trees. Measurement of odour correlations in the outdoor setting were complicated by the presence of background odours: If background odours are detectable by both PIDs, measured correlation will be artificially inflated; if they can be ionized only by the “PIDhigh” they will artificially decrease the measured correlation.

Indoors setup

A digitally controlled fan (2214F/2TDH0, ebm-papst, Chelmsford, UK) was placed at a distance of 325 cm facing the PID inlet. An exhaust line was situated behind the PID inlet to ensure the direction of air from the fan towards the PID inlet. During a recording, the fan was set to maximum speed such that it pushed approximately 550 cf/min (cubic feet per minute, »260 l/s) of air towards the PID inlet. A 25x25x25 cm Thermocool box was placed 200 cm downwind of the fan acting as an obstacle to air movement, promoting complex air movement patterns at the PID inlet. The pump at each PID was set to » 0.02 l/s suction speed, unlikely to perturb overall airflow dynamics substantially.

Recording conditions

6 ml of the desired odour(s) were filled in two crucibles and placed in different locations based on the experimental conditions as described below:

  1. Low energy only: The ‘low-energy odour’ (AT or TA) was placed 40 cm (radial distance d) away from the PID inlet, and displaced either 25 cm left or 25 cm right of the midline (the line between the PID inlet and the centre of the fan). The odour source was alternated between left and right positioning relative to the midline to remove any possible bias from positioning in the air stream. The purpose of this recording condition was to generate data to calculate the linear transformation from the low energy signal to the high energy signal (Supplementary Methods Fig. 2c,d).

  2. Mix: 3 ml EB + 3 ml AT (or 3 ml EV + 3 ml TA) was pipetted in one crucible and placed either 25 cm left or 25 cm right of the midline at radial distances of 20 cm, 40 cm and 60 cm. The purpose of this recording condition was to determine how the temporal structure of individual odours in a plume behaved when the odours were emitted from the same source.

  3. Separate: 3 ml EB and 3 ml of AT (or 3 ml EV and 3 ml TA) were individually pipetted in two different crucibles and placed at a radial distance of 40 cm from the PID inlet. For the s=50 cm apart condition, one odour source was placed 25 cm left of the midline while the other was 25 cm on the right of the midline and vice-versa (equal number of trials for both cases) separating the odour sources by 50 cm. This procedure was repeated for lateral distances of s=30 cm and s=10 cm. The ‘50 cm apart’ case was repeated for radial distances of d=20 cm and d=60 cm. The purpose of this recording condition was to determine how the temporal structure of individual odours in a plume behaved when the odours were emitted from separated sources but were still free to mix in air.

Data analysis

Decomposition procedure

The low energy odour (AT) was recorded using both PIDs as described above. Assuming a linear relation between the recorded signals from the 2 PIDs, we plotted the recorded events with a linear regression fit (Supplementary Methods Fig. 2c) and calculated slope and R2 value of the fit. The scaling factor (6.82 ± 0.356, mean ± SD) was calculated as the average slope of all linear fits for R2 ≥ 0.9.

The ‘PID low’ traces were multiplied by this scaling factor which was termed ‘estimated low energy odour’ (Supplementary Methods Fig. 2e). The ‘estimated high energy odour’ was calculated by subtracting the estimated low energy odour from the ‘PID high’ traces.

Correlation calculation

Custom written scripts in MATLAB (Mathworks, USA) were used to calculate the correlation coefficient between the estimated low energy odour and the estimated high energy odour for all conditions. Box plots were obtained from these values using Igor Pro 6 (WaveMetrics, USA).

Extended Data

Extended Data Fig. 1. Distinguishing fast odour stimuli with slow OSNs.

Extended Data Fig. 1

a, Membrane voltage relative to baseline of a single model OSN in response to a 10 ms odour pulse. Black traces are individual trials; red trace is average over 20 trials. OSN spike threshold has been set high enough to prevent spiking to illustrate the subthreshold voltage time course. b, Membrane voltages (grey traces) of ten OSNs from a population of 5000 in response to a paired odour pulse with pulse width 10 ms and PPI of 25 ms. The voltage time course for one example OSN is in black. Several OSNs reach the OSN spike threshold (dashed red line) and are temporarily reset to the refractory voltage of -1. The population average membrane voltage (red) reveals membrane charging in response to odour stimulation and the subsequent discharging and refractory period. c, Raster showing the spike times (dots) of the full population from b and the corresponding mean firing rate (trace) estimated in 1 ms bins. d, Mean firing rates computed over 20 trials in response to paired odour pulses of width 10 ms and PPIs of 10 ms (green) and 25 ms (black). e, Model calcium signals are produced by squaring the instantaneous mean firing rate and filtering the result with a calcium imaging kernel. f, Model calcium responses to the paired odour stimulus with a PPI of 10 ms (green) and 25 ms (black). Thin traces are single trials, thick traces are averages over 15 trials. g, Schematic of the OSN model. Variables in dashed bounding boxes are changed for each glomerulus (see Methods). h, Linear classifier analysis over an increasing subset size of glomeruli (1-100; plotted is mean ± SD, 256 repeats for random subsets of n glomeruli generating 256 unshuffled and 256 shuffled accuracies).

Extended Data Fig. 2. Sub-sniff odour information in the olfactory bulb input layer.

Extended Data Fig. 2

a, GCaMP6f fluorescence recorded in olfactory bulb glomeruli in an anaesthetised OMP-cre:Rosa-GCaMP6f mouse (maximum projection of 8200 frames, glomerulus marked with red asterisk corresponds to first example trace shown in b). Scale bar: 50 μm. b, Example calcium traces in response to 10 and 25 ms PPI odour stimuli (mean of 50 trials ± SEM). Bottom: Example respiration traces. P-values derived from unpaired two-sided t-tests comparing responses of individual trials integrated over 2 s windows to paired odour pulse stimulation. c, Classifier accuracy over an increasing number of glomeruli when a linear classifier was trained on several response windows (colour-coded black: shuffle control) to PPI 10 vs. 25 ms stimuli (mean ± SD of up to 93 glomeruli from 4 individual animals; 500 repetitions). di, Classifier accuracy when trained on all glomeruli in response to PPI 10 vs. 25 ms stimuli recorded in anaesthetised animals (n = 93 glomeruli, mean ± SD from 4 individual animals) with a sliding window of different durations (colour-coded; black: shuffle control; 100 repetitions) starting at 2 s before odour onset (left) and time period between -0.5 and 0.5 s from odour onset shown at higher magnification (right). dii, Same as di for awake animals (n = 100 glomeruli, mean ± SD from 5 individual animals). e, Odour and f, flow signal integrated over 2 s for PPI 10 ms and PPI 25 ms stimuli (10 repeats each, odour: p = 0.1841, flow: p = 0.1786, unpaired two-sided t-test). g, Correlation coefficients of glomerular calcium responses to PPI 10 vs. 25 ms in anaesthetised (n = 93 glomeruli from 4 individual animals) and awake (n = 100 glomeruli from 5 individual animals) mice (p = 0.3187, unpaired two-sided t-test, measured as in Fig. 1 from OMP-Cre:Rosa-GCaMP6f mice). Violin plots show the median as a black dot and the first and third quartile by the bounds of the black bar. hi, Example respiration traces recorded using a flow sensor from awake mice. Inhalation goes in the upwards, exhalation in the downwards direction. hii, Average instantaneous sniff frequency from one example animal plotted as a function of time (n = 24 trials, mean ± SEM). The odour stimulus consisted of two 10 ms long odour pulses either 10 or 25 ms apart (see Fig. 1c). hiii, Distribution of sniff intervals during a 2 s window before (grey) and a 5 s window after (blue) odour stimulus onset (p = 1.02e-189, two-sample Kolmogorov-Smirnov test). hiv-vi, Same but for the anaesthetised condition (p = 0.3952, two-sample Kolmogorov-Smirnov test). i, Mean odour signal for PPI 10 and 25 ms for 10 increasing concentration steps defined by modulating valve pulse duty (see Methods and Supplementary Methods Fig. 1). There were no significant differences in odour concentration between both stimuli (unpaired two-sided t-tests). j, Modelled response integrals to PPI 10 vs. 25 ms stimulations over a 10-fold concentration range pooled over all 20 trials and 100 glomeruli (see Methods). Box plots show median and extend from the 25th to 75th percentiles, whiskers extend to the 5th and 95th percentiles. ki, Confusion matrix of support vector machine (SVM)-based classification results of modelled glomerular signals in response to a range of 10 odour concentrations ranked and colour-coded (n = 100 glomeruli). kii, Shuffle control with labels assigned randomly. kiii, Confusion matrix showing the ranked and colour-coded results of glomerular responses independently classified for 10 ms vs. 25 ms PPI and across the range of 10 odour concentrations. kiv, Shuffle control for kiii with labels assigned randomly. l, Same as j but 2 s response integrals are derived from Ca2+ imaging data (10 repeats for each concentration). m, Same as k for Ca2+ imaging data (n = 57 glomeruli, from 2 individual animals, 10 repeats for each concentration). Note that 10 ms PPI could be reliably distinguished from 25 ms PPI with only few instances where a response to e.g. a 10 ms PPI stimulus was misclassified as 25 ms or vice versa (compare light red quadrants to light green quadrants). n, Shifting the position of 10 ms PPI within a single inhalation. ni, PPI 10 ms at Position 1 or nii, at Position 2 of three 10 ms odour pulses. Odour pulses as recorded with a PID shown in red, valve commands are shown in dark grey. Light grey area shows additional compensatory blank valve command to keep the flow profile indistinguishable between stimuli. niii, Total odour concentration was independent of the pulse profile (10 repeats, p = 0.57, unpaired two-sided t-test). o, Both the 10 ms PPI at Position 1 (oi) and at Position 2 (oii) are presented during the inhalation phase (respiration shown in black, inhalation upwards, exhalation downwards). p, Example calcium traces in response to 10 ms PPI at Position 1 (black) and Position 2 (red), shown is the mean of 10 trials ± SEM. P-values derived from unpaired t-tests comparing 2 s integrated responses of individual trials to odour pulses. q, Classifier accuracy over increasing number of glomeruli when a linear classifier was trained on the 2 s response to PPI 10 ms at Position 1 vs. Position 2 (mean ± SD of up to 57 glomeruli, from 2 individual animals, 500 repetitions; blue: PPI 10 ms at Position 1 vs. Position 2, black: shuffle control). Boxes in e,f,niii indicate 25th–75th percentiles, thick line is median, whiskers are most extreme data points not considered outliers (see Methods).

Extended Data Fig. 3. Frequency discrimination experiments.

Extended Data Fig. 3

a, Frequency discrimination stimuli are produced by alternating presentation of two odours to generate a desired odour change frequency. During odour delivery, valves are not held open but rather randomly opened and closed over time to produce slight variation in odour amplitude for each pulse. This means that odour concentration cannot be used as a cue to learn the task and odour switching frequency is the primary stimulus signal. Furthermore, valve clicking is randomised to minimize any acoustic cues. b, Replacing one odour channel with blank, un-odourised air and recording the frequency stimuli with a PID reveals that the desired odour pulse frequency is being produced. c, Mice readily learn to discriminate 2 vs. 20 Hz pulse frequency stimuli in a go/no-go task. Replacing the odours with blank channels results in chance-level performance (No odour), which recovers when odours are replaced (Recovery) showing that mice were likely discriminating the odour switching frequency rather than any extraneous cues such as valve noise. The order of odour presentation in the stimuli had no effect on behaviour as when it was shifted (Phase switch) no decrease in performance was observed. Additionally, performance was dependent on the alternation between different odours as when the experiment was repeated with the same odours in each channel (Equal odours) performance was at chance level. d, To determine the perceptual limit of frequency discrimination, the floor frequency used in the task over successive experiments was increased such that the difference in frequency between the stimuli progressively narrowed. Overall performance decreased as the difference in frequency grew smaller, reaching near-chance level with a frequency difference of 10 Hz (10 vs. 20 Hz). Switching back to the original discrimination (2 vs. 20 Hz) recovered performance quickly, showing that the drop in discrimination ability was truly due to the frequency difference rather than general deterioration of performance over time. e, Example uncorrelated stimuli. Combinations of odour 1 (red) and odour 2 (blue) valves are opened with temporal offsets and randomised pulse timing resulting in a correlation of 0 (see Methods). Blank (black) valves are used to keep total airflow constant throughout the stimulus. eii, Higher magnification of the area in ei marked in grey. f, Animals show similar average accuracy as shown in Fig. 2k when probed to discriminate correlated from uncorrelated odour pulses at 10 Hz (n = 19 mice, mean ± SEM of average accuracy = 0.6506 ± 0.0016; after scrambling stimulus identity: 0.4997 ± 0.0032; p = 0.0175, unpaired two-sided t-test). g, Animals show similar average accuracy when discriminating the correlation structure of a different odour pair (Acetophenone vs. Cineol) at 10 Hz (n = 19 mice, mean ± SEM of average accuracy = 0.6558 ± 0.0026; after scrambling stimulus identity: 0.5165 ± 0.0048; p = 0.0129, unpaired two-sided t-test). Grey dots mark average performance of individual animals. Boxes in f,g indicate 25th - 75th percentiles, thick line is median, whiskers are most extreme data points not considered outliers (see Methods).

Extended Data Fig. 4. AutonoMouse stimulus and experimental design.

Extended Data Fig. 4

a, Detailed schematic of stimulus production; odour presentation (Odour 1: blue, Odour 2: red) is always offset by clean air (Mineral Oil: grey) valves at the same flow levels, to ensure that total flow during the stimulus is constant. b, Schematic of the use of valve subsets to produce the desired stimulus. t1 and t2 represent valve openings at the corresponding time points shown in a. c1 (b, left) and c2 (b, middle) represent two possible configurations that could be used to produce the same resulting stimulus at the two time points. Opacity in the colours represents total concentration contribution to the resulting stimulus at the time point. For example, to produce the dual odour pulse at t1, configuration c1 can be used where odour 1 (blue) is delivered from one valve and odour 2 (red) from another valve. During t2 two valves contribute clean air. Alternatively, configuration c2 can be used in which during t1 odour 1 (blue) is generated by 50% opening of two valves, with odour 2 (red) produced by 70% / 30% opening of two other valves respectively. (b, right) Scramble control: valve maps (represented by arrow colour) are maintained compared to the training condition but odour vial positions are scrambled resulting in odour stimuli uninformative about reward association whilst maintaining any non-odour cue such as putative sound or flow contributions. c, Predicted accuracy for animals in the case that they use solely olfactory temporal correlations (black) and in the case that they use extraneous non-olfactory cues or non-intended olfactory cues (e.g. contaminations, clicking noises) (violet). Note that when switching stimulus preparations to a new set of valves (as in Fig. 2i and below in i-k), such non-intended cues would not provide any information about stimulus-reward association, thus animals’ accuracies would transiently drop back to chance. di, Average flow recordings (mean ± SD) of 2 Hz correlated (black, n = 75) and anti-correlated (red, n = 70) trials taken from the AutonoMouse odour port. dii, Fourier transform of the flow plots from di, showing the power of the signal over a range of 1 kHz. diii A zoom in over the range of 10 Hz indicated by the dotted box in dii. div, Mean accuracy of a series of linear classifiers trained on an increasing window of the integrated signal starting from 1 s before trial shown in di. Classifiers were tested on two withheld trials, one correlated and one anti-correlated, and repeated 100 times. e, Same as d but for 40 Hz trials (n = 69 correlated and n = 72 anti-correlated). fi, Average audio recording trace (mean ± SD) of 2 Hz stimuli using a microphone placed in close proximity to the AutonoMouse odour port. fii, fiii, Fourier transforms of the audio signal from fi. Note, whilst there are notable peaks at specific frequencies, these are present in both correlated and anti-correlated trials. fiv, Accuracy of a series of linear classifiers as shown in d but using the modulus of the audio signal. g, Same as f but for 40 Hz trials. Note, whilst the sound profile and the Fourier transforms are different between 2 and 40 Hz, there is no difference detectable between correlated and anti-correlated trials. h, Example traces of odour signal (ethyl butyrate, isoamyl acetate, PID recorded) during correlated (top) and anti-correlated trials (middle). Simulated maximum accuracy based on differences in mean odour signal (bottom). Simulated accuracy was calculated as the fraction of trials correctly identified as correlated / anti-correlated based on a decision threshold set at some level between the minimum and maximum mean signal. Simulated accuracy was calculated for multiple decision thresholds, increasing the decision threshold from minimum odour signal to maximum odour signal in steps of 1/5000th of the range between minimum and maximum. i, Detailed schematic of correlated (top left) and anti-correlated (top right) stimulus production before (middle) and after (bottom) switching valves. For the switch control, a set of previously unused odour valves is introduced to rule out potential bias towards a specific valve combination when performing the odour correlation discrimination task. j, Trial map of 5 representative animals during 2 Hz (ji) and 12 Hz (jii) correlation discrimination tasks before and after introduction of control valves (n = 12 trials pre-, n = 12 trials post-new valve introduction, new valve introduction indicated by black vertical dotted line. Each row corresponds to an animal, each column within the row represents a trial. Light green: hit, dark green: correct rejection, light red: false alarm, dark red: miss. ki, Boxplots of mean accuracy for animals (n = 5 mice) pre- and post-control for 2 Hz (left) and 12 Hz (right). Box indicates 25th – 75th percentiles, thick line is median, whiskers are most extreme data points not considered outliers, see Methods. P-values derived from unpaired t-tests. k", Summary histograms of performance change for all animals during all “valve switch” control tests (see Methods) indicating that discrimination accuracy was based on intended olfactory cues. The five animals showing highest performance before the valve switch/bottle change (and thus the largest potential to drop in performance) were analysed. l, Discrimination accuracy (n = 33 animals, mean ± SEM) for rewarded S+ (left) and unrewarded S- (right) trials when odours were presented using standard training valve configurations (black) and scrambled valve identity (red), data from Fig. 2k. Note that frequencies >40 Hz were presented predominantly in the last block of the training schedule and reduced licking in the control group (decreased S+ performance and increased S- performance) might be due to decreased motivation at that point.

Extended Data Fig. 5. Respiration recordings, stimulus onset model and reaction time for correlation discrimination experiments.

Extended Data Fig. 5

a, An overhead camera was used to image a head-fixed mouse during a sequence of odour presentations. Simultaneously, a flow sensor was placed close to one nostril to monitor respiration to establish the validity of motion imaging-based respiration recording. Phase-based motion amplification was used to magnify motion on the animal’s flank to capture body movements associated with respiration. Right: example for simultaneous respiration measurement with motion imaging (red) and flow sensor (black; see Methods and Supplementary Video 2). b, Three further example trials with respiration rate extracted from motion imaging (red) and simultaneous flow sensor recording (black). Below: instantaneous sniff frequencies calculated from either sensor were tightly correlated. c, Correlation between respiration traces extracted from motion imaging and respiration captured by flow sensor (n = 26 trials, 10 s duration each). Violin plot shows the median as a black dot and the first and third quartile by the bounds of the black bar. d, Probability distributions of inter-sniff intervals for odour presentations (isoamyl acetate vs. ethyl butyrate, 2 Hz and 20 Hz) for freely moving animals in AutonoMouse before stimulus onset and e, during 2 s odour stimulation (n = 605 sniffs for 2 Hz and n = 668 for 20 Hz, two-sample Kolmogorov-Smirnov test). f, Heat map of accuracy difference between a model where animals rely on onset information only (see Methods) and actual animal accuracies across a range of sniff frequencies and inhalation fractions (n = 10 mice). No matter what assumed sniff frequency and inhalation frequency, the “onset model” deviates substantially from the accuracy measured in the behavioural experiments (panels h,i). g, Difference between a model where animals use the entire stimulus structure (see Methods) and actual behavioural accuracies across different stimulus sampling times (n = 10 repeats, mean ± SD). The “whole stimulus” model accurately describes animal behaviour indicating that mice base a decision about the correlation structure of a stimulus not predominantly on the onset. Note the different scales in f and g. h, Schematic of experimental stimulus in which the first stimulus pulse was disrupted when presented on “probe trials”. Top: normal stimulus design, bottom: “onset disrupt” stimuli in which the first pulse in a correlated stimulus is disrupted to be anti-correlated; and vice versa for an anti-correlated stimulus. i, Animals were trained on standard (non-probe) correlation discrimination stimuli (f = 10 Hz) but onset disrupt (probe) stimuli were presented randomly on probe trials with a 1/10 probability. Accuracy was only slightly degraded on probe trials (mean ± SD of accuracy for non-probe trials 75.8 ± 4.4%; for probe trials 67.8 ± 6.1%; p = 0.001, paired two-sided t-test, n = 9 mice) but did not drop below chance (p = 7.3e-06, paired t-test). Importantly, accuracy on probe trials was consistent with whole-structure prediction (70.3 ± 3.5%, p = 0.13, paired t-test of comparison to probe trials) and differed significantly from the accuracy of onset-only prediction (41.6 ± 1.5%; p = 1.02e-6, paired t-test of comparison to probe trials). j, Mean reaction time (time from stimulus onset to first lick in S+ trials) plotted as a function of stimulus pulse frequency for the three animals with the best (left) and the worst (right) global accuracy (mean accuracy across all trials). Better performing animals tend to increase their reaction time as stimulus pulse frequency increases. k, Scatter plot of mean accuracy vs. mean reaction time for each animal and stimulus pulse frequency condition (averaged over blocks of 100 trials). Points are colour-coded according to stimulus pulse frequency. Accuracy was significantly positively correlated to reaction time, suggesting that mice that sampled a greater portion of the stimulus made more accurate decisions about its correlation structure (Pearson correlation coefficient R = 0.49, p<1.1e-112). l, Accuracy (mean ± SEM) is plotted as in Fig. 2k, but only trial blocks with reaction times above or below a certain threshold (colour code) are included in the analysis. Where only longer reaction times are considered, global performance is higher than the case where only shorter reaction times are included, again suggesting that longer stimulus sampling improves discrimination of odour correlation structure across all stimulus pulse frequencies.

Extended Data Fig. 6. OSN imaging in response to correlated vs. anti-correlated odour stimulation.

Extended Data Fig. 6

a, Four example fields of view (FOV) recorded from the dorsal olfactory bulb of individual mice. aii, Number of individual glomeruli per FOV in all experimental mice (n = 15). The number of individually delineated glomeruli ranges from 20-36 with an average of 28 glomeruli per FOV. Labelled data points (1-4) correspond to FOVs shown in ai. Scale bars: 50 μm. Edges of the box are the 25th and 75th percentiles, the whiskers extend to the most extreme data points not considered as outliers, see Methods. b, Example glomerulus response from OMP-Cre:Rosa-GCaMP6f mice to presentation of individual odours plotted pairwise (AB, CD, EF; mean of 6 trials ± SEM). Stimulation period (1 s) is indicated by vertical bar (blue, green and yellow). Bottom: Typical example respiration trace. P-values derived from unpaired two-sided t-tests comparing 2 s integrated responses between paired odours. c, Averaged calcium transients from all glomeruli (n = 145 from 5 individual animals) in response to individual odours, plotted as colour maps sorted by response magnitude. d, Difference between glomerulus responses to individual odours plotted pairwise as colour maps. Glomeruli are sorted by average magnitude of response difference. e, Example glomerulus response to presentation of correlated vs. anti-correlated odour pairs fluctuating at 2 Hz (mean of 12 trials ± SEM). Bottom: typical example respiration trace. P-values derived from unpaired two-sided t-tests comparing 2 s integrated responses of individual trials to correlated and anti-correlated odour stimulation. f, Difference between glomerulus responses to 2 Hz correlated and anti-correlated odours as colour maps sorted as shown in d. g-h, Same as in e-f but for 20 Hz correlated vs. anti-correlated. Example glomerulus from b,e,g indicated with an asterisk in colour maps in c,d,f,h. i, Left: P-values derived from comparing trials of the summed 2 s response to correlated vs. anti-correlated odour stimulation at 2 Hz (unpaired two-sided t-tests) for three odour pairs (colour-coded) as a function of glomerulus selectivity to individual odours (n = 145 glomeruli). Selectivity is calculated as the difference between the absolute response to single odours scaled by the summed absolute response. A threshold is set at 0.5 defining glomeruli as low or high selective. Dot size represents magnitude of the summed response. Middle: Comparison of p-values between low and high selective glomeruli (p < 0.05, unpaired two-sided t-test). Violin plots show the median as a white dot and the first and third quartile by the bounds of the grey bar. Right: Cumulative distribution function of p-values for low and high selective glomeruli (p < 0.01 for all pairwise comparisons, two-sample Kolmogorov-Smirnov test). j, Same as i but for 20 Hz, (n = 145 glomeruli). k, Top row: Mean ± SD over 100 repetitions of classifier accuracy when trained on all responsive glomeruli (n = 145 available, from 5 individual animals, see Methods) to discriminate 2 Hz correlated vs. anti-correlated stimuli, trained separately for each of the three odour pairs and within sliding windows of different widths (colours); x-coordinates indicate latest extent of each window. Bottom row: same as top row but with labels shuffled as control. l, Same as k for 20 Hz correlated vs. anti-correlated odours. Some data points in k, l are absent because not all time points had responsive ROIs for every window size (see Methods).

Extended Data Fig. 7. Odour correlation structure is encoded in dendrites of olfactory bulb output neurons.

Extended Data Fig. 7

a, GCaMP6f fluorescence from mitral and tufted cells and their dendrites recorded in the dorsal portion of the olfactory bulb of a Tbet-cre:Rosa-GCaMP6f mouse (maximum projection of 8000 frames). Dendritic ROIs are superimposed in colour. Four dendritic segments (1-4) are shown in higher magnification, scale bars: 20 μm. b, Four example calcium traces extracted from dendritic segments shown in a that show differential response kinetics to correlated (black) and anti-correlated (red) stimulation (mean of 24 trials ± SEM, f = 20 Hz). In total, 24% of dendritic segments showed significantly different integral responses (0-5 s after odour onset, p < 0.01, unpaired two-sided t-test; 121/514) to the two stimuli. c, Average calcium transients as colour maps for correlated (left) anti-correlated (middle) and the difference between both odour stimulations (right) of all analysed dendritic segments (n = 514, from 6 individual animals). d, Classifier accuracy over an increasing number of dendritic ROIs trained on several response windows (colour-coded) to discriminate correlated vs. anti-correlated stimuli at 20 Hz (n = up to 514, mean ± SD from 6 individual animals, black: shuffle control). e, Method of aligning calcium traces to first inhalation after odour stimulus onset. ei, Representative respiration traces recorded using a flow sensor placed in front of the nostril contralateral to the imaging window. The first inhalation peaks were detected and the time (Δt) to the first inhalation after odour onset was calculated for each trial individually. eii, Representative calcium transients in response to a single odour presentation (here: 20 Hz correlated). eiii, Transients are shifted according to Δt. eiv, Individual calcium transients (faint colours, 24 trials) in response to 20 Hz correlated odour presentations with the average calcium signal (thick traces) superimposed. Top: before aligning to first inhalation after odour onset, bottom: after alignment. Blue bar represents the odour presentation phase (approximate for the aligned data). f, Distribution of odour response integrals from all recorded ROIs (n = 514) for correlated (grey) and anti-correlated (red) stimulation. Box indicates 25th – 75th percentiles, thick line is median, whiskers are most extreme data points not considered outliers, see Methods. g, Histogram of the difference between correlated and anti-correlated odour responses. Box plots as in f. h, Comparison of correlated and anti-correlated odour responses of all dendritic ROIs (f = 20 Hz, n = 514 dendrites). i, Classifier accuracy when trained on all dendritic ROIs recorded with a sliding window of different durations starting 2 seconds before odour onset (colour-coded, black: shuffle control, n = 514 from 6 individual animals; mean ± SD, 100 repetitions). j-m, same as f-i for projection neuron somata (f = 20 Hz, n = 680 cells; see Fig. 3).

Extended Data Fig. 8. Projection neurons unit recordings in response to correlated vs. anti-correlated stimulation and short odour pulse combinations.

Extended Data Fig. 8

a, Data from unit recordings as described in Fig. 3h-k. Average waveforms across all channels of two isolated units shown in bi,ii. Each waveform represents the average waveform for the unit on a specific channel. Red waveform indicates the channel with the largest average waveform for the unit. Scale bar in the bottom left represents 100 μV (vertically) and 1 ms (horizontally). b, Additional example single unit odour responses to correlated (black) and anti-correlated (red) stimuli shown as raster plot (top) and PSTH (mean of 64 trials for each condition ± SEM) of spike times before (second from top) and after baseline subtraction (second to bottom), and the differential PSTH of correlated and anti-correlated (bottom, blue). Average spike waveform shown as insets in bi,ii. Duration of odour presentation (2 s) is indicated in light blue. P-values are derived from a two-sided Mann-Whitney U test comparing the spike time distributions of correlated and anti-correlated trials during 4 s after odour onset. c, Average baseline firing rate for all units (n = 97 from 6 individual animals). Baseline firing rates were calculated from 4 s to 0 s before odour onset for each of the 1312 trials presented during all recordings. Violin plot shows the median as a black dot and the first and third quartile by the bounds of the black bar. di, Classifier accuracy when trained on all baseline-subtracted units in response to 20 Hz correlated vs. anti-corelated stimulation (n = 97 units, mean ± SD from 6 individual animals) with a sliding window of different durations (colour-coded; black: shuffle control; 100 repetitions) starting at 2 s before odour onset. Time along the x-axis represents the end time of the window. dii, Time period between -0.5 and 0.5 s from odour onset shown at higher magnification (n = 97 units, mean ± SD from 6 individual animals). e, To take the entire temporal structure of responses into account we performed a principal component analysis (PCA) on the temporal evolution of the firing rate responses (see Methods). Shown here is the accuracy for linear SVM classifiers (mean ± SD) trained on increasing numbers of principal components (PCs). Classifiers were trained on all but two trials (one correlated, one anti-correlated). Training and testing were repeated 1000 times. The colour code represents the same window sizes as defined in d. f, The first (fi), second (fii), and third (fiii) PCs found from PCA for different rolling window sizes (colour code as defined in d). In the second and third PCs, the windows have been split as to better compare the similarities in PCs for different window sizes. g, Average classifier accuracy of a set of classifiers trained on the PC weights of increasing number of units. Classifiers were trained on all but two trials (one correlated, one anti-correlated). The number of PCs used for each window was selected by the peak accuracies in e (colour-coded; n = up to 97 units from 6 individual animals; mean ± SD of 1000 classifier repetitions). h, Schematic of odour pulse stimuli timings in relation to the respiration cycle. Three combinations were presented, each trial 120 ms in length. For example, 11000 (top) consisted of a 40 ms odour pulse (light blue) followed by 80 ms of blank odourless air (grey); All trials were triggered at the onset of inhalation. i, PSTH from four example units (ii-iv) showing their average firing rate prior, during, and after odour presentation (light blue vertical bar). Responses are either to 11000 trial (black) or 10100 odour presentation (red). The instantaneous firing rate was calculated by summing the number of detected spikes in 10 ms windows and multiplying the value by 100 to get Hz. j, Accuracy of linear classifiers as a function of the number of units available for training/testing (mean ± SD of n = up to 145 units from 8 individual anaesthetised animals). Each classifier is trained on the summed spike count of the available units in a window of 500 ms starting at odour onset. The classifiers were trained on all but two trials, one 11000 and one 10100 trial and the number of repeats between animals varied between 11 and 30. To account for this and to minimise the variability of the training set, trial number was bootstrapped to 1000 repeats. This was achieved by randomly selecting a repetition for each unit independently. The test set was isolated from the responses prior to bootstrapping and thus was not seen by the classifier until it was tested on it. Each classification was repeated 500 times with a different selection of units, and a different test set. The shuffled control (black) was accomplished by shuffling the training labels during each iteration of the classifier without shuffling test labels. k, Same as in j but classifying all three odour pulse combinations shown in h. l, Confusion matrix showing the fractions that each trial type was classified as (n = 145 units from 8 individual animals). True labels are shown on the x-axis and labels predicted by the classifier on the y-axis. Accuracies correspond to maximum unit count shown in c and d. The classifiers can readily separate between trials containing a single 40 ms odour pulse. Accuracy is lower when distinguishing between an intermission of 20 or 40 ms but remains above chance (chance = 0.33).

Extended Data Fig. 9. Whole cell recordings of projection neurons in response to correlated vs. anti-correlated odour stimulation.

Extended Data Fig. 9

a, Schematic of the whole-cell patch clamp recording approach. b, Distribution of input resistance and c, recording depth as measured from all recorded projection neurons (n = 31). d, Left: Example recording from single cells with consecutive presentations of correlated (black) and anti-correlated (red) odour stimulus at 2 Hz. Duration of odour presentation (2 s) is indicated in light blue. Right: Baseline-subtracted and spike-clipped subthreshold voltage response from a single cell to odour 1 (green) and odour 2 (blue) for 2 Hz. e, the same as d but for 20 Hz odour stimulation. f, Voltage response from three example cells for correlated (black) and anti-correlated (red) odour stimulus for 2 Hz (top) and 20 Hz (bottom). The cell shown in fi corresponds to the cell shown in d and e. The grey overlaid traces correspond to the arithmetic sum estimated from the response to individual odours. Bottom: Linear prediction histogram calculated by thresholding the arithmetic sum of the subthreshold responses to the individual odours. Differences here suggest that correlation can be calculated based on a single cell level if the two individual odours engage overlapping OSN populations. P-values are derived from a paired two-sided t-test of the membrane potential and the firing rate in the first 500 ms after odour onset. g, Average change in voltage (gi) and in instantaneous spike frequency (gii) in the first 500 ms after odour onset from baseline membrane potential for 2 Hz correlated vs. anti-correlated odour presentation and h, for 20 Hz. Each marker corresponds to a single cell, error bars represent SEM. Data points in black represent cells where p < 0.05 between correlated and anti-correlated conditions. P-values are derived from a paired t-test of the membrane potential and the firing rate in the first 500 ms after odour onset. Indicators (i), (ii) & (iii) represent cells shown in f. i, Pie charts depicting the proportion of cells showing significant difference as described above (blue) in subthreshold membrane potential (left) and spike frequency (right) for all 2Hz (top) and 20Hz (bottom) cells. P-values are derived from a paired t-test of the membrane potential and the firing rate in the first 500 ms after odour onset.

Extended Data Fig. 10. Odour plume generation and additional analysis of source separation experiments.

Extended Data Fig. 10

a, Power spectrum of all recorded odour plumes (mean ± SD of log power, n = 132 plumes). b, Cross correlation of all recordings at different lateral separation distances. c, Correlation coefficients over all recordings for odours from the same source and for odour sources separated by 50 cm in a controlled laboratory environment with complex airflow (indoors; ethyl valerate (EV) vs. tripropylamine (TPA); n = 25 for same source, n = 27 for sources separated by 50 cm; p < 0.0001, unpaired two-sided t-test). Box indicates 25th – 75th percentiles, thick line is median, whiskers are most extreme data points not considered outliers; see Methods. d, Same as Figure 4b (for odours α-Terpinene and ethyl butyrate) but for radial distances to the PID of 20 cm and 60 cm (p < 0.0001, unpaired two-sided t-test). e, Same as d but measured outdoors (n = 7 for same source, 10 for sources separated by 50 cm; p < 0.001, unpaired t-test; Indoors versus outdoors, one source: p = 0.0060, s = 50 cm: p = 0.0632, unpaired two-sided t-test). f, Example plume structures originating from the same one source or separated sources as recorded with a PID (blue) and replayed with the multi-channel high bandwidth odour delivery device (orange). g, Correlation coefficients over all recordings of replayed plumes for one source (n = 53 plumes) and for sources separated by 50 cm from each other (n = 74 plumes; p = 2.27e-41, unpaired two-sided t-test). h, Odour signals integrated over 2 s for all recordings of replayed plumes for one source (n = 53 plumes) and for sources separated by 50 cm (n = 74 plumes; p = 0.75, unpaired two-sided t-test). i, Odour plume signals integrated over 2 s for rewarded and unrewarded trials (n = 150 trials each; Odour 1: p = 0.4739, Odour 2: p = 0.0923, unpaired two-sided t-test). j, Overlaid power spectra (mean ± SD of log power) of all plumes (n = 127 plumes) recorded in complex, natural airflow conditions (blue) and replayed plumes (orange). k, Schematic of plume reproduction: First, a 2s long window is selected from the PID recording, starting around the middle of the trace and such that odour is present during the first 500 ms. Secondly, the trace is normalised between 0 and 1. Thirdly, the trace is converted into a series of binary opening and closing commands directly related to the value of the normalised signal. A value of 1 translates to a continuous opening, and a value of 0 translates to continuously closed. This series of commands is relayed to an odour valve and an inverted version of the commands is relayed to a mineral oil valve to generate a compensatory airflow. The resulting output resembles the original plume, as measured with a PID, and there is constant airflow throughout the trial, as measured with a flow meter. The same procedure is then applied to the accompanying odour, to create both plumes needed for each trial. l, Group learning curves (mean ± SD) for the two groups of animals trained on the virtual source separation task, but on different set of valves. Group 1 (n = 6 mice, blue) were trained on the task from the start, while Group 2 (n = 6 mice, cyan) were first exposed to a scrambled version of the task and were later transferred to the same plumes as Group 1. This served as a control that the cue required for learning is indeed olfactory information contained in the odour plumes. For the 3rd stage of learning, the plumes were refined to ensure odour was always present in the first 500 ms of the trial and performance stabilised for the two groups. Mice progressed through these learning stages as a group, based on time elapsed from the beginning of training. Therefore, some mice performed more trials than others. The last trial performed by a mouse in each phase is represented by a colour-coded circle above the plot. Accuracy is calculated over a 100-trial sliding window. m, Rejection fraction (fraction of trials the mouse abstained from licking) calculated for each plume pair plotted in relation to the correlation between the two odour traces in that plume pair. Animals are trained to lick (expected low rejection fraction) for source separated trials (low correlation) and abstain from licking (high rejection fraction) for one source trials (high correlation). n, Difference in lick rates in response to source separation training trials (n = 9 mice, mean ± SD), calculated for each mouse as lick rate (licks / 100 ms) in response to S+ trials minus the lick rate in response to S- trials, normalized to averaged lick rate for all trials across the corresponding time period. o, Reaction times for each mouse, calculated as the time point when the difference in lick rate for each mouse crossed a threshold (mean + 3 SDs over the baseline, defined as the first 200 ms of the trace, when odour was not present). Box indicates 25th - 75th percentiles, thick line is median, see Methods. p, Trial map of all animals during virtual source separation tasks before and after introduction of control valves similar to Extended Data Fig. 4 (n = 40 trials pre-, n = 40 trials post-new valve introduction, new valve introduction indicated by black vertical line). Each row corresponds to an animal, each column within the row represents a trial. Light green: hit, dark green: correct rejection, light red: false alarm, dark red: miss. q, Mean performance of animals (n = 11 mice) that reached performance criterion during training during pre- and post-control. r, Discrimination accuracy split by stimulus valence (green, S+; black, S-) for odour correlation fluctuation frequencies 2, 20 and 40 Hz (Fig. 4e; n = 9 mice, data is mean ± SD, unpaired two-sided t-test). s, Group performance for the square pulse probe trials at different frequencies, in animals trained on the source separation task (blue dots, n = 9 mice, data is mean ± SD), compared to group performance where animals were trained on correlated and anti-correlated square pulse trains (from Fig. 2k, black line and SEM band, n = 33 mice; 2 Hz: p = 0.0018, 20 Hz: p = 0.19, 40Hz: p = 0.94, unpaired two sided t-test). Violin plots in g-i show the median as a black dot and the first and third quartile by the bounds of the black bar.

Supplementary Material

Supplementary Video 1
Download video file (54.2MB, mp4)
Supplementary Video 2
Download video file (7MB, mp4)
Supplementary Information Guide

Acknowledgements

We thank the animal facilities at National Institute for Medical Research and the Francis Crick Institute for animal care and technical assistance. We thank the mechanical and electronic workshops in MPI Heidelberg (N. Neef, K. Schmidt, M. Lukat, R. Roedel, C. Kieser) and London (A. Ling, A. Hurst, M. Stopps) for support during development and construction, the Aurora Scientific team for suggestions for adapting the miniPID, T. Margrie for discussion, Venkatesh Murthy for discussions and suggestions on the OSN imaging experiments, and A. Fleischmann, K. Franks, F. Guillemot, M. Hausser, F. Iacaruso, R. Jordan, J. Kohl, T. Mrsic-Flogel, V. Pachnis, A. Silver, and P. Znamenskiy for comments on earlier versions of the manuscript. We thank the members of the Odor2Action NeuroNex network, in particular J. Victor, J. Crimaldi, B. Smith, M. Schmucker, and J. Verhagen for discussion. This work was supported by the Francis Crick Institute which receives its core funding from Cancer Research UK (FC001153), the UK Medical Research Council (FC001153), and the Wellcome Trust (FC001153); by the UK Medical Research Council (grant reference MC_UP_1202/5); a Wellcome Trust Investigator grant to ATS (110174/Z/15/Z), a BIF doctoral fellowship to ACM, and a DFG postdoctoral fellowship to TA.

Footnotes

Author Contributions

ATS conceived the project, TA, AE, DD, ATS designed experiments with input from ACM, TW, JH, and ST; TA (in vivo imaging, plume measurements), AE (plume measurements, frequency and correlation behaviour), DD (plume measurements, whole-cell recordings), ACM (source separation behaviour), TW (unit recordings), ST (analysis for OSN imaging), JH (source separation behaviour) performed experiments and analysed data, IF contributed tools and to experimental design, ST performed simulations, TA, AE, ATS wrote the manuscript with input from all authors.

Author Information Reprints and permissions information is available at www.nature.com/reprints.

The authors declare no competing financial interests.

Readers are welcome to comment on the online version of the paper.

Data availability

Data related to the OSN model (Extended Data Fig. 1) is available at https://github.com/stootoon/crick-osn-model-release. Data related to the glomerular classifier analysis (Extended Data Fig. 6) is available at https://github.com/stootoon/crick-osn-decoding-release. The remaining data that support the findings of this study will be made available by the authors upon request.

Code availability

All custom Python scripts to generate pulses (PyPulse, PulseBoy) are available at http://github.com/RoboDoig and http://github.com/warnerwarner. Code for controlling AutonoMouse is available at https://figshare.com/articles/AutonoMouse_Code/7616090. Code related to the OSN model is available at https://github.com/stootoon/crick-osn-model-release. Code related to the glomerular classifier analysis is available at https://github.com/stootoon/crick-osn-decoding-release.

References

  • 1.Fackrell J, Robins A. Concentration fluctuations and fluxes in plumes from point sources in a turbulent boundary layer. J Fluid Mech. 1982;117:1–26. [Google Scholar]
  • 2.Mylne KR, Mason PJ. Concentration fluctuation measurements in a dispersing plume at a range of up to 1000 m. Q J R Meteorol Soc. 1991;117:177–206. [Google Scholar]
  • 3.Schmuker M, Bahr V, Huerta R. Exploiting plume structure to decode gas source distance using metal-oxide gas sensors. Sensors Actuators B Chem. 2016;235:636–646. [Google Scholar]
  • 4.Murlis J, Elkington JS, Cardé RT. Odor Plumes And How Insects Use Them. Annu Rev Entomol. 1992;37:505–532. [Google Scholar]
  • 5.Hopfield JJ. Olfactory computation and object perception. PNAS. 1991;88:6462–6. doi: 10.1073/pnas.88.15.6462. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Rokni D, Hemmelder V, Kapoor V, Murthy VN. An olfactory cocktail party: figure-ground segregation of odorants in rodents. Nat Neurosci. 2014;17:1225–1232. doi: 10.1038/nn.3775. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7.Vergassola M, Villermaux E, Shraiman BI. ‘Infotaxis’ as a strategy for searching without gradients. Nature. 2007;445:406–409. doi: 10.1038/nature05464. [DOI] [PubMed] [Google Scholar]
  • 8.Celani A, Villermaux E, Vergassola M. Odor Landscapes in Turbulent Environments. Phys Rev X. 2014;4:041015 [Google Scholar]
  • 9.Crimaldi JP, Koseff JR. High-resolution measurements of the spatial and temporal scalar structure of a turbulent plume. Exp Fluids. 2001;31:90–102. [Google Scholar]
  • 10.Moore PA, Atema J. Spatial Information in the Three-Dimensional Fine Structure of an Aquatic Odor Plume. Biol Bull. 1991;181:408–418. doi: 10.2307/1542361. [DOI] [PubMed] [Google Scholar]
  • 11.Mafra-Neto A, Carde RT. Fine-scale structure of pheromone plumes modulates upwind orientation of flying moths. Nature. 1994;369:142–144. [Google Scholar]
  • 12.Vickers NJ. Mechanisms of animal navigation in odor plumes. Biol Bull. 2000;198:203–212. doi: 10.2307/1542524. [DOI] [PubMed] [Google Scholar]
  • 13.Riffell JA, Sanders E, et al. Flower discrimination by pollinators in a dynamic chemical environment. Science. 2014;344:1515–1518. doi: 10.1126/science.1251041. [DOI] [PubMed] [Google Scholar]
  • 14.Szyszka P, Stierle JS, Biergans S, Galizia CG. The speed of smell: Odor-object segregation within milliseconds. PLoS One. 2012;7:4–7. doi: 10.1371/journal.pone.0036096. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Szyszka P, Gerkin RC, Galizia CG, Smith BH. High-speed odor transduction and pulse tracking by insect olfactory receptor neurons. Proc Natl Acad Sci. 2014;111:16925–16930. doi: 10.1073/pnas.1412051111. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Kepecs A, Uchida N, Mainen ZF. The sniff as a unit of olfactory processing. Chem Senses. 2006;31:167–179. doi: 10.1093/chemse/bjj016. [DOI] [PubMed] [Google Scholar]
  • 17.Shusterman R, Smear MC, Koulakov AA, Rinberg D. Precise olfactory responses tile the sniff cycle. Nat Neurosci. 2011;14:1039–44. doi: 10.1038/nn.2877. [DOI] [PubMed] [Google Scholar]
  • 18.Cury KM, Uchida N. Robust Odor Coding via Inhalation-Coupled Transient Activity in the Mammalian Olfactory Bulb. Neuron. 2010;68:570–585. doi: 10.1016/j.neuron.2010.09.040. [DOI] [PubMed] [Google Scholar]
  • 19.Burton SD. Inhibitory circuits of the mammalian main olfactory bulb. J Neurophysiol. 2017;84112 doi: 10.1152/jn.00109.2017. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 20.Duchamp-Viret P, Chaput MA, Duchamp A. Odor Response Properties of Rat Olfactory Receptor Neurons. Science. 1999;284:2171–2174. doi: 10.1126/science.284.5423.2171. [DOI] [PubMed] [Google Scholar]
  • 21.Munger SD, Leinders-Zufall T, Zufall F. Subsystem organization of the mammalian sense of smell. Annu Rev Physiol. 2009;71:115–40. doi: 10.1146/annurev.physiol.70.113006.100608. [DOI] [PubMed] [Google Scholar]
  • 22.Bressel OC, Khan M, Mombaerts P. Linear correlation between the number of olfactory sensory neurons expressing a given mouse odorant receptor gene and the total volume of the corresponding glomeruli in the olfactory bulb. J Comp Neurol. 2016;524:199–209. doi: 10.1002/cne.23835. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Carr CE, Amagai S. Processing of temporal information in the brain. Adv Psychol. 1996;115:27–52. [Google Scholar]
  • 24.Erskine A, Bus T, Herb JT, Schaefer AT. AutonoMouse: High throughput automated operant conditioning shows progressive behavioural impairment with graded olfactory bulb lesions. PLoS One. 2019:291815. doi: 10.1371/journal.pone.0211571. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 25.Brown JL. Visual Sensitivity. Annu Rev Psychol. 1973;24:151–186. doi: 10.1146/annurev.ps.24.020173.001055. [DOI] [PubMed] [Google Scholar]
  • 26.Westheimer G, McKee SP. Perception of temporal order in adjacent visual stimuli. Vision Res. 1977;17:887–892. doi: 10.1016/0042-6989(77)90062-1. [DOI] [PubMed] [Google Scholar]
  • 27.Smear M, Shusterman R, O’Connor R, Bozza T, Rinberg D. Perception of sniff phase in mouse olfaction. Nature. 2011;479:397–400. doi: 10.1038/nature10521. [DOI] [PubMed] [Google Scholar]
  • 28.Rebello MR, McTavish TS, et al. Perception of Odors Linked to Precise Timing in the Olfactory System. PLoS Biol. 2014;12 doi: 10.1371/journal.pbio.1002021. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Li A, Gire DH, Bozza T, Restrepo D. Precise Detection of Direct Glomerular Input Duration by the Olfactory Bulb. J Neurosci. 2014;34:16058–16064. doi: 10.1523/JNEUROSCI.3382-14.2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 30.Geffen MN, Broome BM, Laurent G, Meister M. Neural encoding of rapidly fluctuating odors. Neuron. 2009;61:570–86. doi: 10.1016/j.neuron.2009.01.021. [DOI] [PubMed] [Google Scholar]
  • 31.Rajan R, Clement J, Bhalla U. Rats Smell in Stereo. Science. 2006;311:666–670. doi: 10.1126/science.1122096. [DOI] [PubMed] [Google Scholar]
  • 32.Catania KC. Stereo and serial sniffing guide navigation to an odour source in a mammal. Nat Commun. 2013;4:1441. doi: 10.1038/ncomms2444. [DOI] [PubMed] [Google Scholar]
  • 33.Baker T, Fadamiro H, Cosse A. Moth uses fine tuning for odour resolution. Nature. 1998;393:530. [Google Scholar]
  • 34.Stierle JS, Galizia CG, Szyszka P. Millisecond stimulus onset-asynchrony enhances information about components in an odor mixture. J Neurosci. 2013;33:6060–9. doi: 10.1523/JNEUROSCI.5838-12.2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Abeles M. Time Is Precious. Science. 2004;304:523–524. doi: 10.1126/science.1097725. [DOI] [PubMed] [Google Scholar]
  • 36.Padmanabhan K, Urban NN. Intrinsic biophysical diversity decorrelates neuronal firing while increasing information content. Nat Neurosci. 2010;13:1276–82. doi: 10.1038/nn.2630. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 37.Park IM, Bobkov YV, Ache BW, Príncipe JC. Intermittency Coding in the Primary Olfactory System: A Neural Substrate for Olfactory Scene Analysis. J Neurosci. 2014;34:941–952. doi: 10.1523/JNEUROSCI.2204-13.2014. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 38.Fukunaga I, Herb JT, Kollo M, Boyden ES, Schaefer AT. Independent control of gamma and theta activity by distinct interneuron networks in the olfactory bulb. Nat Neurosci. 2014;17:1208–1216. doi: 10.1038/nn.3760. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Ishii T, Hirota J, Mombaerts P. Combinatorial coexpression of neural and immune multigene families in mouse vomeronasal sensory neurons. Curr Biol. 2003;13:394–400. doi: 10.1016/s0960-9822(03)00092-7. [DOI] [PubMed] [Google Scholar]
  • 40.Haddad R, Lanjuin A, et al. Olfactory cortical neurons read out a relative time code in the olfactory bulb. Nat Neurosci. 2013;16:949–957. doi: 10.1038/nn.3407. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 41.Madisen L, Garner ARR, et al. Transgenic Mice for Intersectional Targeting of Neural Sensors and Effectors with High Specificity and Performance. Neuron. 2015;85:942–958. doi: 10.1016/j.neuron.2015.02.022. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Raiser G, Galizia CG, Szyszka P. A High-Bandwidth Dual-Channel Olfactory Stimulator for Studying Temporal Sensitivity of Olfactory Processing. Chem Senses. 2017;42:141–151. doi: 10.1093/chemse/bjw114. [DOI] [PubMed] [Google Scholar]
  • 43.Abraham NM, Spors H, et al. Maintaining accuracy at the expense of speed: Stimulus similarity defines odor discrimination time in mice. Neuron. 2004;44:865–876. doi: 10.1016/j.neuron.2004.11.017. [DOI] [PubMed] [Google Scholar]
  • 44.Wadhwa N, Rubinstein M, Durand F, Freeman WT. Phase-Based Video Motion Processing. ACM Trans Graph. 2013;32:1–10. [Google Scholar]
  • 45.Lopes G, Bonacchi N, et al. Bonsai: an event-based framework for processing and controlling data streams. Frontiers in Neuroinformatics. 2015;9:7. doi: 10.3389/fninf.2015.00007. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 46.Ghatpande AS, Reisert J. Olfactory receptor neuron responses coding for rapid odour sampling. J Physiol. 2011;589:2261–2273. doi: 10.1113/jphysiol.2010.203687. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 47.Pachitariu M, Stringer C, et al. Suite2p: beyond 10,000 neurons with standard two-photon microscopy. bioRxiv. 2016:061507. doi: 10.1101/061507. [DOI] [Google Scholar]
  • 48.Pachitariu M, Steinmetz N, Kadir S, Carandini M, Harris KD. Kilosort: realtime spike-sorting for extracellular electrophysiology with hundreds of channels. bioRxiv. 2016:061481. doi: 10.1101/061481. [DOI] [Google Scholar]
  • 49.Jordan R, Fukunaga I, Kollo M, Schaefer AT. Active Sampling State Dynamically Enhances Olfactory Bulb Odor Representation. Neuron. 2018;98:1214–1228. doi: 10.1016/j.neuron.2018.05.016. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 50.Margrie TW, Brecht M, Sakmann B. In vivo, low-resistance, whole-cell recordings from neurons in the anaesthetized and awake mammalian brain. Pflugers Arch Eur J Physiol. 2002;444:491–498. doi: 10.1007/s00424-002-0831-z. [DOI] [PubMed] [Google Scholar]
  • 51.Abraham NM, Egger V, et al. Synaptic Inhibition in the Olfactory Bulb Accelerates Odor Discrimination in Mice. Neuron. 2010;65:399–411. doi: 10.1016/j.neuron.2010.01.009. [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 Video 1
Download video file (54.2MB, mp4)
Supplementary Video 2
Download video file (7MB, mp4)
Supplementary Information Guide

Data Availability Statement

Data related to the OSN model (Extended Data Fig. 1) is available at https://github.com/stootoon/crick-osn-model-release. Data related to the glomerular classifier analysis (Extended Data Fig. 6) is available at https://github.com/stootoon/crick-osn-decoding-release. The remaining data that support the findings of this study will be made available by the authors upon request.

All custom Python scripts to generate pulses (PyPulse, PulseBoy) are available at http://github.com/RoboDoig and http://github.com/warnerwarner. Code for controlling AutonoMouse is available at https://figshare.com/articles/AutonoMouse_Code/7616090. Code related to the OSN model is available at https://github.com/stootoon/crick-osn-model-release. Code related to the glomerular classifier analysis is available at https://github.com/stootoon/crick-osn-decoding-release.

RESOURCES