Abstract
We suggest a novel approach for wide-field imaging of the neural network dynamics of brain slices that uses highly sensitivity magnetometry based on nitrogen-vacancy (NV) centers in diamond. In-vitro recordings in brain slices is a proven method for the characterization of electrical neural activity and has strongly contributed to our understanding of the mechanisms that govern neural information processing. However, this traditional approach only acquires signals from a few positions, which severely limits its ability to characterize the dynamics of the underlying neural networks. We suggest to extend its scope using NV magnetometry-based imaging of the neural magnetic fields across the slice. Employing comprehensive computational simulations and theoretical analyses, we determine the spatiotemporal characteristics of the neural fields and the required key performance parameters of an NV magnetometry-based imaging setup. We investigate how the technical parameters determine the achievable spatial resolution for an optimal 2D reconstruction of neural currents from the measured field distributions. Finally, we compare the imaging of neural slice activity with that of a single planar pyramidal cell. Our results suggest that imaging of slice activity will be possible with the upcoming generation of NV magnetic field sensors, while single-shot imaging of planar cell activity remains challenging.
Introduction
Nitrogen-vacancy (NV) color centers in diamond are currently emerging as a practical quantum sensor to measure magnetic fields at ambient temperatures with very high sensitivity and unprecedented spatio-temporal resolution1–3. The approach is based on optically detected magnetic resonance4, where the signal is obtained through the detection of the NV fluorescence level induced by an external magnetic field. This technique opens up a wealth of new avenues for the recording of weak magnetic fields occurring in various systems such as ferromagnetic structures5, geological samples6 and electronic circuits7. As the quantum sensor operates under physiological conditions (room temperature and atmospheric pressure), it also provides a highly promising route for the high-resolution magnetic imaging of living biological systems8,9, and it might be particularly powerful in characterizing neural activity10. When combined with wide-field imaging sensors to read out the florescence at high spatial and temporal resolution, the approach offers the possibility to image the dynamics of neural networks in great detail (Fig. 1A,B).
In-vitro recordings in thin brain slices have been a mainstay in the repertoire of electrophysiological methods for the recording of neural activity. Since it was demonstrated that similar activity could be recorded in brain slices as in intact animals11, this approach has been used as a test bed to decipher the fundamental mechanisms that govern neural interactions. Using specialized cutting techniques, intact neural networks can be maintained and studied, while at the same time yielding good accessibility to specific neurons and neural pathways. However, the traditional method based on electrophysiology is severely limited in spatial resolution by the low number of electrodes that are used for simultaneous recordings. While detailed information is gained from a few positions on the slice, an overview of the complete network dynamics is lacking.
This has triggered new developments such as multi-electrode arrays (MEA)12 or voltage-sensitive dye imaging (VSDI)13,14 to monitor the propagation of depolarizing potentials through anatomically well-defined networks. However, as a principal limitation, it remains challenging to achieve high enough spatiotemporal resolution using existing techniques15. In this article, we suggest a novel, alternative method to extend the scope of slice recordings by exploiting NV-based diamond quantum sensing for the spatially resolved wide-field imaging of the neural magnetic fields. Placing the brain slice atop a two-dimensional array of NV center (of an area of 1 × 1 mm² or larger) and simultaneously performing high-resolution recordings of the fluorescence with a camera will provide detailed access to the neural dynamics across extended local networks, as for example occurring in the hippocampus region of rat or mice brains16 (Fig. 1A). Our analysis is based on detailed computer simulations and demonstrates the feasibility of this approach. We focus on a scenario in which magnetic fields are generated by synchronous neural activity in a subpart of the hippocampal CA1 region in a mouse brain slice, elicited by electrical stimulation of the Schaffer collaterals projecting from CA3 to CA117 (Fig. 1A,B). We chose this scenario because (i) there is a comprehensive collection of data related to CA1 neurons and their models are validated by numerous experiments18, (ii) the topology of CA1 is well known17, (iii) it is easy to obtain extracellular electric/magnetic field recordings and intracellular recordings due to the regular formation of the cells, (iv) the Schaffer collateral axons form a homogeneous pathway that is easily activated to study synaptic transmission and plasticity19, and (v) it is simple to keep the cells in this region alive and functional during the slice preparation. The dynamic response of the CA1 pyramidal cells to the stimulation are modelled in NEURON20 based on multi-compartment representations of the neurons (Fig. 1C), using previously reported morphology and biophysical properties21. We then determine the extracellular magnetic fields at the diamond sensor surface and for comparison also the electric potential. These quantities are obtained from the simulated membrane potentials and transmembrane currents using a forward modelling scheme (see Methods and Supplementary Material). Based on comprehensive simulation results, we conclude on the expected magnetic field strengths created by the evoked neural activity and the required temporal resolution of the recording system. Finally, we simulate the optimal 2D reconstruction of the spatial distribution of the neural currents using a Wiener deconvolution filter approach. This allows us to systematically determine the achievable spatial resolution in dependence on two key technical parameters of the system, the in-plane resolution of the sensor and its noise level.
Results
Planar CA1 Cell
We begin our analysis by re-evaluating the magnetic fields a single planar CA1 pyramidal cell22–24 (Fig. 2A). To simulate identical cases as tested in a prior study24, the neuron is stimulated with a 10 ms long injected current of 2 nA at 21 distal dendrites. The resulting transmembrane potential at the soma is plotted in Fig. 2B for different ambient temperatures. As reported25 the duration of the action potential increases with decreasing temperature, but only for temperatures much below ~20 °C similar durations are obtained that resemble the previously reported ones24. The resulting peak magnetic field distribution is shown in Fig. 2C, obtained for an ambient temperature of 25 °C. Compared to the original results24, our simulations suggest nearly 4–5 times smaller peak magnetic field strengths, which has several possible reasons: First, the assumed distance of 100 nm between sensor surface and the cell should be measured relative to the lower surface of the cell structure as the cell lies on the surface. In fact, we obtain similar values for the field strengths as originally reported24, when we measure the distance relative to the center of the cell structure. This is physically not possible, as then parts of the cells would be inside the sensor. Second, in contrast to our forward modeling scheme, the scheme used in the prior study fits the time course of the transmembrane potential by a sum of Gaussian functions. This can result in fitting errors that may contribute to the observed discrepancies. Third, the value of the ambient temperature was not mentioned in the prior study, but has a strong influence on the speed at which action potentials develop25. In that study, the time courses reported for the transmembrane potential are very slow and could not accurately be replicated in our simulations even when assuming an ambient temperature of 10 °C. However, neither the second nor the third reason can fully explain the differences in the reported magnetic field strengths.
Hippocampus Slice: Spatiotemporal distribution of the neural magnetic activity
In the main scenario, we assess the stimulation of a CA1 subarea with an assumed active size of 500 × 500 × 300 µm (width × length × height) placed centrally on a diamond sensor (Fig. 1B). In order to account for dysfunctional cells caused by the preparation procedure, we add 50 µm thick subareas each on top and below the active CA1 volume, yielding a total slice thickness of 400 µm. A temperature of 35 °C is chosen. These values are within the standard thickness and temperature ranges for hippocampus slices used in electrophysiological experiments.
The magnetic field and the electric potential caused by the neural activity is calculated at the diamond surface with a size of 1 × 1 mm². Unless indicated differently, the surface is discretized using a 20 × 20 grid, resulting in an in-plane resolution of 50 µm. We simulated the electrical stimulation of the Schaffer collaterals using a temporally synchronous excitation of the excitatory AMPA (glutamatergic) synapses of the pyramidal cells, which are situated on the apical dendrites (the stratum radiatum, S.R.; Fig. 1A) and the basal dendrites (the stratum oriens, S.O.)26. The synaptic events occurred at two successive time points (set to 12.5 ms and 37.5 ms) to mimic a repeated electric stimulation at 40 Hz. Additionally, we included temporal jittering in our model using a normal distribution with standard deviation σ(σ = 1.56 ms, unless indicated differently), which mimics the jitter in the excitatory inputs that might occur due to slightly different path delays. We also varied the synaptic strength in order to distinguish between a “non-spiking” and a “spiking” case. In the non-spiking case, a strength of 0.3 nS was empirically selected that was just low enough to avoid action potentials in order to mimic strong sub-threshold activity. In the spiking case, a strength of 0.6 nS was chosen that was just high enough to reliably induce action potentials in all model neurons. Further details of the neural dynamics are stated in the Supplementary Material (chapter S5).
The spatial distribution of the local field potentials (LFP) and the peak magnetic field strength for stimulation of the CA1 subarea are shown in Fig. 3. For both the spiking (Fig. 3A) and the non-spiking case (Fig. 3D), the LFPs show the expected spatial patterns and their strength is in accordance with previous studies27–29. The BY component of the magnetic field is negligibly small in both cases (data not shown), in accordance with the orientation of the pyramidal cells determining the neural source currents to be mainly in the Y direction. For the spiking case, the magnitude of the magnetic field BX component reaches peak values of up to 1.5 nT in the sensor plane at positions directly beneath the stimulated subarea (Fig. 3B). The BZ component reaches its peak value of around 1 nT at the left and right hand side of the subarea (Fig. 3C) and the spatial patterns of both the BX and BZ components are in accordance with source currents that mainly flow along the Y direction. In the non-spiking case (Fig. 3E,F), the peak strengths of the BX component is reduced to around 0.18 nT, and the peak strength of the BZ component is around 0.17 nT.
We also simulated the spatiotemporal field distributions that would occur when stimulation of the Schaffer collateral only activated the S.R. region of the pyramidal cells (Fig. S13). The peak values of the LFP and the magnetic field remain in the same range, but the spatial distribution clearly changes. This indicates that both the electric and magnetic recordings reveal detailed information about the spatiotemporal distribution of neural activity in the slice.
Effects of the width and thickness of the activated CA1 subarea on the peak magnetic fields
Next, we characterized the dependence of the peak magnetic fields on the thickness of the hippocampus slice and the width of the activated subarea. When systematically increasing the width of the active region (X direction in Fig. 1B) while keeping a constant slice thickness of 300 µm, the peak magnetic field strength will start to saturate at a width of ~300 µm (Fig. 4A,C). Similarly, systematically increasing the slice thickness (Z direction in Fig. 1B) for a fixed width of 500 µm results in increasing peak magnetic fields that begin to saturate for a slice thickness of ~300 µm. For even thicker slices, the upper parts of the slice will not contribute markedly to the field measured by the sensor due to the steep decay of the magnetic field strength with distance to the neural sources.
The saturation is more clearly visible for the spiking vs. the non-spiking case. The reason is that the axially oriented current distributions that occur during the action potentials have the form of dipoles (Fig. 3B), causing a steeper decay in the field strength with increasing distance to the measurement site.
Effect of temporal synchrony and synaptic strength on the magnetic signal strength
In the above simulations of the spiking case, the synaptic strengths were chosen just high enough to activate all pyramidal cells in the subarea and the temporal jitter was chosen such that the duration of population spike in the LFPs was in the range of those seen in physiological slice recordings30. In the following, we aim to ensure the robustness of our results by testing how much the simulated peak magnetic fields depend on these choices. For completeness, we also report on the impact of the temporal jitter on the magnetic fields for the non-spiking case. In order to speed up the calculations and without loss of generality, these simulations were obtained for a small region containing 200 cells. While the peak field strength increases only moderately for highly synchronous input (second rows of Fig. 5A vs. B), it decreases around twofold when the input is less synchronous (second rows of Fig. 5C vs. B). Doubling the synaptic strength from 0.6 nS to 1.2 nS increases the peak magnetic fields for the spiking case in the range 33–50%, unless the synaptic events are highly asynchronous. Taken together, given the conservative estimates of the temporal synchrony and synaptic strength used for the spiking case in the main part of the results, in an experiment we might expect moderately higher peak magnetic field strengths than estimated here.
Since magnetic fields strongly depend on the neural axial current densities, we validated our calculations by determining an equivalent current dipole (ECD) by summing the resulting neural currents and comparing the simulated ECD strength with values reported for hippocampal pyramidal cells31. The ECD is given by with Lk indicating the length of the kth cylinder and the axial current flow in the cylinder k at the time frame i31. Previously the ECD of a single cell is estimated as 0.2 pA-m when an AP occurs8. Accordingly, in our simulation of 200 highly synchronized neurons (Fig. 5A), in which the ECDs of the single neurons are simultaneous enough to add up linearly, the total ECD reaches up to 35 pA-m. The remaining small discrepancy may result from slightly different cell morphologies.
Temporal bandwidth of the neural magnetic fields
For the spiking case, most of the signal power is still maintained when using a cut-off frequency of 400 Hz (Fig. 6A,C), suggesting a temporal sampling rate of 800 Hz according to the Nyquist criterion. For the non-spiking case, a cut-off frequency of 150 Hz still maintains most of the signal power (Fig. 6B,D), indicating that a sampling rate of 300 Hz is sufficient.
Achievable 2D spatial resolution and required in-plane resolution and sensitivity of the sensor
In order to characterize the achievable spatial resolution and its dependence on the system parameters, we simulated the magnetic field of a point-like axial current density and reconstructed its 2D projection via an optimal Wiener deconvolution filter (see Methods). A schematic of the signal analysis pathway is presented in Fig. 7A. We report the point spread function of the reconstructed signal to characterize the achievable 2D spatial resolution and the peak signal-to-noise ratio (pSNR)32 of the reconstructed signal, which is defined as ratio of the peak signal to the mean square error of the noise (i.e. the noise standard deviation). We systematically tested the dependence of these metrics on the in-plane resolution and the area-normalized noise level η of the system (i.e. the noise level per unit area for the chosen sampling frequency).
A one-dimensional source injecting currents in Y direction, and with a length of 300 µm in Z direction and at a distance of 50 µm perpendicular to the sensor surface was used to characterize the application scenario of recording from a CA1 subarea. In that case, the pixel size should be not much larger than 10 µm in order to maintain the best possible resolution of the reconstructed signal (Fig. 7B) for the range of tested noise levels η. Increasing the pixel size clearly beyond 10 µm will also tend to decrease the pSNR of the reconstructed axial current density (Fig. 7D). Figure 8A,B show examples of the magnetic field and reconstructed axial current density at different noise levels. A reasonable reconstruction requires a pSNR >10, which is exceeded at system noise levels lower than η = 10 nTµm. For control, the analyses was repeated for a source with 50 µm length in Z direction (i.e., from z = 50 µm to 100 µm; Fig. S14). As expected, the achievable 2D resolution is slightly lower for the same noise level, as the total source strength is reduced to 1/6.
The analysis was also performed for a source with 1 µm distance to the diamond and a length of 2 µm to characterize the required system parameters when recording from a planar pyramidal cell (Figs 7C,E and 8C,D). Here, the pixel size should not be larger than 2 µm in order to maintain the best possible resolution of the reconstructed signal (Fig. 7C). Increasing the pixel size beyond 2 µm will also decrease the pSNR of the reconstructed axial current density (Fig. 7E) and in general, system noise levels < ~0.4 nTµm are required to achieve a pSNR > 10.
For further demonstration of the performance of the reconstruction pipeline, we compared the reconstructed current densities at different SNR levels with the underlying true axial current distributions for the cases of the CA1 subarea and planar pyramidal cell (Fig. S15; see chapter S7 of the Supplementary Material for details). As expected, the results indicate that a good reconstruction of the true current density requires similar noise levels as determined from the corresponding point spread functions.
Discussion
We have characterized the spatiotemporal characteristics of neural magnetic fields of brain slices through comprehensive computational simulations and theoretical analyses. Our approach encompassed the use of a pyramidal cell model with a realistic morphology and dynamics, FEM simulations to test for the impact of return currents, tissue anisotropy and boundary conditions, tests for the impact of changes in synaptic strength and synchrony of the input, and systematic analyses of the required sensitivity levels and expected spatial resolution. Our results suggest that peak magnetic field strengths of ~1.5 nT can be expected in an experiment, and that the temporal shape is preserved when sampling at a frequency of 800 Hz or higher. The achievable spatial resolution is ~100 µm for η = 10 nTµm, which is the highest noise level of the imaging system that still allows for acceptable axial current density reconstructions, and it improves with decreasing system noise levels. An in-plane resolution of the system of around 10–20 µm should be chosen to achieve the best resolution and SNR of the reconstructed axial current density distributions. This corresponds to an array size of around 100 × 100 pixels for a 1 × 1 mm² imaging area, which is easily feasible using suited cameras33.
The suggested optomagnetic approach is an interesting alternative to MEA and VSDI methods. While wide-field VSDI can display propagating network activity across the sensor in anatomically larger network, this is at the cost of resolution compared to the recording of current sources and sinks, as only voltage changes are registered. The temporal resolution of VSDI depends on choice of the dye, of which some exhibit weak toxicity, thus also potentially limiting life-time of the slice34. Compared to MEAs, optomagnetic recordings do not suffer from 1/f noise at the electrode-electrolyte interface and should be well suited for low LFP frequencies (likely requiring some shielding from ambient fields). They provide complementary information, as the magnetic field represents mainly the axial neural currents, while the extracellular potential recorded by MEAs is sensitive to the membrane currents. Our FEM simulations (Figs S4 and S9) indicate that the magnetic field depends less on the properties of the extracellular volume conductor than the electric potential. For BX, a rather simple model of an infinite half-space seems sufficient for accurate forward simulations, while no model is needed for BZ. This suggests that optomagnetic recordings should be well suited for accurate source reconstructions when a sufficient SNR level has been established. The approach also offers the possibility to measure both the BX and BZ component in quick succession by switching the background gradient field direction, further supporting accurate localization. Finally, the measured “pixel size” is determined by the optics between the diamond and the camera, so that future setups could also flexibly change their field-of-view by adapting the optics, similar to microscopes.
Our simulations rely on some uncertain parameters and simplifying assumptions that might affect the estimated peak magnetic fields and the achievable 2D resolution. However, we are confident that their accuracy is good enough in order not to hamper their value to guide further methods development. For example, our simulations assume that all pyramidal cells in the CA1 subarea are recruited by the stimulus, which might suggest higher peak field strengths than occurring in reality. On the other hand, we assume a cell density of 100 cells in a 50 × 50 × 50 µm3 volume, which is a conservatively chosen lower limit and is based on the sparse data that is available for the cell density35,36. While this indicates that our results might underestimate the peak field strengths, it should be noted that they can be simply linearly rescaled if required. We have also shown that similar estimates for the achievable 2D system resolution are obtained when not the complete height of the slice is activated (Figs 7 and S14). The synchrony of the synaptic events caused by the electrical stimulation was conservatively estimated, again tending to decrease the peak magnetic fields. A higher synchrony will increase the peak fields, but will also require to sample at higher frequencies, suggesting that both effects will approximately “cancel out”. Our assumption of a 50 µm thick layer of fully dysfunctional cells closest to the diamond sensor is a conservative choice that results in an underestimation of the peak field strengths and the achievable resolution. Specifically, electrophysiological recordings with single electrodes show that intact pyramidal cell activity can be found already within this layer. In a related manner, it is worth noting that the incorporated scale factor for BX to account for the impact of the extracellular current flow neglects that also the distribution of BX changes slightly (chapter S3 of the Supplementary Material). Specifically, it gets “narrower” in X direction, suggesting that the achievable resolution is higher than given by our estimates. As a guidance for further development of the measurement approach, our analyses focused on the achievable 2D resolution in dependence on the system “pixel size” and noise levels. Extending the results presented here to explore the feasibility of full 3D reconstructions of the axial current density would be an interesting topic for future studies37.
In contrast to imaging the magnetic fields of a brain slice, our results show that imaging of a planar neuron placed on the sensor surface poses more demanding requirements on the system (Fig. 7C and E). This is despite higher predicted peak fields occurring close to the soma, and is a result of the spatially more confined magnetic fields of the single neuron (please note that we ignored the effects of the extracellular volume conductor for the planar neuron case, which might potentially decrease the peak field). The latter property allows for imaging at very high spatial resolutions below 10 µm, but only when very low system noise levels (η < 0.4 nTµm) can be achieved. In contrast to the reconstruction from the spatially smoother neural magnetic fields expected for a brain slice, noise suppression by spatial integration of information as effectively occurring during Wiener deconvolution, is far less feasible in case of a single planar neural cell.
When diamond sensors are used for sensing low-frequency (DC to kHz) magnetic fields, their sensitivity is fundamentally limited by the NV ensemble density, nNV, the dephasing time, , and the on-resonance fluorescence contrast, C1,3. The volume and bandwidth normalized sensitivity limit can be expressed as
1 |
where Hz/nT is the NV gyromagnetic ratio, and is the photon collection efficiency. While this expression is valid for pulsed measurements, continuous wave (CW) techniques typically show a reduced sensitivity due to power broadening. CW techniques, however, are easier to implement in a wide-field imaging setup due to reduced technical requirements. Recently, a volume normalized sensitivity of has been demonstrated using a CW protocol and isotopically engineered diamond with nNV ~ 1 ppm and µs10. At this level of sensitivity, imaging of the hippocampus tissue with a 5 µm-thick sensing layer and a sampling rate of 1 kHz corresponds to an area-normalized sensitivity of around 480 nTµm (see Methods eq. (9)). Imaging thus requires averaging of around 2400 trials in order to achieve an area-normalized sensitivity of 10 nTµm of the averaged signal. Further improvement is anticipated from advances in diamond preparation techniques that would lead to a much longer dephasing time, µs at a similar NV concentration10. In order to benefit from such slow-dephasing samples, power broadening has to be avoided and CW protocols can no longer be used. An overall sensitivity improvement of more than two orders of magnitude is expected from combining improved diamond samples with a Ramsey-type measurement scheme10. This would allow for planar cell imaging with averages of around 102–103 trials, while neural activity in brain slices would already be detectable in a single shot. While the integration of the NV diamond sensor into a functional setup poses additional challenges, our simulation results indicate that the approach suggested here has the potential to reveal important insights into the neural network dynamics of brain slices.
Methods
Forward Modeling Scheme for Calculation of the Neural Magnetic Field and Electric Potential
The simulations of the extracellular neural magnetic fields and electric potential proceeds in two steps. First, the membrane potentials and transmembrane currents of the simulated neurons are calculated using the NEURON software package (v7.4)20. For that, NEURON solves the cable equation for complex neural structures, which are discretized into multiple compartments with nonlinear ion channels, and the discretized intracellular and extracellular regions are represented by axial resistances connected by membrane networks38. This is schematically depicted in the core-conductor model in Fig. 1C. Then, the extracellular magnetic fields, B, and the electric potential, Φe, are determined from the membrane potentials, , and transmembrane currents, , using the forward modelling scheme:
2 |
3 |
with . It is assumed that the neuron is divided into N compartments and Δsn denotes the length of each compartment. In addition, ρn represents the distance perpendicular to the orientation of the main axis of the compartment, hn the longitudinal distance from the end of the compartment, and ln = hn + Δsn the longitudinal distance from the start of the compartment39. The extracellular potentials are determined using the LFPy toolbox40 and the magnetic field is calculated by adapting LFPy to evaluate Eq. (2). For the simulations of the brain slice, the BX component determined via Eq. (2) is additionally corrected by a scaling factor to account for the impact of the extracellular current flow (Suppl. Material chapter S3). This factor was empirically determined using FEM (Finite-Element Method) simulations of the magnetic field of a simple neural structure (a straight axon) in dependence of its distance to the diamond surface. While the high number and histological complexity of the pyramidal neurons renders a direct assessment of the extracellular current flow via FEM infeasible for the main scenario, this strategy approximately accounts for its impact on the results. The BZ component was found to be far less affected in the FEM simulations, and is thus not corrected. The FEM results revealed an expected strong impact of the extracellular volume conductor on the electric potential at the diamond surface. However, when allowing for a thin “leakage” layer filled with saline between the hippocampus slice and the surface, the strength of the electric potential was very similar to the strength directly estimated via Eq. (3). Therefore, also the electric potential is not corrected. Further details on the forward modeling scheme are summarized in the Supplementary Material, which also covers the validation of our simulation approach by comparing it with previously presented in vitro results10,41. The employed forward scheme was additionally validated by comparison with the numerical solution obtained via FEM for the case of a long straight axon, which is also summarized in the Supplementary Material.
The total magnetic field and electric potential created by activation of the CA1 subarea are determined by calculating the field for each contained pyramidal cell, and the final result is obtained by a linear superposition of the results of the single cells. For that, the 500 µm × 500 µm × 300 µm large CA1 subarea is divided into several layers with 50 µm thickness along the Z direction, and 1000 pyramidal cell models are placed in each layer35,36, with the main dendrites pointing in the Y direction. The soma locations are randomly jittered within the layer, with the jitter being restricted to a 50 µm wide band in Y direction. As the same cell model was used for all locations, the cells are rotated randomly around the orientation of their main dendrite in order to prevent the formation of artefacts created by the field superposition of the single cells. In the literature, the neural density of pyramidal cells is given either as total number (4 × 105 cells in CA1, corresponding to 2.25 × 106 cells/mm3)35 or as density in the pyramidal cell layer (1.74×106 cells/mm3)36. These numbers suggest 281 cells36 and 217 cells35 in a 50 × 50 × 50 µm volume, based on the assumption that the soma of the pyramidal cells are contained in a 50 µm wide band in Y direction, denoted as the “pyramidal layer”. The experimental studies did not distinguish different neural cell types in the pyramidal layer when determining the cell counts, and while pyramidal cells are the most frequent cell type in that layer, using the above results without correction would overestimate the number of pyramidal cells. We therefore base our simulations on 100 cells in a 50 × 50 × 50 µm volume, which is a conservative lower limit. However, the neuronal density varies for different slices and species and, if desired, our results can be easily linearly rescaled to match those for a different neuron density. We consider only pyramidal cells for our simulations, as their regular and longitudinal cell morphologies result in well detectable external fields which sum up across neighboring cells. The external magnetic fields and electric potential of layered cortical structures are thus dominated by the responses of this neural cell type29.
Achievable spatial resolution and required in-plane resolution and sensitivity of the sensor
The reconstruction of the neural axial current density (representing the current flow within the neurons) in the brain slice from the measured 2D magnetic field distributions allows us to determine the spatial position and extent of the activated hippocampal subarea. In the following, we focus on the reconstruction of the 2D projection of the field on the diamond plane rather than a full 3D reconstruction. This helps to limit the complexity of the analysis, while still giving useful information about the system parameters. The current density reconstruction then has the form of a 2D deconvolution problem, for which Wiener deconvolution is the optimal method in case of additive noise32. It applies an inverse Wiener filter in the spatial frequency domain to “undo” the effects of the magnetic field that acts as a spatial low-pass filter of the neural axial current density (Fig. 7A). We are interested to determine the maximally achievable spatial resolution and the signal-to-noise ratio of the reconstructed current density. In particular, in order to guide the development of the measurement setup, we aim to characterize their dependence on the in-plane resolution of the system and on its signal-to-noise ratio.
In the following, we consider the magnetic field of a 2D point source and determine the full width at half maximum (FWHM) and the peak-signal-to-noise ratio (pSNR) of the current density reconstructed by inverse Wiener filtering. Given the orientation of the pyramidal cells along the Y direction in the modelled CA1 subarea (Fig. 1B), the JX and JZ components of the neural axial current densities are small and their contribution to the magnetic field can be neglected. The neural source currents JY result in a magnetic field distribution at the diamond surface that has only BX and BZ components. We focus on the BX component of the field as it has higher peak strengths (Fig. 4). In addition, we assume a homogenous excitation of the pyramidal cells along the full height of the CA1 subarea (except for the layer of dead cells), so that the strength of the neural axial current density JY is constant across the depth of the tissue. Denoting the thickness of the layer of dead cells by z0 and the thickness of the layer of active cells as d, the BX component of the magnetic field at the diamond surfaces is:
4 |
Function s denotes a rational polynomial , which is included to correct for the effects of the finite extracellular volume conductor on BX (see Fig. S8A and the corresponding chapter 3 of the Supplementary Material). Transformation to the spatial frequency domain and integration along z yields the following simplified relation42:
5 |
where kx and ky are spatial frequencies and E1 is the exponential integral. Equation (5) shows that the magnetic field acts as a spatial low-pass filter of the axial current density. Its cut-off frequency decreases with increasing distance to the sensor and increasing slice thickness. Considering that the magnetic field stated in eq. (5) is the convolution function of the system (or source-to-measurement transformation filter), the Wiener deconvolution filter is given by32
6 |
with the overbar indicating the complex conjugate, sj denoting the power spectral density (PSD) of the axial current density and sη the PSD of the noise. The ratio between sη and sj controls the amount of regularization that is applied to the deconvolution.
As a next step, we assume a point source with known signal power, and relate the ratio between sη and sj to this signal power and to known system parameters. Assuming spatially uncorrelated white Gaussian noise, sη is constant across spatial frequencies. The noise power of the image is then given as
7 |
where ksx, kyx are the maximum spatial frequencies in dependence of the in-plane resolution of the image (ksx = π/Δx; ksy = π/Δy; Δx = Δy = Δ).
The noise power of the image can also be written in terms of the pixel-normalized noise level ηpixel, the number of pixels MxM (for a 2D grid with M pixels in each direction) and the pixel area Δ2 as
8 |
with
9 |
where fs is the sampling frequency, and Vpixel the volume and h the height of the NV layer, respectively. Equation (9) relates the pixel-normalized noise level ηpixel to the volume-normalized sensitivity ηV, which is usually reported to characterize the sensitivity of the system (see e.g.10). It further relates it to the area-normalized noise level η (i.e. noise level per unit area for the chosen sampling frequency), which we define to account for the fact that the height of the NV layer and the sampling frequency were already selected and are kept constant. Both ηV and η are independent of the chosen in-plane resolution, and they can be determined via measurements. Equations (7–9) can then be used to determine sη from the area-normalized noise level η of the system:
10 |
If jY(x, y) is assumed to be a single dipole source having a dipole moment σj, its source power spectral density will be:
11 |
Incorporating these results into the Wiener deconvolution filter (eq. (6)) yields:
12 |
which indicates that the filter expression is independent of the chosen pixel size. Applying the Wiener filter to reconstruct the current density of the point source for a given pixel size Δ finally yields:
13 |
where * represents the convolution operator. The reconstructed current density of the point source is equivalent to the point spread function (PSF) of the system and the maximally achievable spatial resolution can be characterized by its FWHM. The first term on the right side depends on parameters of the point source (its strength, height and distance to the sensor), the area-normalized noise level and the area of the field of view. The second term depends only on the discretization parameter, i.e. the chosen in-plane resolution. Therefore, their impact on the system resolution can be analyzed separately. For example, as the pixel size decreases, the second term approaches a delta distribution and the resolution will be determined by the first term.
The first term is a low pass filter which increases in smoothness with increasing noise level. On the other hand, for large pixels, the second term dominates and determines the resolution limit of the system.
Electronic supplementary material
Acknowledgements
This work received financial support through the EXMAD project funded by the Innovation Fund Denmark and the Novo Nordisk Foundation.
Author Contributions
M.K. performed the neural simulations and analysis of the results. M.K. and A.T. developed the modeling and analysis framework. N.O.D. and A.M.W. supported the design of the computational experiments and the data interpretation. All authors contributed to writing the paper. The project was conceived by A.T., A.H. and U.L.A.
Competing Interests
The authors declare no competing interests.
Footnotes
Electronic supplementary material
Supplementary information accompanies this paper at 10.1038/s41598-018-22793-w.
Publisher's note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
References
- 1.Taylor JM, et al. High-sensitivity diamond magnetometer with nanoscale resolution. Nat. Phys. 2008;4:810–816. doi: 10.1038/nphys1075. [DOI] [Google Scholar]
- 2.Maze JR, et al. Nanoscale magnetic sensing with an individual electronic spin in diamond. Nature. 2008;455:644–647. doi: 10.1038/nature07279. [DOI] [PubMed] [Google Scholar]
- 3.Balasubramanian G, et al. Nanoscale imaging magnetometry with diamond spins under ambient conditions. Nature. 2008;455:648–651. doi: 10.1038/nature07278. [DOI] [PubMed] [Google Scholar]
- 4.Doherty MW, et al. The nitrogen-vacancy colour centre in diamond. Physics Reports. 2013;528:1–45. doi: 10.1016/j.physrep.2013.02.001. [DOI] [Google Scholar]
- 5.Maletinsky P, et al. A robust scanning diamond sensor for nanoscale imaging with single nitrogen-vacancy centres. Nat. Nanotechnol. 2012;7:320–324. doi: 10.1038/nnano.2012.50. [DOI] [PubMed] [Google Scholar]
- 6.Fu RR, et al. Solar nebula magnetic fields recorded in the Semarkona meteorite. Science. 2014;346:1089–1092. doi: 10.1126/science.1258022. [DOI] [PubMed] [Google Scholar]
- 7.Kolkowitz S, et al. Probing Johnson noise and ballistic transport in normal metals with a single-spin qubit. Science. 2015;347:1129–1132. doi: 10.1126/science.aaa4298. [DOI] [PubMed] [Google Scholar]
- 8.Glenn DR, et al. Single-cell magnetic imaging using a quantum diamond microscope. Nat. Methods. 2015;12:1–5. doi: 10.1038/nmeth.3449. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Le Sage D, et al. Optical magnetic imaging of living cells. Nature. 2013;496:486–9. doi: 10.1038/nature12072. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Barry JF, et al. Optical magnetic detection of single-neuron action potentials using quantum defects in diamond. Proc. Natl. Acad. Sci. USA. 2016;113:14133–14138. doi: 10.1073/pnas.1601513113. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Yamamoto C, McIlwain H. Electrical activities in thin sections from the mammalian brain maintained in chemically-defined media in vitro. J. Neurochem. 1966;13:1333–1343. doi: 10.1111/j.1471-4159.1966.tb04296.x. [DOI] [PubMed] [Google Scholar]
- 12.Obien MEJ, Deligkaris K, Bullmann T, Bakkum DJ, Frey U. Revealing neuronal function through microelectrode array recordings. Front. Neurosci. 2015;9:423. doi: 10.3389/fnins.2014.00423. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Willems, J. G. P., Wadman, W. J. & Cappaert, N. L. M. Distinct Spatiotemporal Activation Patterns of the Perirhinal-Entorhinal Network in Response to Cortical and Amygdala Input. Front. Neural Circuits10 (2016). [DOI] [PMC free article] [PubMed]
- 14.Stepan, J., Dine, J. & Eder, M. Functional optical probing of the hippocampal trisynaptic circuit in vitro: Network dynamics, filter properties, and polysynaptic induction of CA1 LTP. Frontiers in Neuroscience9 (2015). [DOI] [PMC free article] [PubMed]
- 15.Marblestone AH, et al. Physical principles for scalable neural recording. Front. Comput. Neurosci. 2013;7:137. doi: 10.3389/fncom.2013.00137. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Mann, E. O. & Paulsen, O. In Advances in Network Electrophysiology: Using Multi-Electrode Arrays 454–469, 10.1007/0-387-25858-2_19 (2006).
- 17.Spruston, N. & McBain, C. In The hippocampus book. 133–202, 10.1093/acprof:oso/9780195100273.003.0005 (Oxford University Press, 2006).
- 18.Mainen ZF, Carnevale NT, Zador AM, Claiborne BJ, Brown TH. Electrotonic architecture of hippocampal CA1 pyramidal neurons based on three-dimensional reconstructions. J. Neurophysiol. 1996;76:1904–1923. doi: 10.1152/jn.1996.76.3.1904. [DOI] [PubMed] [Google Scholar]
- 19.Brivanlou IH, Dantzker JLM, Stevens CF, Callaway EM. Topographic specificity of functional connections from hippocampal CA3 to CA1. Proc. Natl. Acad. Sci. USA. 2004;101:2560–2565. doi: 10.1073/pnas.0308577100. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Hines ML, Carnevale NT. NEURON: a tool for neuroscientists. Neuroscientist. 2001;7:123–135. doi: 10.1177/107385840100700207. [DOI] [PubMed] [Google Scholar]
- 21.Migliore M, Ferrante M, Ascoli GA. Signal Propagation in Oblique Dendrites of CA1 Pyramidal Cells. J. Neurophysiol. 2005;94:4145–4155. doi: 10.1152/jn.00521.2005. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Royeck M, et al. Role of axonal NaV1.6 sodium channels in action potential initiation of CA1 pyramidal neurons. J. Neurophysiol. 2008;100:2361–80. doi: 10.1152/jn.90332.2008. [DOI] [PubMed] [Google Scholar]
- 23.Wimmer VC, et al. Axon initial segment dysfunction in a mouse model of genetic epilepsy with febrile seizures plus. J. Clin. Invest. 2010;120:2661–2671. doi: 10.1172/JCI42219. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Hall LT, et al. High spatial and temporal resolution wide-field imaging of neuron activity using quantum NV-diamond. Sci. Rep. 2012;2:401. doi: 10.1038/srep00401. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Thompson SM, Masukawa LM, Prince DA. Temperature dependence of intrinsic membrane properties and synaptic potentials in hippocampal CA1 neurons in vitro. J. Neurosci. 1985;5:817–24. doi: 10.1523/JNEUROSCI.05-03-00817.1985. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Megías M, Emri Z, Freund TF, Gulyás AI. Total number and distribution of inhibitory and excitatory synapses on hippocampal CA1 pyramidal cells. Neuroscience. 2001;102:527–540. doi: 10.1016/S0306-4522(00)00496-6. [DOI] [PubMed] [Google Scholar]
- 27.Andersen P, Silfvenius H, Sundberg SH, Sveen O. A comparison of distal and proximal dendritic synapses on CA1 pyramids in guinea-pig hippocampal slices in vitro. J. Physiol. 1980;307:273–299. doi: 10.1113/jphysiol.1980.sp013435. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Gold C, Henze DA, Koch C, Buzsáki G. On the origin of the extracellular action potential waveform: A modeling study. J. Neurophysiol. 2006;95:3113–3128. doi: 10.1152/jn.00979.2005. [DOI] [PubMed] [Google Scholar]
- 29.Buzsáki G, Anastassiou CA, Koch C. The origin of extracellular fields and currents–EEG, ECoG, LFP and spikes. Nat. Rev. Neurosci. 2012;13:407–20. doi: 10.1038/nrn3241. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Bannister NJ, Larkman AU. Dendritic morphology of CA1 pyramidal neurones from the rat hippocampus: I. Branching patterns. J. Comp. Neurol. 1995;360:150–160. doi: 10.1002/cne.903600111. [DOI] [PubMed] [Google Scholar]
- 31.Murakami S, Okada Y. Contributions of principal neocortical neurons to magnetoencephalography and electroencephalography signals. J. Physiol. 2006;575:925–936. doi: 10.1113/jphysiol.2006.105379. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Jain, A. K. Fundamentals of Digital Image Processing. (Prentice-Hall, 1989).
- 33.Wojciechowski, A. M. et al. Camera-limits for wide-field magnetic resonance imaging of a nitrogen-vacancy spin sensor (2017). [DOI] [PubMed]
- 34.Fast-Response Probes—Section 22. 2. Available at: http://www.thermofisher.com/dk/en/home/references/molecular-probes-the-handbook/probes-for-membrane-potential/fast-response-probes.html (Accessed: 9th December 2017).
- 35.West MJ, Slomianka L, Gundersen HJG. Unbiased stereological estimation of the total number of neurons in the subdivisions of the rat hippocampus using the optical fractionator. Anat. Rec. 1991;231:482–497. doi: 10.1002/ar.1092310411. [DOI] [PubMed] [Google Scholar]
- 36.Boss BD, Turlejski K, Stanfield BB, Cowan WM. On the numbers of neurons on fields CA1 and CA3 of the hippocampus of Sprague-Dawley and Wistar rats. Brain Res. 1987;406:280–287. doi: 10.1016/0006-8993(87)90793-1. [DOI] [PubMed] [Google Scholar]
- 37.Delgado Ruz I, Schultz SR. Localising and classifying neurons from high density MEA recordings. J. Neurosci. Methods. 2014;233:115–128. doi: 10.1016/j.jneumeth.2014.05.037. [DOI] [PubMed] [Google Scholar]
- 38.Rall W. Electrophysiology of a Dendritic Neuron Model. Biophys. J. 1962;2:145–167. doi: 10.1016/S0006-3495(62)86953-7. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Holt, G. R. A critical reexamination of some assumptions and implications of cable theory in neurobiology. (California Institute of Technology, 1998).
- 40.Lindén H, et al. LFPy: a tool for biophysical simulation of extracellular potentials generated by detailed model neurons. Front. Neuroinform. 2014;7:41. doi: 10.3389/fninf.2013.00041. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 41.Okada YC, Wu J, Kyuhou S. Genesis of MEG signals in a mammalian CNS structure. Electroencephalogr. Clin. Neurophysiol. 1997;103:474–485. doi: 10.1016/S0013-4694(97)00043-6. [DOI] [PubMed] [Google Scholar]
- 42.Roth BJ, Sepulveda NG, Wikswo JP. Using a magnetometer to image a two‐dimensional current distribution. J. Appl. Phys. 1989;65:361–372. doi: 10.1063/1.342549. [DOI] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.