Abstract
Monitoring neuronal activity at large scale and high spatiotemporal resolution is crucial for understanding information processing within the brain. Here we optimized a kilohertz-frame-rate two-photon fluorescence microscope with an all-optical megahertz line-scan rate to achieve ultrafast imaging across large areas and volumes at subcellular resolution. Applying this technique to in vivo voltage and calcium imaging, we demonstrated simultaneous recording of voltage activity over 200 neurons and calcium activity over 14,000 neurons from the mouse visual cortex, as well as volumetric calcium imaging of the larval zebrafish brain.
Subject terms: Multiphoton microscopy, Fluorescence imaging, Visual system, Optical imaging, Ca2+ imaging
FACED 2.0 builds on and expands the capabilities of the free-space angular-chirp-enhanced delay microscopy approach. Its high speed, large field of view and volumetric coverage enable two-photon voltage imaging of hundreds of neurons or calcium imaging of thousands of neurons in the mouse or zebrafish brain.
Main
Understanding the complex mechanisms of neural computation in the intact brain requires monitoring neuronal activity at subcellular or cellular spatial resolution over large areas or volumes with sufficient time resolution to capture physiological events of interest. For example, in calcium imaging, sampling rates of a few hertz are sufficient, whereas hundreds of hertz to kilohertz sampling rates are required to capture signals associated with individual action potentials (APs).
Because of its ability to image deep inside the opaque mammalian brain and visualize neurons at submicrometer lateral resolution, point-scanning two-photon fluorescence microscopy1 (2PFM) is the most common approach for in vivo neuronal activity imaging. Here, fluorescence generation is confined to the focus of a high numerical aperture (NA) microscope objective, enabling optical sectioning in tissues. Images are generated by scanning the excitation focus across the sample and detecting emitted photons at each position. Therefore, the imaging speed of 2PFM is limited by how fast the excitation focus can be scanned. The mechanical inertia of galvanometric and resonant mirrors used in conventional 2PFM limits the line scan rate to tens of kilohertz, resulting in tens to hundreds of two-dimensional (2D) frames per second (fps) and even lower three-dimensional (3D) volume rates2,3. Although faster line scanning up to hundreds of kilohertz can be achieved by acousto-optic deflectors, these scanners have a more limited angular steering range and a smaller number of resolvable scanned points4,5. Recently, several methods utilized high-speed polygonal scanners and scan multiplier units for fast 2PFM imaging, but their line scan rates remain below 600 kHz (refs. 6–8).
Previously, we reported a laser-scanning technique named free-space angular-chirp-enhanced delay (FACED)9 that achieved up to 4-MHz line scan rates and 3,000 fps for ultrafast 2PFM imaging in vivo, enabling 2D 1-kHz voltage imaging over up to a 50 µm × 250 µm field of view (FOV) with 6-s continuous data acquisition10. Here, we describe FACED 2.0 where improved hardware and software have enabled large-scale, continuous activity imaging in both 2D and 3D in vivo. Achieving a pixel rate of 1.0 × 108 pixels per second while maintaining the spatial resolution and imaging depth of conventional 2PFM, we demonstrate high-throughput recording of cerebral blood flow, population voltage imaging of hundreds of neurons, 3D calcium imaging that densely sampled neurons in millimeter-scale volumes in the awake mouse brain, and whole-brain calcium imaging of zebrafish larvae in vivo.
Results
FACED 2.0 enables ultrafast 2PFM imaging at subcellular resolution over millimeter scales
Key optics in the FACED module are a cylindrical lens and a pair of highly reflective and quasi-parallel mirrors (reflectivity >99.9% and misaligned angle α < 1 mrad; Fig. 1a,b). When placed between a laser and a microscope, the FACED module transforms a laser pulse into a set of time-delayed pulses propagating at slightly different angles. These pulses then form a one-dimensional (1D) array of excitation foci that are spatially separated and temporally delayed (that is, a line scan) at the objective focal plane. Without utilizing active scanning, the line scan rate of this all-optical and passive module equals the repetition rate of the laser, which can easily go beyond megahertz9,11. A standard galvanometric scanning mirror (‘Y galvo’) then scanned the pulse train along the orthogonal direction (Fig. 1a,b, magenta boxes and arrow) to obtain raster-scanning 2D images.
Fig. 1. Schematics and performance of FACED 2.0.
a, Schematics of FACED 2.0. Colored boxes indicate scanning mechanisms of: 1, FACED module; 2, Y galvo scanning FACED lines perpendicularly to generate a FACED FOV; 3, X galvo tiling FACED FOV; 4, Z piezo scanning axially for volumetric imaging. b, A 1,111 µm × 1,000 µm × 600 µm volume of mouse cortical vessels imaged at 624 ms/vol in vivo. Every tenth image is shown. Colored lines and arrows correspond to scanning mechanisms in a. Voxel size: 1.4 µm × 2 µm × 5 µm; 1,035 nm excitation at 240 mW post 0.8-NA objective. c, Lateral (X: along FACED line; Y) and axial (Z) FWHMs measured from 500 200-nm-diameter beads for the first (L), middle (M) and last (H) third of FACED foci of 1.05-NA and 0.8-NA objectives, respectively. Data are presented as mean values ± s.d. d, Maximum intensity projection of a representative 46 µm × 64 µm × 5 µm volume of dendrites at 36 µm depth (out of 127 volumes) in a Thy1-GFP line M mouse cortex; 1,035 nm excitation at 150 mW post 1.05-NA objective. Arrows indicate putative synapses. e, Time-averaged image of cortical blood vessels within a 1,111 µm × 1,000 µm FOV at 50 µm depth and 5.3 ms per frame in vivo. Pixel size: 1.4 µm × 2 µm; 1,035 nm excitation at 215 mW post 0.8-NA objective; 967 capillary segments are color-coded by their mean blood flow speed. The arrow indicates the capillary segment with a measured 25.9 mm s−1 maximal speed. f, Histogram of mean blood speed of segments in e. g, Temporal variations of flow speed in segments in e.
For FACED 2.0, we designed a FACED module that transformed each laser pulse from a 1-MHz excitation laser system of 920 nm or 1,035 nm output into 100 pulses with a 1-ns interpulse interval, which formed a line scan along the X axis in a 2PFM system constructed with off-the-shelf components (Extended Data Fig. 1). Scanning the Y galvo at 500 Hz with bidirectional data acquisition led to 1,000 fps over 140 µm × 1,035 µm FACED FOV (1.4 µm × 1.15 µm pixel sizes) for a 16× 0.8 NA objective and 80 µm × 585 µm FACED FOV (0.8 µm × 0.65 µm pixel sizes) for a 25× 1.05 NA objective. Scanning the Y galvo at 833 Hz enabled acquiring FOVs of comparable sizes at 0.6 ms per frame or 1,667 fps.
Extended Data Fig. 1. Optical layout of FACED 2.0 two-photon fluorescence microscope.
Excitation laser (red) and fluorescence emission (green) beam paths. BE: beam expander; M: mirror; HWP: half-wave plate; CL: cylindrical lens; PBS: polarizing beam splitter; QWP: quarter-wave plate; FM: FACED mirror; α: angle between the FACED mirrors; L: lens; Galvo: galvanometer scanner; DM: dichroic mirror; OBJ: objective lens, PMT: photomultiplier tube.
To enlarge the 2D FOV, FACED 2.0 utilized an additional X galvo to tile the kilohertz FACED FOVs laterally: for example, tiling eight FACED FOVs laterally, we acquired a 1,111 µm × 1,000 µm FOV at 5.3 ms per frame with the 0.8 NA objective (Fig. 1a,b). To enable ultrafast volumetric imaging, we used a fast piezo stage to oscillate the objective axially (Fig. 1a,b)—with the millisecond frame acquisition time of FACED 2.0, the continual Z movements during image acquisition did not generate in-frame motion artifacts (Supplementary Note 1). Upgrades in data acquisition hardware and software, including the implementation of field-programmable gate arrays (FPGA), enabled continuous streaming of data to disk at 0.256 GB s−1.
Importantly, FACED 2.0 maintained subcellular resolution in XY and cellular resolution in Z (Fig. 1c), which are essential for resolving individual neurons in 3D and accurately measuring their activity. Even though field-dependent aberrations in the imaging setup caused modest variations in resolution (Extended Data Figs. 2 and 3), across the entire tiled FOV, 200-nm-diameter fluorescent beads had a lateral full width at half maximum (FWHM) of 0.83 ± 0.19 µm in X (mean ± s.d.) and 0.53 ± 0.10 µm in Y when imaged by the 1.05 NA objective, and 1.27 ± 0.38 µm in X and 0.76 ± 0.14 µm in Y for the 0.8 NA objective. Axially, the FWHMs were 2.01 ± 0.35 µm for the 1.05 NA objective and 4.79 ± 0.91 µm for the 0.8 NA objective. Given that cortical neurons have cell bodies as small as 10 µm in size, with an axial FWHM less than 5 µm, FACED 2.0 had the resolution necessary for resolving single cells axially. Along the FACED line scans, the later foci (with higher number of reflections between FACED mirrors, ‘H’) had higher X resolution than the earlier foci (with lower number of reflections, ‘L’) (Fig. 1c; L versus H foci, P < 10−47 for both 16× 0.8 NA and 25× 1.05 NA objectives, Mann–Whitney U test), because their longer propagation distance led to a larger beam profile at the objective back pupil and, thus, higher effective excitation NA. In a Thy1-GFP line M12 mouse cortex in vivo, the high lateral resolution enabled us to resolve dendritic spines with both 1.05 NA and 0.8 NA objectives (Fig. 1d and Extended Data Fig. 4a). It also allowed the detection of neuronal processes and capillaries at 750 µm below dura (Extended Data Figs. 4b, 5 and 6).
Extended Data Fig. 2. PSF measurements across the imaging FOV of a 25× 1.05 NA objective.
(a) Three consecutive dots with labels ‘L’, ‘M’, and ‘H’ denote the average FWHMs of PSFs measured for the first (L), middle (M), and last (H) third of foci within a FACED line. (b, c, d) FWHMs along the X (FACED line) (b), Y (c), and Z (d) directions, respectively, measured at different FOV locations, using notation in a. (e-h) Variation of L, M, and H FWHMs (e) along the middle vertical axis of the FOV for (f) X, (g) Y, and (h) Z PSFs. (i-l) Variation of L, M, and H FWHMs (i) along the middle horizontal axis of the FOV for (j) X, (k) Y, and (l) Z PSFs. (m-p) Variation of L, M, and H FWHMs (m) along one diagonal axis of the FOV for (n) X, (o) Y, and (p) Z PSFs. (q-t) Variation of L, M, and H FWHMs (q) along the other diagonal axis of the FOV for (r) X, (s) Y, and (t) Z PSFs. All data are presented as mean values +/- SD. PSFs were measured from 0.2-µm-diameter fluorescent beads. 6 beads were measured for each third of a FACED line. 500 beads were measured in total.
Extended Data Fig. 3. PSF measurements across the imaging FOV of a 16× 0.8 NA objective.
(a) Three consecutive dots with labels ‘L’, ‘M’, and ‘H’ denote the average FWHMs of PSFs measured for the first (L), middle (M), and last (H) third of foci within a FACED line. (b, c, d) FWHMs along the X (FACED line) (b), Y (c), and Z (d) directions, respectively, measured at different FOV locations, using notation in a. (e-h) Variation of L, M, and H FWHMs (e) along the middle vertical axis of the FOV for (f) X, (g) Y, and (h) Z PSFs. (i-l) Variation of L, M, and H FWHMs (i) along the middle horizontal axis of the FOV for (j) X, (k) Y, and (l) Z PSFs. (m-p) Variation of L, M, and H FWHMs (m) along one diagonal axis of the FOV for (n) X, (o) Y, and (p) Z PSFs. (q-t) Variation of L, M, and H FWHMs (q) along the other diagonal axis of the FOV for (r) X, (s) Y, and (t) Z PSFs. All data are presented as mean values +/- SD. PSFs were measured from 0.2-µm-diameter fluorescent beads. 6 beads were measured for each third of a FACED line. 500 beads were measured in total.
Extended Data Fig. 4. FACED 2.0 with a 16× 0.8 NA objective has subcellular resolution and visualizes neuronal processes down to 750 µm in vivo.
(a) Maximum intensity projection of a representative 92 µm × 128 µm × 10 µm volume of dendrites at 29.5 µm depth (out of 97 volumes) in a Thy1-GFP line M mouse cortex imaged with a 16× 0.8 NA objective. Arrows: putative synapses. (b) 1,111 µm × 1,035 µm images acquired from different depths in a Thy1-GFP line M mouse cortex. Representative of 2 FOVs from 2 mice. Pixel size: 1.4 µm × 1.15 µm. Insets: zoomed-in views of areas in boxes. Arrows: neuronal processes at 750 µm and 800 µm depths. 1035 nm excitation at 170 mW post objective.
Extended Data Fig. 5. FACED 2.0 with a 25× 1.05 NA objective visualizes neuronal processes down to 800 µm in vivo.
640 µm × 585 µm images acquired from 16 depths in a Thy1-GFP line M mouse cortex. Representative of 2 FOVs from 2 mice. Pixel size: 0.8 µm × 0.65 µm. Insets: zoomed-in views of areas in boxes. Arrows: neuronal processes at 750 µm and 800 µm depths. 1035 nm excitation at 140 mW post objective.
Extended Data Fig. 6. FACED 2.0 with a 16× 0.8 NA objective visualizes capillaries down to 750 µm in vivo.
1,111 µm × 1,000 µm images acquired from different depths in a mouse cortex. Capillaries are labeled with dextran-conjugated Rhodamine B. Representative of 2 FOVs from 2 mice. Pixel size: 1.4 µm × 2 µm. Arrows: capillaries at 700 µm and 750 µm depths. 1035 nm excitation at 208 mW post objective.
We first applied FACED 2.0 to high-throughput measurement of cerebral blood flow in 2D. Using the 0.8 NA objective, we imaged a FOV of 1,111 µm × 1,000 µm with a pixel size of 1.4 µm × 2 µm at 5.3 ms per frame in the superficial cortex of an awake mouse (Supplementary Video 1). We retro-orbitally injected dextran-conjugated Rhodamine B to label the mouse blood plasma. Tracking the motion of unlabeled blood cells, we concurrently measured blood flow speed across 966 capillary segments (Fig. 1e) at a throughput (defined here as the FOV area imaged per millisecond) that was 18.7 times that of FACED 1.013 and 5.2-fold higher than a recent study using another fast line-scanning technique14. Consistent with our previous result13, most segments had <5 mm s−1 flow speed (Fig. 1e,f), but the high frame rate of FACED 2.0 enabled us to observe a maximal flow speed of 25.9 mm s−1 (Fig. 1e, at the segment indicated by arrow). We observed minimal photobleaching during the 31.8-s recording, which allowed us to continuously monitor the temporally varying flow speed in these segments (Fig. 1g).
FACED 2.0 enables simultaneous voltage imaging of hundreds of neurons in the mouse brain in vivo
Next, we used FACED 2.0 for population imaging of voltage activity from neurons expressing the genetically encoded voltage indicator JEDI-2P-Kv15 in the awake mouse brain. Tiling two FACED FOVs, we used the 1.05 NA objective to image a 160 µm × 400 µm area with a pixel size of 0.8 µm × 0.8 µm at 1.25 ms per frame (Fig. 2).
Fig. 2. Imaging voltage activity from 182 neurons in vivo at 1.25 ms per frame.
a, JEDI-2P-Kv-expressing L2/3 neurons in a representative 160 µm × 400 µm FOV (out of 14 FOVs of 3 mice) within a mouse visual cortex imaged at 132 µm depth and 1.25 ms per frame. Pixel size: 0.8 µm × 0.8 µm; 1,035 nm excitation at 163 mW post 1.05-NA objective. Numbers indicate representative neurons. b, Representative −ΔF/F voltage traces (in blue) of numbered neurons in a. Black ticks indicate suprathreshold spikes, and orange traces represent subthreshold −ΔF/F. c, Zoom-in view of voltage traces within the gray boxes in b. d, Raster plots of (top) spikes and (bottom) subthreshold −ΔF/F traces of 182 neurons during a representative 8.25-s trial. e, Suprathreshold versus subthreshold pairwise correlation coefficients (CC, gray dots) for 16,471 cell pairs from the 182 neurons in a. Black dots represent binned averages with 0.01 bin size for subthreshold CC. The dashed gray line indicates the reference line with slope = 1. f, Plot of FR versus subthreshold −ΔF/F for neuron 96, fit with a power-law function (black curve; power-law exponent = 2.75). Gray dots indicate FR versus subthreshold −ΔF/F, and black dots indicate binned average FR with 0.01 bin size in −ΔF/F. Error bars represent the s.e.m. g, Histogram of fit power-law exponent values of 182 neurons. The dashed line represents the median. h, Spikes (left) and subthreshold responses (right) relative to stimulus onset (dashed red lines) extracted from 19,008 voltage traces of 88 neurons exhibiting visually evoked activity across 27 trials × 8 drifting grating orientations. Top: raster plots of individual traces. Bottom: average FR (black curve) and average subthreshold −ΔF/F (orange curve). i, Representative polar-plot tuning curves for suprathreshold (black) and subthreshold (orange) voltage responses of neurons 75, 79 and 160, respectively. Dots indicate measured responses, and curves indicate double-Gaussian fit. j, Histogram of suprathreshold OSI of 43 OS neurons. The dashed line represents the median. k, Scatter plot of subthreshold OSI versus suprathreshold OSI for 43 OS neurons. The dashed line indicates the reference line with slope = 1.
In one mouse, we simultaneously recorded voltage activity from 182 layer 2/3 visual cortical neurons (Fig. 2b,c and Supplementary Fig. 1) in response to alternate 0.5-s blank screens and 0.5-s gratings (drifting in 8 directions from 0° to 315° at 45° intervals; 8.25 s per trial, 27 trials). During each 8.25-s trial, we observed on average 4% reduction in brightness due to photobleaching. Across the entire 222.75 s recording, the total photobleaching was around 15% (Extended Data Fig. 7a,b). We manually segmented each neuron’s soma membrane as the region of interest (ROI) and used VolPy16 to extract its voltage trace. We defined voltage transients as optically detected APs if they are detected as spikes by VolPy and also had their peak −∆F/F larger than 2.5 times the standard deviations (s.d.) of the voltage trace within a 52-ms window centering on the spike (Fig. 2b and Supplementary Note 2). These spikes had peak −∆F/F of ~20%, consistent with the previously reported AP response of JEDI-2P-Kv15. We extracted the subthreshold voltage responses by lowpass-filtering the voltage traces (Fig. 2b,c).
Extended Data Fig. 7. Photobleaching of JEDI-2P-Kv fluorescence during FACED 2PFM imaging.
(a) Time-averaged fluorescence signal over each 8.25-s continuous imaging trial across 27 trials. Same data as Fig. 2, 160 µm × 400 µm FOV acquired at 1.25 ms/frame for a total duration of 222.75 s using 1035 nm excitation at 163 mW post-objective from a depth of 132 µm below dura. A 15% photobleaching observed over the entire 222.75-s acquisition duration. (b) Fluorescence signal over each 8.25-s continuous imaging trial across 27 trials. Same data as a and an average of 4% photobleaching observed within each 8.25-s-long trial. (c) Time-averaged fluorescence signal over each 8.32-s continuous imaging trial across 26 trials. Same data as Fig. 3, 320 µm × 400 µm FOV acquired at 2.6 ms/frame for a total duration of 216.32 s using 1035 nm excitation at 164 mW post-objective from a depth of 140 µm below dura. A 10% photobleaching observed over the entire 216.32-s acquisition duration. (d) Fluorescence signal over each 8.32-s continuous imaging trial across 26 trials. Same data as c and an average of 5% photobleaching observed within an 8.32-s-long trial. Pixel size for all data: 0.8 µm × 0.8 µm.
Our ability to image voltage activity simultaneously from hundreds of neurons enabled experiments with throughput unachievable by electrophysiology. For example, intracellular whole-cell recording of APs and subthreshold membrane voltage is typically performed on one neuron at a time. Simultaneous whole-cell recordings from multiple neurons are possible but challenging to perform17, with up to four neurons18–21 simultaneously recorded in vivo. In comparison, voltage imaging by FACED 2.0 enabled us to simultaneously record spiking and subthreshold activity from these 182 neurons (representative 8.25-s trial; Fig. 2d).
One dominant feature of these data was the highly synchronized population-wide events in subthreshold activity in contrast to much less synchronized spiking (Fig. 2d). This characteristic was observed throughout all 27 trials for these 182 neurons (Supplementary Fig. 2). We calculated and compared the pairwise correlation coefficients for sub- versus suprathreshold activity (16,471 cell pairs from 182 neurons; Fig. 2e). Consistent with previous whole-cell recordings from brain slices22 and in vivo imaging15 but at a throughput that was orders of magnitude higher, we found that output (that is, spiking) correlation increased with rising input (that is, subthreshold) correlation and that the input correlation was always substantially stronger than—and bounded—the correlation between output spikes.
We frequently observed synchronized subthreshold 3–6 Hz oscillations lasting 1–2 s (Fig. 2d and Supplementary Fig. 2), in agreement with previous whole-cell23,24 and local field potential25 recordings from visual cortex of the awake mouse. During these events, synchronized oscillatory firing was also observed from these neurons, consistent with extracellular recordings26 and probably resulting from thalamocortical interaction24.
Having access to both subthreshold activity and spiking also allowed us to investigate how individual neurons transform membrane potential Vm to spikes, by fitting a power-law function between the trial-averaged subthreshold input and firing rate27,28 (FR). Although ∆F/F from voltage imaging did not directly indicate the Vm value, because the −∆F/F response of JEDI-2P-Kv is linearly proportional to Vm in the voltage range of −55 mV to −25 mV (ref. 15), we could determine the exponent p in the power-law function FR = A × (−∆F/F)p for all 182 neurons, which ranged from 0.6 to 4.9 with a median value of 2.17 (Fig. 2f,g). Previous electrophysiological recordings from the mouse brain produced exponent values within our measured range, albeit for much fewer numbers of neurons per mice and mostly acquired under anesthesia29–32.
From the spiking activity of the 182 neurons, we identified 88 neurons with visually evoked suprathreshold activity. Across 27 trials from these 88 neurons, we observed increased spiking and subthreshold activity following grating stimulus onsets as expected (Fig. 2h). We further identified 43 suprathreshold orientation-selective (OS) neurons within the imaging FOV. Consistent with prior electrophysiology recordings29,32, subthreshold depolarizations were evoked by a broader range of orientations than spiking (tuning curves of example neurons; Fig. 2i). We calculated the orientation selectivity index (OSI) using both supra- and subthreshold responses from the OS neurons. The distribution and median of the suprathreshold OSI (Fig. 2j) were similar to previous measurement from population calcium imaging of layer 2/3 neurons33. The sharper orientation tuning of the spiking compared with subthreshold responses was also reflected by their higher OSI values calculated from the OS population (Fig. 2k).
Tiling four FACED FOVs for each frame, we can double the imaging area to 320 µm × 400 µm at a pixel size of 0.8 µm × 0.8 µm and 2.6 ms per frame. Previous characterization on JEDI-2P dynamics indicates that imaging at 2.6 ms per frame should be able to capture most APs15. In one mouse, we recorded voltage activities from 225 layer 2/3 visual cortical neurons simultaneously (Fig. 3 and Supplementary Figs. 3 and 4) and observed similarly low photobleaching (Extended Data Fig. 7c,d). Importantly, the population voltage dynamics observed at 2.6 ms per frame are highly similar to Fig. 2 data acquired at 1.25 ms per frame, including activity correlation, input–output function, timing and magnitude of visually evoked responses, and population orientation tuning properties (out of 225 neurons in Fig. 3, 155 neurons exhibited visually evoked suprathreshold activity, and 86 neurons displayed suprathreshold activity with orientation selectivity).
Fig. 3. Imaging voltage activity from 225 neurons in vivo at 2.6 ms per frame.
a, JEDI-2P-Kv-expressing L2/3 neurons in a representative 320 µm × 400 µm FOV (out of 10 FOVs of 3 mice) within a mouse visual cortex imaged at 140 µm depth and 2.6 ms per frame. Pixel size: 0.8 µm × 0.8 µm; 1,035 nm excitation at 164 mW post 1.05-NA objective. Numbers indicate representative neurons. b, Representative −ΔF/F voltage traces (in blue) of numbered neurons in a. Black ticks indicate suprathreshold spikes, and orange traces represent the extracted subthreshold −ΔF/F. c, Zoom-in view of voltage traces from the gray boxes in b. d, Raster plots of spikes (top) and subthreshold −ΔF/F traces (bottom) of 225 neurons during a representative 8.32-s trial. e, Suprathreshold versus subthreshold pairwise correlation coefficients (CC, gray dots) for 25,200 cell pairs from the 225 neurons in a. Black dots indicate binned averages with 0.01 bin size for subthreshold CC. The dashed gray line represents the reference line with slope = 1. f, Plot of FR versus subthreshold −ΔF/F for neuron 21, fit with a power-law function (black curve; power-law exponent = 2.42). Gray dots indicate FR versus subthreshold −ΔF/F, and black dots indicate the binned average FR with 0.01 bin size in −ΔF/F. The error bar represents the s.e.m. g, Histogram of fit power-law exponent values of 225 neurons. The dashed line indicates the median. h, Suprathreshold (left) and subthreshold (right) responses relative to stimulus onset extracted from 32,240 voltage traces of 155 neurons exhibiting visually evoked activity across 26 trials × 8 drifting grating orientations. Top to bottom: raster plot, averaged FR (black curve, bottom left) and averaged subthreshold −ΔF/F (orange curve, bottom right). The dashed red line indicates the onset of drifting grating stimuli. i, Representative polar-plot tuning curves for suprathreshold (black) and subthreshold (orange) voltage responses of neurons 102, 141 and 204, respectively. Dots indicate measured responses, and curves indicate double-Gaussian fit. j, Histogram of suprathreshold OSI of 86 OS neurons. The dashed line indicates the median. k, Scatter plot of subthreshold OSI versus suprathreshold OSI for 86 OS neurons. The dashed line represents the reference line with slope = 1.
To test how the frame rate of imaging data affects the extracted voltage dynamics, we downsampled the 800 Hz data in Fig. 2 to 400 Hz and compared the activity characteristics measured from the downsampled data with the original data (Extended Data Fig. 8). Consistent with the observations above, 400 Hz sampling can inform on neuronal activity with similar accuracy as 800 Hz in most application scenarios for JEDI-2P-Kv and 800 Hz is required only when accurate recording of high-frequency firing is needed (Supplementary Note 3).
Extended Data Fig. 8. Analysis comparison of an 800-Hz voltage imaging dataset and its 2× down-sampled (to 400 Hz) data.
(a-f) Analyses of 800-Hz data (1.25 ms/frame; same as Fig. 2). (g-l) Analyses of down-sampled data (effectively 2.5 ms/frame). (a, g) Raster plots of (top) spikes and (bottom) subthreshold -ΔF/F traces of 182 neurons during a representative 8.25-s trial. (b, h) Suprathreshold versus subthreshold pairwise correlation coefficients (CC, gray dots) for 16,471 cell pairs from the 182 neurons in a. Black dots: binned averages with 0.01 bin size for subthreshold CC. Dashed gray line: reference line with slope = 1. (c, i) Histogram of fitted power-law exponent values of 182 neurons. Dashed line: median. (d, j) Average firing rate (black curve, top panel) and subthreshold -ΔF/F (orange curve, bottom panel) relative to the onset of drifting grating stimuli (red dashed line) extracted from 19,008 voltage traces of 88 neurons exhibiting visually evoked activity across 27 trials × 8 drifting grating orientations. (e, k) Histogram of suprathreshold orientation-selectivity index (OSI) of 43 orientation selective (OS) neurons in e and 30 OS neurons in k. Dashed line: median. (f, l) Scatter plot of subthreshold OSI vs. suprathreshold OSI for 43 OS neurons in f and 30 OS neurons in l. Dashed line: reference line with slope = 1.
FACED 2.0 enables high-throughput volumetric calcium imaging in the mouse and zebrafish larval brain in vivo
Finally, we demonstrated the ability of FACED 2.0 for high-throughput volumetric imaging, where its high 2D frame rate was used to rapidly record calcium activity at different depths by oscillating the objective axially. Importantly, FACED 2.0 does not sacrifice axial resolution in exchange for imaging throughput, unlike other high-throughput volumetric imaging methods with reduced resolution (Supplementary Table 1). Using the 0.8 NA objective, we imaged a volume of 1,111 µm × 1,000 µm × 400 µm, at a voxel size of 1.4 µm × 2 µm × 10 µm and 259.7 ms/vol, within the visual cortex of an awake transgenic mouse with GCaMP6s34 expression in excitatory neurons (Slc17a7-IRES2-Cre35 × Ai162D36) in response to drifting grating stimuli (drifting in 8 directions from 0° to 315° at 45° intervals; 36 trials; Fig. 4a and Supplementary Video 2). The high lateral and axial resolutions of FACED 2.0 enabled cellular resolution imaging in 3D, while the voxel size allowed us to densely sample nearly all neurons within this volume.
Fig. 4. Large-scale in vivo volumetric imaging of calcium activity.
a, A 1,111 µm × 1,000 µm × 400 µm volume (representative of 11 volumes from 2 mice) in the visual cortex of a Slc17a7-IRES2-Cre × Ai162D mouse imaged at 259.7 ms/vol. Voxel size: 1.4 µm × 2 µm × 10 µm; 920 nm excitation at 102 mW post 0.8-NA objective. b,c, Example images at 105 µm (b) and 185 µm (c) depths out of a total of 40 depths from a. Insets: zoomed-in views of areas in yellow boxes. Arrows indicate neurons showing nucleus-excluded GCaMP6s expression. d, Simultaneously recorded ΔF/F calcium traces from 12,511 neurons during a 64-s trial with drifting grating visual stimulation. Cyan and magenta boxes indicate calcium traces from neurons in b and c, respectively. e, Example trial-averaged ΔF/F traces of neurons in a at 45–395 µm below dura. The gray shading indicates the s.d. f, The 36-trial-averaged calcium traces from 9,811 neurons with visually evoked activity, grouped by depth 0–100 μm, 100–200 μm, 200–300 μm and 300–400 μm. g, Horizontal bars with their lengths indicating the numbers of neurons with their maximal ΔF/F at a specific grating direction for all 9,767 OS neurons across depths. h, Histograms showing the OSI (left) and DSI (right) distributions of OS neurons at each depth. The gray histogram (top) shows OSI and DSI distributions for all neurons. The dashed lines indicate median values.
Individual neurons were identified on the basis of their morphology (Fig. 4b,c) and activity (Supplementary Video 2). We manually segmented 13,962 neurons from this dataset and identified 12,511 unique neurons on the basis of their activity (Fig. 4d,e and Supplementary Fig. 5). A total of 9,811 neurons exhibited visually evoked activity (Fig. 4e), out of which we found 9,767 OS neurons. We identified the grating direction that evoked the maximal calcium response from each neuron with the 40 Z planes and, consistent with previous reports37–39, observed a strong bias toward vertically and horizontally oriented gratings in layer 2/3 neurons (Fig. 4f). The OSI and direction selectivity index (DSI) distributions of OS neurons by depth (Fig. 4g) had median values (OSI 0.75, DSI 0.32) similar to those reported previously33. A comparison of OSI and DSI across depths (Fig. 4g) indicated that, whereas OSI had mostly similar distributions across layer 2/3 and layer 4, neurons became more direction selective (DS) at deeper depths, again consistent with previous reports33,40. Our ability to reach, from one imaged volume, similar conclusions on population feature selectivity to those acquired previously from many animals is a testament to the high throughput and accuracy of FACED 2.0 in acquiring large-scale 3D calcium activity data.
Because FACED 2.0 maintains high excitation NA, it could image calcium activity deep in the mouse brain. In an awake wild-type mouse with its visual cortical neurons expressing GCaMP6s via viral transduction, we imaged a volume of 1,111 µm × 1,000 µm × 780 µm at a voxel size of 1.4 µm × 2 µm × 15 µm and 365.7 ms/vol (Fig. 5a) and detected single cells across the imaging depths (Fig. 5b–f,i,k). FACED 2.0 simultaneously recorded calcium activity during drifting grating stimulation from 14,005 unique neurons across the entire depth of the mouse visual cortex (Fig. 5g, Supplementary Figs. 6 and 7 and Supplementary Video 3). We identified 5,555 neurons with visually evoked activity (Fig. 5h) down to ~750 µm below dura (that is, cortical layer 641), where we observed OS and DS neurons (Fig. 5i–l).
Fig. 5. Large-scale in vivo volumetric imaging of calcium activity through the depth of the visual cortex.
a, A 1,111 µm × 1,000 µm × 780 µm volume (representative of 3 volumes from 2 mice) in the visual cortex of a wild-type mouse with virally induced expression of GCaMP6s imaged at 365.7 ms/vol. Voxel size: 1.4 µm × 2 µm × 15 µm; 920 nm excitation at 140 mW post 16× NA 0.8 objective. b–f, Example images at depths of 97.5 µm (b), 142.5 µm (c), 412.5 µm (d), 517.5 µm (e) and 697.5 µm (f) out of a total of 53 depths in a. Insets: zoomed-in views of areas in yellow boxes. Arrows indicate neurons showing nucleus-excluded GCaMP6s expression. g, Simultaneously recorded ΔF/F calcium traces from 14,005 neurons during a 64-s trial. Colored boxes indicate calcium traces from neurons of depths with matched colors in b–f. h, Trial-averaged calcium traces from 5,555 neurons with visually evoked activity, grouped by depth 0–100 μm, 100–350 μm, 350–450 μm, 450–600 μm and 600–780 μm. i,k, Images acquired at 742.5 µm (i) and 757.5 µm (k) depth. Insets: zoomed-in views of areas in yellow boxes. Arrows indicate OS neurons. j,l, Polar-plot tuning curves of calcium responses of OS neurons in i (j) and k (l), respectively. Dots indicate measured responses, and curves indicate double-Gaussian fit.
For animal models with smaller brains such as zebrafish larvae, FACED 2.0 is capable of performing simultaneous calcium imaging of multiple planes across the brain volume. Using the 1.05 NA objective, we imaged a 480 µm × 585 µm × 360 µm volume of a transgenic zebrafish larval brain (Tg[Elavl3:H2B-GCaMP6s]) with nucleus-targeted expression of GCaMP6s at a voxel size of 0.8 µm × 0.65 µm × 12 µm and 262.4 ms/vol (Extended Data Fig. 9a and Supplementary Video 4). We extracted activity traces from 4,718 spontaneously active neurons (Extended Data Fig. 9b,c). Switching to the 0.8 NA objective, we imaged a 555.2 µm × 800 µm × 360 µm volume with a voxel size of 1.4 µm × 1.6 µm × 15 µm at 96 ms/vol, over 2.6-fold faster than other methods42–44 for imaging zebrafish larval brains at similar volumes. Applying DeepCADRT45, a deep-learning-based denoising method to the volumetric images, we identified neuronal clusters with temporally distinct spontaneous activity across the brain volume (Extended Data Fig. 10 and Supplementary Video 5).
Extended Data Fig. 9. 3.8 Hz whole-brain imaging of spontaneous calcium activity in a transgenic zebrafish larva.
(a) XY images from a 480 µm × 585 µm × 360 µm volume of a larval Tg[Elavl3:H2B-GCaMP6s] zebrafish brain imaged at 262 ms/vol. Representative of 4 volumes of 2 larvae. Voxel size: 0.8 µm × 0.65 µm × 12 µm. 920 nm excitation at 78 mW post 25×1.05 NA objective. Insets: zoomed-in views of areas in yellow boxes. (b) Simultaneously recorded ΔF/F calcium traces from 4,718 spontaneously active neurons. (c) Representative calcium traces.
Extended Data Fig. 10. 10.4 Hz whole-brain imaging of spontaneous calcium activity in a transgenic zebrafish larva.
(a) XY images from a 555.6 µm × 800 µm × 360 µm volume of a larval Tg[Elavl3:H2B-GCaMP6s] zebrafish brain imaged at 96 ms/vol. Representative of 4 volumes of 2 larvae. A deep-learning-based denoising method (DeepCADRT) was applied to the volumetric imaging data. Color coding by temporal projection indicates the time period with high activity. Voxel size: 1.4 µm × 1.6 µm × 15 µm. 920 nm excitation at 121 mW post 16× 0.8 NA objective. (b) Representative calcium traces of neurons.
Discussion
In summary, FACED 2.0 achieved high-throughput imaging of neuronal activity over large scales. By scanning a high-NA focus at 1-MHz line-scan rate sequentially through the sample and detecting fluorescence with a nonimaging detector, it maintains the optical sectioning capability of conventional 2PFM and images deep within the opaque mouse brain. Importantly, FACED 2.0 achieves high-speed imaging without sacrificing axial resolution, with its high excitation NA leading to subcellular resolution laterally and cellular resolution axially. As a result, compared with other high-throughput fluorescence imaging methods7,8,10,14,46–53, FACED 2.0 is optimal in its combination of high throughput, high spatiotemporal resolution and large imaging depths (Supplementary Table 1). Whereas either sparse labeling or sparse illumination is required for population voltage imaging utilizing single-photon excitation54,55, the intrinsic optical sectioning through two-photon absorption enables FACED 2.0 to be applicable to activity imaging in dense neuronal populations.
Most 2PFM systems utilize excitation lasers of ~80 MHz repetition rate, where, for each frame, fluorophores within a pixel are excited by multiple laser pulses with a ~12.5-ns delay in between. By contrast, within one FACED frame, each pixel is excited by only one laser pulse. At 1,000 fps, subsequent excitation pulses arrive at the same sample position after 1-ms delays; hence, FACED excitation provides ample time for fluorophores to return from their damage-prone dark states to their ground state. Such ‘dark state relaxation’ has been shown to increase the photon yield in 2PFM by orders of magnitude56. By extracting more photons from individual fluorophores, FACED requires a similar excitation power to conventional 2PFM but can image at much higher frame rates while maintaining a good signal-to-noise ratio (SNR).
Together, these characteristics enabled FACED 2.0 to overcome the optical constraints57 limiting the number of neurons that can be imaged simultaneously with more conventional 2PFM methods5,58–61, allowing population (defined here as >100 neurons) voltage imaging with two-photon excitation. Using the voltage sensor JEDI-2P-Kv, FACED 2.0 acquired fluorescence with sufficiently high SNR to detect both subthreshold and suprathreshold activity from over 200 neurons. Note that, although 920–1,000 nm excitation would be more optimal for JEDI-2P-Kv, 1,035 nm excitation was used here owing to limitations of the laser system. A better match between excitation wavelength and voltage indicator would further improve the performance of FACED 2.0. From these data, we were able to measure the population correlation in both subthreshold and suprathreshold activity, characteristics that have been of longstanding interest62,63. We were also able to measure the power-law exponents of input–output transformation, important properties for developing and testing neural circuit models27,28,64,65, from hundreds of neurons in the awake mouse brain simultaneously.
JEDI-2P-Kv has higher brightness and sensitivity than ASAP3 (ref. 15), which has enabled FACED 2.0 to simultaneously record voltage activity from more neurons than FACED 1.0 with ASAP3. With brighter and/or more sensitive activity indicators, fewer pixels per neuron would be needed to achieve the SNR required for activity measurements, allowing larger pixel sizes and thereby further increasing the area or volume—and the number of neurons—that can be imaged simultaneously. Therefore, the continuing advancements in fluorescence indicators are poised to further enhance the capabilities of FACED 2.0.
Finally, due to room temperature fluctuations, laser pointing instability and mechanical drift, FACED 2.0, as configured here, requires realignment of the FACED mirror pairs every 5–30 min. Better mechanical design, improved laser systems and active beam stabilization would enable hands-free operation in the future.
Methods
Animals use
All animal experiments were conducted according to the National Institutes of Health guidelines for animal research. Procedures and protocols on mice and zebrafish were approved by the Institutional Animal Care and Use Committee at University of California, Berkeley (Protocol ID: AUP-2020-06-13343-1).
FACED 2.0
A simplified schematic of FACED 2.0 is shown in Extended Data Fig. 1. We used either the 1,035-nm output of a fiber laser (Monaco 1035-40-40; Coherent) or the 920-nm output of an optical parametric amplifier (Opera-F; Coherent), both at 1 MHz repetition rate, for two-photon excitation. Before the FACED module, the 1,035-nm beam was expanded to 5 mm in diameter (BE02M-B; Thorlabs) and the 920-nm beam to 4 mm in diameter (ACN254-040-B and AC254-050-B-ML; Thorlabs), followed by a further 3× expansion (BE03M-B; Thorlabs).
In the FACED module, the beam was focused in 1D (effective input NA 0.02, Δθ = 1.27°) by a cylindrical lens (LJ1267RM-B; Thorlabs) and then directed into a pair of nearly parallel mirrors (reflectivity >99.9% and group delay dispersion <40 fs² per reflection from 900 nm to 1,050 nm, fused silica substrate, 250 mm long and 30 mm wide; Layertec). The mirror pair formed a small angle α = 0.0125° and had a separation distance of 150 mm. The focus of the cylindrical lens was located at the first mirror that the laser pulse encountered, after which the pulse reflected between the two mirrors, with the incidence angle reduced by α with each reflection. Because of 1D focusing by the cylindrical lens, different portions of the pulse had different initial incidence angles and therefore underwent different numbers of reflections before their incidence angles reached zero, at which point the light rays were retro-reflected. The light rays undergoing the same number of reflections between the mirrors formed a single output beamlet. Therefore, after retro-reflecting through the FACED mirrors, a single input pulse was split into a train of retro-reflected output pulses with distinct directions and time delays. A polarizing beam splitter (CCM1-PBS253, Thorlabs), in combination with a half-wave plate (AHWP10M-980, Thorlabs) and a quarter-wave plate (AQWP10M-980, Thorlabs), was used to separate the input and output light of the FACED module. For FACED 2.0, we configured the optics to generate 100 output beamlets, with their propagation distances within the FACED module varying from ~6 m to ~36 m. To achieve precise angle alignment for the FACED mirrors, piezo actuators (PIA13; Thorlabs) were utilized to adjust the vertical and horizontal angles of the mirrors. The long propagation distance of light between the mirrors made the output sensitive to external perturbations such as laser pointing instability, temperature fluctuation and mechanical vibration or drift. Depending on the stability of environment, realignment of the FACED mirrors using the piezo actuators needed to be performed every 5–30 min.
The spatially and temporally separated beamlets from the FACED module were then directed into a home-built 2PFM. A pair of achromatic doublets (AC508-500-B and AC508-250-B; Thorlabs) conjugated the focus of the cylindrical lens to the midpoint of a pair of closely and orthogonally arranged X and Y galvo mirrors (5-mm clear aperture, 6215H; Cambridge Technology). Subsequently, a scan lens pair (SL50-2P2 and TTL200MP; Thorlabs) conjugated the midpoint of the galvos to the back pupil plane of an objective lens that was mounted on a fast-moving piezo stage (SLC-1740-D-S; SmarAct). The power throughput of the FACED module is 25%. The objective, either 25× 1.05 NA (XLPLN25XWMP2; Olympus) or 16× 0.80 NA (N16XLWD-PF; Nikon), focused the excitation light and collected the two-photon excited fluorescence, which was reflected by a dichroic mirror (FF665-Di02-25×36; Semrock), focused by two lenses (AC508-080-A and LA1951-A; Thorlabs), filtered through an emission filter (F05-525/50-25 or FF01-680SP; Semrock) and finally detected by a photomultiplier tube without a current protection circuit (H7442P-40-Y001, Hamamatsu). The output signal from the photomultiplier tube was sampled at ten gigasamples per second using a high-speed digitizer (ADQ7-DC, Teledyne SP Devices).
The FACED 2.0 module was designed to generate a line scan with 100 foci, spanning 80 µm and 140 µm for the 25× 1.05 NA and 16× 0.8 NA objectives, respectively. With the two mirrors separated by 150 mm, the time delay between adjacent foci was 1 ns. At 1-MHz laser repetition rate, the module operated at a line-scan rate of 1 MHz. By scanning the Y galvo orthogonally to the FACED line-scan direction at 833 Hz or 500 Hz and collecting data bidirectionally, we achieved an imaging speed of 0.6 ms per frame or 1 ms per frame. Here, each frame had 100 pixels along the FACED/X scan axis and up to 900 pixels along the Y axis. To extend the FOV along X, we stepped the X galvo to tile multiple FACED FOVs. The maximal achievable FOV for our current system was 640 µm × 585 µm with a 25× 1.05 NA objective and 1,111 µm × 1,035 µm with the 16× 0.8 NA objective, limited by the maximal scanning angle of the galvo scanners and the focal length of the objective. If desired, volumetric imaging was accomplished by axially oscillating the objective with the fast piezo stage (Supplementary Note 1 and Supplementary Figs. 8 and 9). Although we used constant excitation power in volumetric imaging mode, an optimal implementation should adjust excitation power with imaging depth (for example, using a Pockels cell). The imaging parameters, fluorescence pixel values and estimation of number of photons are summarized in Supplementary Tables 2–6. Supplementary Note 5 provides additional discussion on how FACED 2.0 performs compared with FACED 1.0.
The 1D signal waveform recorded at ten gigasamples per second by the digitizer was further processed by an onboard FPGA that averaged every ten sampling points as the fluorescence signal excited by the preceding FACED focus. The resulting data were first stored in the digitizer’s onboard memory and then transmitted to a data acquisition computer through a PCIe 3.0 ×8 interface at 0.256 GB s−1. A custom multithread data acquisition program optimized data transfer and storage scheme, enabling continuous data streaming from the digitizer to the computer. Our data acquisition system allows uninterrupted data collection, limited in its duration only by disk storage size.
PSF measurements
Point spread function (PSF) measurements (Extended Data Figs. 2 and 3) were performed using 0.2-µm-diameter red fluorescent beads (Invitrogen F8786) positioned in the focal plane of the microscope objective. Using the galvo mirrors and the objective piezo stage, we moved the FACED focal array relative to the fluorescent beads in 3D and recorded the fluorescence signal at each position. For the 25× 1.05 NA objective, step sizes of 0.1 µm in X, 0.05 µm in Y and 0.2 µm in Z were utilized. For the 16× 0.8 NA objective, step sizes of 0.15 µm in X, 0.05 µm in Y and 0.5 µm in Z were used. We then measured the FWHMs of the PSF profiles excited by each FACED focus along the X, Y and Z axes. The same process was repeated for beads located along the horizontal, vertical and the two diagonal directions of the entire FOV.
Mouse preparations
All experimental mice were purchased from Jackson Laboratories, including wild-type (C57BL/6J, stock no. 000664), Slc17a7-IRES2-Cre-D (stock no. 037512) × Ai162D (stock no. 031562) transgenic and Thy1-GFP line M transgenic mice (stock no. 007788), and bred in house. All mice were >2 months old at the time of cranial window installation and housed under a reverse light cycle.
Virus injection and cranial window implantation procedures have been described previously33. In brief, mice were anesthetized with isoflurane (1–2% by volume in oxygen) and given the analgesic buprenorphine (subcutaneously, 0.3 mg kg−1 of body weight). Animals were head-fixed in a stereotaxic apparatus (Model 1900; David Kopf Instruments). A 3.5-mm-diameter craniotomy was created over intact dura of the left visual cortex. For wild-type mice, virus injection was performed to express genetically encoded calcium and voltage sensors using a glass pipette (Drummond Scientific Company) beveled at a 35° angle with a 15–20-μm opening and back-filled with mineral oil. A fit plunger controlled by a hydraulic manipulator (MO10; Narishige) was inserted into the pipette for loading and slow injection of the virus into 6–12 sites within the left visual cortex. At each injection site, 30 nl AAV2/1.syn.GCaMP6s solution (1.8 × 1013 GC ml−1) was injected at 250 µm and 500 µm below the pia for calcium imaging and 50 nl pAAV-hSyn-JEDI-2P-Kv2.1 solution (1.17 × 1011 GC ml−1, where GC stands for genome copies) was injected at 250 µm below pia for voltage imaging. A glass window made of a single coverslip (no. 1.5; Fisher Scientific) was then embedded in the craniotomy and sealed in place using dental acrylic. Subsequently, a titanium head post was affixed to the skull using cyanoacrylate glue and dental acrylic. In vivo imaging was conducted after >2 weeks of recovery and/or virus expression, as well as habituation to head fixation. All imaging experiments were carried out on head-fixed awake mice.
Zebrafish preparation for in vivo imaging
Nacre zebrafish larvae expressing Tg[Elavl3:H2B-GCaMP6s] were imaged on 6 dpf and 7 dpf. Each larva was mounted dorsal side up on a 35-mm polystyrene Petri dish using 2% low melting agarose. Throughout the imaging experiment, the larvae were maintained in E3 medium (5 mM NaCl, 0.17 mM KCl, 0.33 mM CaCl2 and 0.33 mM MgSO4) at room temperature.
Dye injection for blood vessel imaging in the mouse brain
Before imaging, animals were briefly anesthetized with isoflurane and retro-orbitally injected with 50 µl of 5% (w/v) 70k-molecular-weight dextran-conjugated Rhodamine B fluorescent dye (D1841; ThermoFisher).
Visual stimulation in head-fixed awake mice
Visual stimuli (Psychophysics Toolbox, http://psychtoolbox.org/) were presented on a liquid-crystal display (22-inch diagonal and 1,920 × 1,080 pixels; Dell P2219H), which was positioned ~15 cm from the mouse’s right eye and oriented at ~40° to the long body axis of the mice. Blue drifting sinusoidal gratings (100% contrast, 0.06 cycles per degree, 2 Hz temporal frequency) were generated with Psychophysics Toolbox. For voltage imaging, each stimulus consisted of a 0.5-s blank screen followed by a 0.5-s drifting grating. For calcium imaging of the GCaMP6s transgenic mice, each stimulus included a 4-s blank screen followed by a 4-s drifting grating. For calcium imaging of wild-type mice with viral transduction of GCaMP6s, each stimulus included a 3-s blank screen, a 3-s drifting grating and then a 2-s blank screen. Image sequences were acquired throughout each trial that spanned eight stimuli of different gratings with drifting directions ordered from 0° to 315° at 45° intervals, where 0° corresponded to a vertical grating moving posteriorly and 90° to a horizontal grating moving upward. Visual stimulation computer generated a trigger signal to the microscope to start data acquisition at the beginning of each trial. A total of 16–51 trials were repeated for each experiment, determined by the available disk space or the SNR of single-trial data. Although 36 (Fig. 4) and 51 trials (Fig. 5) were collected for calcium imaging, 10 trials were sufficient for characterizing visually evoked activity, as shown for neurons randomly selected across the imaging depth (Supplementary Fig. 7).
Analysis of cerebral blood flow in the mouse brain
Image sequences first underwent motion registration using CaImAn66. Line ROIs with relatively uniform brightness and representing continuous blood vessel segments were manually selected. For each ROI, the image sequence was resliced along its length to create a kymograph. To reduce brightness variation along the length of a blood vessel segment, pixel values in the raw kymograph were normalized by the temporally averaged signal profile of the corresponding ROI. A radon-transform-based method67 was used to extract the temporally varying flow speed from the kymographs. On average, during 9% of the imaging duration, artifactual results characterized by unphysiologically rapid and large oscillations in flow speed were observed. We adopted the following procedure to identify and mitigate these artifacts. First, we identified data points that fell outside the window defined by the mean ± 3 × s.d. of a 5-time-point rolling window and replaced them with the mean value. Then, we applied a Kalman filter68, which estimates states of a dynamic system by combining system modeling and actual measurements, to further reduce noise in the flow speed measurement. Here, we modeled the blood flow speed as
Here, is the temporal interval, and were the blood flow speed and acceleration at the nth time point, respectively, and was the blood flow speed at (n + 1)th time point. The transition matrix , observation matrix and initial state of the Kalman filter were then written as follows:
Here, was the blood flow speed at the very beginning of the imaging session. Other parameters of the Kalman filter were then automatically estimated using the expectation-maximization algorithm69, and data processing were completed using pykalman (https://github.com/pykalman/pykalman).
Analysis of voltage imaging datasets
Image sequences first underwent motion registration using CaImAn. ROIs were manually segmented to encompass soma membrane. Image sequences and ROI masks were input into VolPy, which extracted the voltage traces ∆F/F (‘dFF’ output from Volpy) and detected spikes. From spikes identified by VolPy, we further rejected spikes with peak −∆F/F values lower than the mean + 2.5 × s.d. within a 52-ms rolling window in the corresponding voltage trace (for further validation of our spike detection method, see Supplementary Note 2 and Supplementary Fig. 10). Subthreshold ∆F/F was computed by applying a 20-Hz fifth-order Butterworth lowpass filter to the voltage trace ∆F/F.
We analyzed suprathreshold correlation versus subthreshold correlation, following procedures reported previously22. To mitigate the effects of spike frequency adaptation, the initial 100 ms of each trial was excluded. Subsequently, 40-ms rolling windows were applied to both the detected spikes and the subthreshold response to calculate the FR and corresponding subthreshold −∆F/F, with the FR computed by dividing the number of spikes by the window length and the subthreshold −∆F/F determined by averaging the values within the window. The shift-corrected covariance of the responses between each pair of cells was then calculated as
Here, N was the total number of trials (that is, 27 in Fig. 2), T was the duration of each trial (that is, 8.25 s from the first to the last frame of each trial in Fig. 2), and represented either the FR or the subthreshold −∆F/F of neuron i at time t in the kth trial. The sums over k = 1…N and t represented summation over N trials and time, respectively. We used rolling notation for trial numbers (that is, the (N + 1)th trial equals the first trial with ). Lastly, the correlation coefficient between neuron i and neuron j was computed as
In Figs. 2e and 3e, the black symbols and line were calculated by averaging the suprathreshold correlation coefficients within subthreshold correlation coefficient bins of 0.01 in width.
For the analysis of neuronal input and output functions, 10-ms rolling windows were used to calculate the FR22 and the corresponding subthreshold response of each neuron, with the FR determined by dividing the number of spikes by the window length and the corresponding subthreshold response computed by averaging the subthreshold −∆F/F within the window. Subsequently, the FR data points within bins of subthreshold −∆F/F (bin width 0.01) were averaged to generate the input–output curve (Figs. 2f and 3f, black symbols and curve), which was then fit using a power-law expression to determine the amplitude A and power-law exponent p:
For the analysis of visually evoked activity, we defined the prestimulus period as the 250 ms before the onset of grating stimulus. We defined the response window to span the 750 ms after the onset of grating stimulus. We calculated the FRs during the prestimulus period and response window by dividing the numbers of spikes with their duration. Neurons exhibiting a significant difference in their FRs between the prestimulus periods and response windows for at least one grating drifting direction (Holm–Bonferroni multiple-comparison-corrected T test, P < 0.05) were defined as exhibiting visually evoked activity. Visually responsive neurons that demonstrated a significant difference in FRs during the response windows across different grating stimuli (one-way analysis of variance, P < 0.05) were defined as OS neurons.
In analyzing the suprathreshold tuning properties of OS neurons, we first calculated the mean spontaneous FR of each neuron by averaging its FRs across all the prestimulus periods of all trials. We then calculated the neuron’s suprathreshold response toward each grating orientation by subtracting the mean spontaneous FR from the trial-averaged FR within the response window. The subthreshold response toward each grating orientation was determined by subtracting the mean subthreshold −∆F/F in the prestimulus period for each orientation from the maximum trial-averaged subthreshold −∆F/F in the corresponding response window. Tuning curve fitting and OSI calculations followed the method in the ‘Tuning analysis’ section.
Analysis of volumetric calcium imaging datasets from the mouse visual cortex
The image sequences first underwent motion registration using CaImAn. ROIs were manually segmented to encompass the somata of neurons in each Z image plane. Time-series images at each Z depth, along with the ROI masks, were processed using Suite2p70 to compute the fluorescence traces of each ROI (average of all pixels within, ) and its associated neuropil. Within Suite2p, the neuropil masks were iteratively generated through a process of expanding each edge of the ROI mask by a margin of 5 pixels and then removing pixels that were associated with neighboring neurons. This iterative expansion continued until the resulting neuropil mask contained a minimum of 340 pixels. The average of all pixels within the neuropil mask was calculated as .
We subtracted the neuropil transient from to reduce neuropil contamination:
Here was the baseline fluorescence of the neuropil, which was the averaged neuropil signal within the 1-s blank screen periods before stimulus onset across all trials. We chose the neuropil subtraction coefficient k to be 0.7 (ref. 34). The calcium transients ∆F/F for each ROI were subsequently computed with , where was the averaged F signal within the 1-s blank screen periods before stimulus onset across all trials.
Because a neuron may show up in neighboring Z planes, we used a clustering algorithm to identify ROIs that corresponded to the same neuron. Initially, the algorithm traversed images at various depths, linking ROIs from adjacent Z depths with overlapping XY pixel coordinates into a ROI chain. Such a ROI chain encompassed all ROIs that were potentially affiliated with the same neuron. In instances where an ROI had multiple overlapping ROIs within the same neighboring Z plane, the algorithm selected the overlapping ROI whose had the highest Pearson correlation coefficient with that of the current ROI. Following the formation of ROI chains, the algorithm clusters the ROIs within each chain, ensuring that the ROIs within every cluster have 3D distances <25 µm and calcium-trace Pearson correlation coefficients >0.5 with one another. ROIs contained within the same ROI cluster were then identified as belonging to the same neuron, and the ROI with the highest SNR was selected to represent this neuron.
In the analysis of the visually evoked calcium activity, the prestimulus period was defined as the 1 s before the onset of grating stimulus, while the response window was selected to extend from the onset of the grating stimulus to the start of the initial blank-screen period of the subsequent stimulus. Neurons exhibiting a significant difference between the time-averaged ∆F/F during the prestimulus periods and response windows for at least one grating orientation (Bonferroni multiple-comparison-corrected T test, P < 0.05) were defined as exhibiting visually evoked activity. Visually responsive neurons with significantly different time-averaged ∆F/F during the response windows across different orientations (one-way analysis of variance, P < 0.05) were defined as OS. The visually evoked response of a neuron toward a specific grating stimulus was calculated as the time-averaged (over the response window) and trial-averaged value. Tuning curve fitting and calculations for orientation and direction selectivity indices followed the ‘Tuning analysis’ section.
For neurons that were not visually responsive, baseline fluorescence was recalculated using the mode (that is, most frequent value) of the fluorescence intensity histograms of and . The procedures for neuropil subtraction and ∆F/F calculations followed the procedures described above.
With the FACED foci separated by 1 ns and fluorescence lifetime being on the order of a few nanoseconds, we observed lifetime-induced blurring along the X axis in FACED images. However, additional analysis indicates that the choice of 1 ns delay does not cause detectable contamination in voltage or calcium imaging of cell bodies (Supplementary Note 4 and Supplementary Fig. 11).
Analysis of volumetric calcium imaging datasets from zebrafish larval brains
The image sequences first underwent motion registration using CaImAn. ROIs were manually segmented to encompass nuclei of neurons in images captured at each Z plane. The fluorescence trace was computed from the pixel average within the ROI. We then low-pass-filtered (Gaussian filter with σ = 2 frames) and plotted its values into a fluorescence intensity histogram, which may exhibit multiple peaks. We located the peak with the lowest fluorescence intensity value and defined its value as the baseline fluorescence . We then calculated the calcium transients of zebrafish neurons as .
For the dataset acquired with the 25× 1.05 NA objective, the motion-registered raw dataset was directly used. The clustering algorithm described in the analysis of the mouse visual cortex volumetric calcium imaging dataset was implemented to identify ROIs belonging to the same neuron. The clustering threshold for the zebrafish dataset was chosen such that all ROIs within the same cluster had 3D distances <20 µm and calcium-trace Pearson correlation coefficients >0.5. ROIs contained within the same ROI cluster were then identified as belonging to the same neuron, and the ROI with the largest SNR was selected to represent this neuron.
The dataset acquired with a 16× 0.8 NA objective first underwent denoising using DeepCAD-RT45. At each Z depth, baseline fluorescence of each pixel was obtained following the baseline calculation process described above for zebrafish ROIs. was then calculated for each pixel at each time point, generating an image time series for . We then color-coded each image based on its time t (using ‘gist_rainbow’ color map in Matplotlib in Python), then sum-projected the entire time series to generate the temporal color-coded projection for each Z depth (Extended Data Fig. 10), where the color indicated the most active period for each pixel.
Tuning analysis
For orientation tuning analysis, we fit the response R and the orientation angle (θ in degrees) with the following bimodal Gaussian function71:
Here was the preferred orientation, was a constant offset, and and were the amplitudes at and degree, respectively. ang(x) = min(x, 360 − x, 360 + x) wrapped angular values onto the interval 0° to 180°. After fitting, the OSI and the DSI were calculated using the following formulas:
Here , and are the responses calculated from the expression for at , and , respectively.
Image presentation in figures and videos
Although activity analysis was carried out on motion-registered raw images as described above, images presented in figures and videos underwent normalization to account for the uneven excitation within the FACED line scan. This is because, from the focus with the shortest to that with the longest propagation distance, the focal power gradually decreases—due to power loss at each mirror reflection—while the effective excitation NA gradually increases, owing to the larger beam size at longer propagation distances. In addition, the Gaussian intensity profile of the input pulse also leads to higher energy foci in the middle of the line scan. As a result, for a uniform fluorescence sample, the two-photon signal along the FACED line scan is brightest for the middle foci. Experimentally, defining the peak illumination power along the FACED line scan as 1, illumination power along the FACED line scan had a mean of 0.80 and a s.d. of 0.12, with minimal illumination around 0.5. When tiling FACED FOVs, the dimmer edges led to perception of dark vertical edges. To improve the visibility of structures excited by the early and late foci at the two edges of the FACED line scans, we normalized the pixel values across the FACED line scans as detailed below.
Each image had its rows along the FACED line-scan direction and its columns along the Y galvo scanning direction (for activity imaging data, their time-averaged image was used to determine the illumination profile). Illumination normalization entailed dividing each row of the image by a line-scan illumination profile, which was estimated via an optimization process. We calculated the percentile values for pixels within each column (at 1%, 2%, …, 100%). For each percentile, we then generated a candidate illumination profile using the corresponding pixel values. We then individually scaled each candidate profile by dividing it by its mean and set all values less than 0.1 in the profile to be 0.1 (the profile thus had values greater or equal to 0.1). We then used each scaled candidate profile to normalize the raw image and evaluated the strength of vertical edges in the normalized image using a row-wise Sobel filter. The illumination profile that minimized the appearance of vertical edges in the normalized image was chosen as the optimal profile that was used for normalization of all images for this FOV.
To generate activity videos, an offset of 0.9 was added to the optimal illumination profile to prevent noise amplification caused by small values within the profile. After illumination normalization, we then plotted in the activity videos for each pixel, with , which improved the visibility of active neurons.
Reporting summary
Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article.
Online content
Any methods, additional references, Nature Portfolio reporting summaries, source data, extended data, supplementary information, acknowledgements, peer review information; details of author contributions and competing interests; and statements of data and code availability are available at 10.1038/s41592-025-02925-7.
Supplementary information
Supplementary Figs. 1–11, Notes 1–5 and Tables 1–6.
Imaging cerebral blood flow over 1,111 µm × 1,000 µm at 5.3 ms/frame in the mouse cortex in vivo using the 16× 0.8 NA objective. Pixel size: 1.4 µm × 2 µm. Same data as in Fig. 1e. First half: 4-frame-binned image sequence; second half: raw image sequence. Video was saved at 15 frames per second (fps).
Volumetric calcium imaging over 1,111 µm × 1,000 µm × 400 µm at 259.7 ms/vol in the visual cortex of a Slc17a7-IRES2-Cre × Ai162D mouse using the 16× 0.8 NA objective. Voxel size: 1.4 µm × 1.6 µm × 15 µm. Same data as shown in Fig. 4. The image sequence at each depth was averaged across 36 trials with rolling 3-frame averaging and saved at 9 fps. First half: all imaging depths acquired; second half: imaging depths highlighted in yellow in the first half.
Volumetric calcium imaging over 1,111 µm × 1,000 µm × 780 µm at 365.7 ms/vol in the visual cortex of a wild-type mouse transfected with GCaMP6s using the 16× 0.8 NA objective. Voxel size: 1.4 µm × 2 µm × 15 µm. Same data as in Fig. 5. The image sequence at each depth was averaged across 51 trials with rolling 3-frame averaging and saved at 9 fps. First half: all imaging depths acquired; second half: imaging depths highlighted in yellow in the first half.
Volumetric calcium imaging over 480 µm × 585 µm × 360 µm at 262.4 ms/vol of a larval GCaMP6s transgenic zebrafish (Tg[Elavl3:H2B-GcaMP6s]) brain using the 25× 1.05 NA objective. Voxel size: 0.8 µm × 0.65 µm × 12 µm. Same data as in Extended Data Fig. 9. The image sequence at each depth was binned every 4 frames and saved at 15 fps. The video shows the image sequences at different depths sequentially.
Volumetric calcium imaging over 555.6 µm × 800 µm × 360 µm at 96 ms/vol of a larval GcaMP6s transgenic zebrafish (Tg[Elavl3:H2B-GCaMP6s]) brain using the 16× 0.8 NA objective. Voxel size: 1.4 µm × 1.6 µm × 15 µm. Same data as shown in Extended Data Fig. 10. The image sequence at each depth was denoised with DeepCADRT and saved at 120 fps. The video shows the image sequences at different depths sequentially.
Acknowledgements
We thank S. Olsen for helpful discussion; J. Saulys and J. Zhu for help with the optical amplifier system; Y. Yang for help with sample preparation; G. Meng for discussion on blood flow speed measurements; J. Fan for help with visual stimulation setup; W. Chen for discussion on LabVIEW programming; J. Zhu for measuring pixel value to photon count conversion; and the reviewers for comments that led to materials in the Supplementary Notes. This work was supported by NIH BRAIN Initiative grants UF1NS107696 (N.J. and K.K.T.), U01NS118300 (N.J.), U19NS107613 (N.J.), R01NS109553 (N.J.), U01NS137449 (N.J.), U01NS133971 (F.S.-P.), RF1NS128901 (F.S.-P); NIH grant R01EB032854 (F.S.-P), R01NS146078 (F.S.-P.), R01NS146023 (F.S.-P.), R01NS120219 (S.G.), R21NS138989 (N.J.); a Klingenstein-Simons Fellowship Award in Neuroscience (F.S.-P.); the McNair Medical Foundation (F.S.-P.); Vivian L. Smith Endowed Professorship in Neuroscience (F.S.-P.); Welch Foundation grants Q-2016-20220331 and Q-2016-20250403 (F.S.-P.); and Weill Neurohub (N.J.). K.K.T. and J.S.J.W also acknowledge the support from Advanced Biomedical Instrumentation Center, the Research Grants Council (grant no. 14125924, RFS2021-7S06) and the Innovation and Technology Commission of the Hong Kong Special Administrative Region of China (ITS/408/23FP).
Extended data
Author contributions
N.J. conceived of and supervised the project; J.Z. and N.J. designed the FACED module; J.Z. built the FACED module and microscope control system; J.Z. built the data acquisition system; J.S.J.W. wrote the FPGA code; J.Z., R.G.N., Q.Z. and K.B. prepared samples; X.L. and F.S.-P. provided reagents; J.Z. collected and analyzed data; C.M. and B.D. contributed to data analysis; K.K.T. and S.G. provided mentoring support; J.Z. and N.J. wrote the paper with input from all authors.
Peer review
Peer review information
Nature Methods thanks Tommaso Fellin and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Primary Handling Editor: Nina Vogt, in collaboration with the Nature Methods team. Peer reviewer reports are available.
Data availability
Raw structure images of Thy1-GFP mice are available via Figshare at https://figshare.com/s/fd97efe78295098ac37e (ref. 72). Due to large file sizes, raw blood flow and activity image data (>1 TB) are available upon reasonable request to the corresponding author. These data are also available via GitHub at https://github.com/JiLabUCBerkeley/FACED2PFM2p0-analysis.
Code availability
Data acquisition and analysis code under version 3 of the GNU General Public License is available via GitHub at https://github.com/JiLabUCBerkeley/FACED2PFM2p0-analysis.
Competing interests
K.K.T. and the University of Hong Kong have filed a US patent application (14/733,454) that relates to the all-optical laser-scanning imaging methods. The other authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data
is available for this paper at 10.1038/s41592-025-02925-7.
Supplementary information
The online version contains supplementary material available at 10.1038/s41592-025-02925-7.
References
- 1.Denk, W., Strickler, J. H. & Webb, W. W. Two-photon laser scanning fluorescence microscopy. Science248, 73–76 (1990). [DOI] [PubMed] [Google Scholar]
- 2.Ji, N., Freeman, J. & Smith, S. L. Technologies for imaging neural activity in large volumes. Nat. Neurosci.19, 1154–1164 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Wu, J., Ji, N. & Tsia, K. K. Speed scaling in multiphoton fluorescence microscopy. Nat. Photonics15, 800–812 (2021). [Google Scholar]
- 4.Nadella, K. M. N. S. et al. Random-access scanning microscopy for 3D imaging in awake behaving animals. Nat. Methods13, 1001–1004 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Villette, V. et al. Ultrafast two-photon imaging of a high-gain voltage indicator in awake behaving mice. Cell179, 1590–1608 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6.Weber, T. D., Moya, M. V., Kılıç, K., Mertz, J. & Economo, M. N. High-speed multiplane confocal microscopy for voltage imaging in densely labeled neuronal populations. Nat. Neurosci.26, 1642–1650 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Xiao, S., Davison, I. & Mertz, J. Scan multiplier unit for ultrafast laser scanning beyond the inertia limit. Optica8, 1403 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Lin, J., Cheng, Z., Yang, G. & Cui, M. Optical gearbox enabled versatile multiscale high-throughput multiphoton functional imaging. Nat. Commun.13, 6564 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Wu, J. L. et al. Ultrafast laser-scanning time-stretch imaging at visible wavelengths. Light Sci. Appl.6, e16196 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Wu, J. et al. Kilohertz two-photon fluorescence microscopy imaging of neural activity in vivo. Nat. Methods17, 287–290 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Lai, Q. T. K. et al. High-speed laser-scanning biological microscopy using FACED. Nat. Protoc.16, 4227–4264 (2021). [DOI] [PubMed] [Google Scholar]
- 12.Feng, G. et al. Imaging neuronal subsets in transgenic mice expressing multiple spectral variants of GFP. Neuron28, 41–51 (2000). [DOI] [PubMed] [Google Scholar]
- 13.Meng, G. et al. Ultrafast two-photon fluorescence imaging of cerebral blood circulation in the mouse brain in vivo. Proc. Natl Acad. Sci. USA119, e2117346119 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Xiao, S., Giblin, J. T., Boas, D. A. & Mertz, J. High-throughput deep tissue two-photon microscopy at kilohertz frame rates. Optica10, 763 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Liu, Z. et al. Sustained deep-tissue voltage recording using a fast indicator evolved for two-photon microscopy. Cell185, 3408–3425 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Cai, C. et al. VolPy: Automated and scalable analysis pipelines for voltage imaging datasets. PLoS Comput. Biol.17, e1008806 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Noguchi, A., Ikegaya, Y. & Matsumoto, N. In vivo whole-cell patch-clamp methods: recent technical progress and future perspectives. Sensors21, 1448 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18.Jouhanneau, J. S., Kremkow, J. & Poulet, J. F. A. Single synaptic inputs drive high-precision action potentials in parvalbumin expressing GABA-ergic cortical neurons in vivo. Nat. Commun.9, 1540 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Jouhanneau, J. S. & Poulet, J. F. A. Multiple two-photon targeted whole-cell patch-clamp recordings from monosynaptically connected neurons in vivo. Front Synaptic Neurosci.11, 15 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Jouhanneau, J. S., Kremkow, J., Dorrn, A. L. L. & Poulet, J. F. F. A. In vivo monosynaptic excitatory transmission between layer 2 cortical pyramidal neurons. Cell Rep.13, 2098–2106 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.King, A. J. et al. Multi-neuron intracellular recording in vivo via interacting autopatching robots. eLife7, e24656 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.De La Rocha, J., Doiron, B., Shea-Brown, E., Josić, K. & Reyes, A. Correlation between neural spike trains increases with firing rate. Nature448, 802–806 (2007). [DOI] [PubMed] [Google Scholar]
- 23.Einstein, M. C., Polack, P. O., Tran, D. T. & Golshani, P. Visually evoked 3–5 Hz membrane potential oscillations reduce the responsiveness of visual cortex neurons in awake behaving mice. J. Neurosci.37, 5084–5098 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Nestvogel, D. B. & McCormick, D. A. Visual thalamocortical mechanisms of waking state-dependent activity and alpha oscillations. Neuron110, 120–138 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Senzai, Y., Fernandez-Ruiz, A. & Buzsáki, G. Layer-specific physiological features and interlaminar interactions in the primary visual cortex of the mouse. Neuron101, 500–513 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Jia, X. et al. Multi-regional module-based signal transmission in mouse visual cortex. Neuron110, 1585–1598 (2022). [DOI] [PubMed] [Google Scholar]
- 27.Miller, K. D. & Troyer, T. W. Neural noise can explain expansive, power-law nonlinearities in neural response functions. J. Neurophysiol.87, 653–659 (2002). [DOI] [PubMed] [Google Scholar]
- 28.Hansel, D. & Van Vreeswijk, C. How noise contributes to contrast invariance of orientation tuning in cat visual cortex. J. Neurosci.22, 5118–5128 (2002). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Li, Y. T., Liu, B. H., Chou, X. L., Zhang, L. I. & Tao, H. W. Synaptic basis for differential orientation selectivity between complex and simple cells in mouse visual cortex. J. Neurosci.35, 11081–110936 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Speed, A., Del Rosario, J., Mikail, N. & Haider, B. Spatial attention enhances network, cellular and subthreshold responses in mouse visual cortex. Nat. Commun.11, 505 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Shi, X., Jin, Y. & Cang, J. Transformation of feature selectivity from membrane potential to spikes in the mouse superior colliculus. Front. Cell Neurosci.12, 163 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Tan, A. Y. Y., Brown, B. D., Scholl, B., Mohanty, D. & Priebe, N. J. Orientation selectivity of synaptic input to neurons in mouse and cat primary visual cortex. J. Neurosci.31, 12339–12350 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Sun, W., Tan, Z., Mensh, B. D. & Ji, N. Thalamus provides layer 4 of primary visual cortex with orientation- and direction-tuned inputs. Nat. Neurosci.19, 308–315 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Chen, T. W. et al. Ultrasensitive fluorescent proteins for imaging neuronal activity. Nature499, 295–300 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Harris, J. A. et al. Anatomical characterization of Cre driver mice for neural circuit mapping and manipulation. Front. Neural Circuits8, 76 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Daigle, T. L. et al. A suite of transgenic driver and reporter mouse lines with enhanced brain-cell-type targeting and functionality. Cell174, 465–480 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Kirchberger, L., Mukherjee, S., Self, M. W. & Roelfsema, P. R. Contextual drive of neuronal responses in mouse V1 in the absence of feedforward input. Sci. Adv.9, eadd2498 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Roth, M. M., Helmchen, F. & Kampa, B. M. Distinct functional properties of primary and posteromedial visual area of mouse neocortex. J. Neurosci.32, 9716–9726 (2012). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Kreile, A. K., Bonhoeffer, T. & Hübener, M. Altered visual experience induces instructive changes of orientation preference in mouse visual cortex. J. Neurosci.31, 13911–13920 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.de Vries, S. E. J. et al. A large-scale standardized physiological survey reveals functional organization of the mouse visual cortex. Nat. Neurosci.23, 138–151 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Liang, Y. et al. A distinct population of L6 neurons in mouse V1 mediate cross-callosal communication. Cereb. Cortex31, 4259–4273 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Yang, B. et al. DaXi—high-resolution, large imaging volume and multi-view single-objective light-sheet microscopy. Nat. Methods19, 461–469 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 43.Favre-Bulle, I. A., Vanwalleghem, G., Taylor, M. A., Rubinsztein-Dunlop, H. & Scott, E. K. Cellular-resolution imaging of vestibular processing across the larval zebrafish brain. Curr. Biol.28, 3711–3722 (2018). [DOI] [PubMed] [Google Scholar]
- 44.Wolf, S. et al. Whole-brain functional imaging with two-photon light-sheet microscopy. Nat. Methods12, 379–380 (2015). [DOI] [PubMed] [Google Scholar]
- 45.Li, X. et al. Real-time denoising enables high-sensitivity fluorescence time-lapse imaging beyond the shot-noise limit. Nat. Biotechnol.41, 282–292 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 46.Zhang, T. et al. Kilohertz two-photon brain imaging in awake mice. Nat. Methods16, 1119–1122 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 47.Lu, R. et al. Video-rate volumetric functional imaging of the brain at synaptic resolution. Nat. Neurosci.20, 620–628 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 48.Voleti, V. et al. Real-time volumetric microscopy of in vivo dynamics and large-scale samples with SCAPE 2.0. Nat. Methods16, 1054–1062 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Lu, R. et al. Rapid mesoscale volumetric imaging of neural activity with synaptic resolution. Nat. Methods17, 291–294 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Demas, J. et al. High-speed, cortex-wide volumetric recording of neuroactivity at cellular resolution using light beads microscopy. Nat. Methods18, 1103–1111 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 51.Nöbauer, T., Zhang, Y., Kim, H. & Vaziri, A. Mesoscale volumetric light-field (MesoLF) imaging of neuroactivity across cortical areas at 18 Hz. Nat. Methods20, 600–609 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 52.Prevedel, R. et al. Fast volumetric calcium imaging across multiple cortical layers using sculpted light. Nat. Methods13, 1021–1028 (2016). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Weisenburger, S. et al. Volumetric Ca2+ imaging in the mouse brain using hybrid multiplexed sculpted light microscopy. Cell177, 1050–1066 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 54.Bai, L. et al. Volumetric voltage imaging of neuronal populations in the mouse brain by confocal light-field microscopy. Nat. Methods21, 2160–2170 (2024). [DOI] [PubMed] [Google Scholar]
- 55.Xiao, S. et al. Large-scale deep tissue voltage imaging with targeted-illumination confocal microscopy. Nat. Methods21, 1094–1102 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 56.Donnert, G., Eggeling, C. & Hell, S. W. Major signal increase in fluorescence microscopy through dark-state relaxation. Nat. Methods4, 81–86 (2007). [DOI] [PubMed] [Google Scholar]
- 57.Brooks III, F. P., Davis, H. C., Wong-Campos, J. D. & Cohen, A. E. Optical constraints on two-photon voltage imaging. Neurophoton.11, 035007 (2024). [DOI] [PMC free article] [PubMed]
- 58.Chamberland, S. et al. Fast two-photon imaging of subcellular voltage dynamics in neuronal tissue with genetically encoded indicators. eLife6, e25690 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Li, B. et al. Two-photon voltage imaging of spontaneous activity from multiple neurons reveals network activity in brain tissue. iScience23, 101363 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 60.Bando, Y., Wenzel, M. & Yuste, R. Simultaneous two-photon imaging of action potentials and subthreshold inputs in vivo. Nat. Commun.12, 7229 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 61.Platisa, J. et al. High-speed low-light in vivo two-photon voltage imaging of large neuronal populations. Nat. Methods20, 1095–1103 (2023). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 62.Cohen, M. R. & Kohn, A. Measuring and interpreting neuronal correlations. Nat. Neurosci.14, 811–819 (2011). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 63.Azeredo Da Silveira, R. & Rieke, F. The geometry of information coding in correlated neural populations. Annu. Rev. Neurosci.44, 403–424 (2021). [DOI] [PubMed] [Google Scholar]
- 64.Priebe, N. J. & Ferster, D. Inhibition, spike threshold, and stimulus selectivity in primary visual cortex. Neuron57, 482–497 (2008). [DOI] [PubMed] [Google Scholar]
- 65.Priebe, N. J., Mechler, F., Carandini, M. & Ferster, D. The contribution of spike threshold to the dichotomy of cortical simple and complex cells. Nat. Neurosci.7, 1113–1122 (2004). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 66.Giovannucci, A. et al. CaImAn an open source tool for scalable calcium imaging data analysis. eLife8, e38173 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Chhatbar, P. Y. & Kara, P. Improved blood velocity measurements with a hybrid image filtering and iterative radon transform algorithm. Front. Neurosci.7, 106 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 68.Kalman, R. E. A new approach to linear filtering and prediction problems. J. Basic Eng.82, 35–45 (1960). [Google Scholar]
- 69.Dempster, A. P., Laird, N. M. & Rubin, D. B. Maximum likelihood from incomplete data via the EM algorithm. J. R. Stat. Soc. Ser. B39, 1–38 (1977). [Google Scholar]
- 70.Pachitariu, M. et al. Suite2p: beyond 10,000 neurons with standard two-photon microscopy. Preprint at bioRxiv10.1101/061507 (2017).
- 71.Carandini, M. & Ferster, D. Membrane potential and firing rate in cat primary visual cortex. J. Neurosci.20, 470–484 (2000). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 72.Thy1 GFP images. Figsharehttps://figshare.com/s/fd97efe78295098ac37e (2024).
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Supplementary Figs. 1–11, Notes 1–5 and Tables 1–6.
Imaging cerebral blood flow over 1,111 µm × 1,000 µm at 5.3 ms/frame in the mouse cortex in vivo using the 16× 0.8 NA objective. Pixel size: 1.4 µm × 2 µm. Same data as in Fig. 1e. First half: 4-frame-binned image sequence; second half: raw image sequence. Video was saved at 15 frames per second (fps).
Volumetric calcium imaging over 1,111 µm × 1,000 µm × 400 µm at 259.7 ms/vol in the visual cortex of a Slc17a7-IRES2-Cre × Ai162D mouse using the 16× 0.8 NA objective. Voxel size: 1.4 µm × 1.6 µm × 15 µm. Same data as shown in Fig. 4. The image sequence at each depth was averaged across 36 trials with rolling 3-frame averaging and saved at 9 fps. First half: all imaging depths acquired; second half: imaging depths highlighted in yellow in the first half.
Volumetric calcium imaging over 1,111 µm × 1,000 µm × 780 µm at 365.7 ms/vol in the visual cortex of a wild-type mouse transfected with GCaMP6s using the 16× 0.8 NA objective. Voxel size: 1.4 µm × 2 µm × 15 µm. Same data as in Fig. 5. The image sequence at each depth was averaged across 51 trials with rolling 3-frame averaging and saved at 9 fps. First half: all imaging depths acquired; second half: imaging depths highlighted in yellow in the first half.
Volumetric calcium imaging over 480 µm × 585 µm × 360 µm at 262.4 ms/vol of a larval GCaMP6s transgenic zebrafish (Tg[Elavl3:H2B-GcaMP6s]) brain using the 25× 1.05 NA objective. Voxel size: 0.8 µm × 0.65 µm × 12 µm. Same data as in Extended Data Fig. 9. The image sequence at each depth was binned every 4 frames and saved at 15 fps. The video shows the image sequences at different depths sequentially.
Volumetric calcium imaging over 555.6 µm × 800 µm × 360 µm at 96 ms/vol of a larval GcaMP6s transgenic zebrafish (Tg[Elavl3:H2B-GCaMP6s]) brain using the 16× 0.8 NA objective. Voxel size: 1.4 µm × 1.6 µm × 15 µm. Same data as shown in Extended Data Fig. 10. The image sequence at each depth was denoised with DeepCADRT and saved at 120 fps. The video shows the image sequences at different depths sequentially.
Data Availability Statement
Raw structure images of Thy1-GFP mice are available via Figshare at https://figshare.com/s/fd97efe78295098ac37e (ref. 72). Due to large file sizes, raw blood flow and activity image data (>1 TB) are available upon reasonable request to the corresponding author. These data are also available via GitHub at https://github.com/JiLabUCBerkeley/FACED2PFM2p0-analysis.
Data acquisition and analysis code under version 3 of the GNU General Public License is available via GitHub at https://github.com/JiLabUCBerkeley/FACED2PFM2p0-analysis.















