Skip to main content
Log in

Inverse Current-Source Density Method in 3D: Reconstruction Fidelity, Boundary Effects, and Influence of Distant Sources

  • Published:
Neuroinformatics Aims and scope Submit manuscript

Abstract

Estimation of the continuous current-source density in bulk tissue from a finite set of electrode measurements is a daunting task. Here we present a methodology which allows such a reconstruction by generalizing the one-dimensional inverse CSD method. The idea is to assume a particular plausible form of CSD within a class described by a number of parameters which can be estimated from available data, for example a set of cubic splines in 3D spanned on a fixed grid of the same size as the set of measurements. To avoid specificity of particular choice of reconstruction grid we add random jitter to the points positions and show that it leads to a correct reconstruction. We propose different ways of improving the quality of reconstruction which take into account the sources located outside the recording region through appropriate boundary treatment. The efficiency of the traditional CSD and variants of inverse CSD methods is compared using several fidelity measures on different test data to investigate when one of the methods is superior to the others. The methods are illustrated with reconstructions of CSD from potentials evoked by stimulation of a bunch of whiskers recorded in a slab of the rat forebrain on a grid of 4×5×7 positions.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

Notes

  1. Note that the CSD in the whole tissue needs not be specified by its values on the grid, but, for instance, could be specified by the total current, position of the center and the spread of each of the sources. Then the potentials on the grid would be a nonlinear function of the parameters of CSD. Such a functional relation, however, would be of smaller practical utility in the application considered, which is why we restrict ourselves to the linear case. We believe it is useful to stress that the parameterizations can be more general as there may be other techniques, e.g. based on statistical learning, where nonlinear parametrization can be more natural and inverse of F is not required.

  2. It is convenient to work with unit spacing and to include the true edge length h at the very end of the calculations, this is done simply by dividing the resulting CSD by h 2.

  3. We dealt with the singularity by simply excising a ball of radius ε = 10 − 8 or ε = 10 − 6. The numerical error introduced by such an excision is smaller than ε 2.

  4. Except at r = 0, which is not the case here because the source is “distant”.

  5. Note that the larger grid has extra corner points which do not directly correspond to points in the original grid. For these corner points duplication means that we take the value at the closest (corner) point in the original grid. In other words, values at the corner points in the original grid are used at more than one point in the extended grid. A similar observation applies to the points on the edges of the grid.

  6. Even though the reconstruction errors are normalized with respect to the original sources we think that one should still be careful when comparing the results between different sets.

Abbreviations

APT:

anterior pretectal nucleus

cp:

cerebral peduncle

Hipp:

hippocampus

ic:

internal capsule

MG:

medial geniculate nucleus

ml:

medial lemniscus

PO:

posterior thalamic nuclear group

Rt:

reticular thalamic nucleus

SN:

substantia nigra

VPm:

ventral posteromedial thalamic nucleus

ZI:

zona incerta

References

  • Freeman, J. A., & Nicholson, C. (1975). Experimental optimization of current source-density technique for anuran cerebellum. Journal of Neurophysiology, 38, 369–382.

    PubMed  CAS  Google Scholar 

  • Hämäläinen, M., Hari, R., Ilmoniemi, R. J., Knuutila, J., & Lounasmaa, O. V. (1993). Magnetoencephalography—theory, instrumentation, and applications to noninvasive studies of the working human brain. Reviews of Modern Physics, 65, 413–497.

    Article  Google Scholar 

  • Kublik, E., Świejkowski, D. A., & Wróbel, A. (2003). Cortical contribution to sensory volleys recorded at thalamic nuclei of lemniscal and paralemniscal pathways. Acta Neurobiologiae Experimentalis (Wars), 63, 377–382.

    Google Scholar 

  • Lin, B., Colgin, L. L., Brücher, F. A., Arai, A. C., & Lynch, G. (2002). Interactions between recording technique and AMPA receptor modulators. Brain Research, 955, 164–173.

    Article  PubMed  CAS  Google Scholar 

  • Mitzdorf, U. (1985). Current source-density method and application in cat cerebral cortex: Investigation of evoked potentials and eeg phenomena. Physiology Review, 65, 37–100.

    CAS  Google Scholar 

  • Nicholson, C., & Freeman, J. A. (1975). Theory of current source-density analysis and determination of conductivity tensor for anuran cerebellum. Journal of Neurophysiology, 38, 356–368.

    PubMed  CAS  Google Scholar 

  • Novak, J. L., & Wheeler, B. C. (1989). Two-dimensional current source density analysis of propagation delays for components of epileptiform bursts in rat hippocampal slices. Brain Research, 497, 223–230.

    Article  PubMed  CAS  Google Scholar 

  • Nunez, P. L., & Srinivasan, R. (2005). Electric fields of the brain: The neurophysics of EEG. Oxford University Press.

  • Paxinos, G., & Watson, C. (1996). The rat brain in stereotaxic coordinates, compact third edition Academic.

  • Pettersen, K. H. Devor, A., Ulbert, I., Dale, A. M., & Einevoll, G. T. (2006). Current-source density estimation based on inversion of electrostatic forward solution: Effects of finite extent of neuronal activity and conductivity discontinuities. Journal of Neuroscience Methods, 154, 116–133.

    Article  PubMed  Google Scholar 

  • Plonsey, R., (1969). Bioelectric phenomena. New York: McGraw-Hill Book Company.

    Google Scholar 

  • Press, W. H., Teukolsky, S. A., Vetterling, W. T., & Flannery, B. P. (1992). Numerical Recipes in C: The art of scientific computing, chapter 3.3 (2nd ed.) (pp. 113–115). Cambridge University Press.

  • Shimono, K., Brucher, F., Granger, R., Lynch, G., & Taketani, M. (2000). Origins and distribution of cholinergically induced beta rhythms in hippocampal slices. Journal of Neuroscience, 20, 8462–8473.

    PubMed  CAS  Google Scholar 

  • Sukov, W., & Barth, D. S. (1998). Three-dimensional analysis of spontaneous and thalamically evoked gamma oscillations in auditory cortex. Journal of Neurophysiology, 79, 2875–2884.

    PubMed  CAS  Google Scholar 

  • Ueno, S., & Sekino, M. (2005). Conductivity tensor MR imaging. Proceedings of the XXVIIIth URSI General Assembly in New Delhi.

  • Vaknin, G., DiScenna, P. G., & Teyler, T. J.(1988). A method for calculating current source density (CSD) analysis without resorting to recording sites outside the sampling volume. Journal of Neuroscience Methods, 24, 131–135.

    Article  PubMed  CAS  Google Scholar 

Download references

Acknowledgements

We are grateful to Wit Jakuczun for his suggestion to investigate spatial jittering as one way to improve the CSD reconstruction. This work was partly financed from the Polish Ministry of Science and Higher Education research grants N401 146 31/3239 and 2P04C 046 27.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Szymon Łęski.

Appendices

Appendices

Linear iCSD Method

In this appendix we construct the F matrix for the linear distribution of CSD. Consider a grid of points (i,j,k), where i = 1..n x , j = 1..n y , k = 1..n z . Let us number the points with a multi-index α ≡ (i,j,k) and write (i,j,k) ≡ (x α ,y α ,z α ). Let V be the set of 8 vectors (v 1,v 2,v 3), \(v_i \in \lbrace 0,1 \rbrace\). The grid has n = n x n y n z nodes and there are m = (n x  − 1)(n y  − 1)(n z  − 1) boxes spanned by these nodes. We index the boxes so that the corners of the box number α are α + v for v ∈ V. Let B denote the set of all the allowed indices α numbering the boxes and G stand for all the grid points. Let C denote the vector of CSD values at the nodes, that is C α  = C(x α ,y α ,z α ) for α ∈ G. We assume that CSD in boxes is given by a linear approximation.

Take a point (x,y,z) in box number α and let δx = x − x α , δy = y − y α , δz = z − z α . The value of CSD at this point obtained with the linear interpolation is given by:

$$C\left( {x,y,z} \right) = \sum\limits_{\upsilon \in V} {\left[ {1 - \upsilon _1 + \left( {2\upsilon _1 - 1} \right)\delta x} \right] \times \left[ {1 - \upsilon _2 + \left( {2\upsilon _2 - 1} \right)\delta y} \right] \times \left[ {1 - \upsilon _3 + \left( {2\upsilon _3 - 1} \right)\delta z} \right]C_{\alpha + \upsilon } .} $$

Therefore the distribution inside the box is a linear combination of 8 functions f l , l = 1..8: f 1 = 1, f 2 = δx, f 3 = δy, f 4 = δz, f 5 = δx δy, f 6 = δx δz, f 7 = δy δz, f 8 = δx δy δz, with coefficients depending linearly on the values of C at the nodes of the box:

$$C\left( {x,y,z} \right) = \sum\limits_{\beta \in G} {\sum\limits_{l = 1}^8 {E_{\alpha \beta }^1 f_l C_\beta } } .$$

The coefficients \(E^l_{\alpha\beta}\) are non-zero only for β − α ∈ V and follow from the above formula, e.g. \(E^1_{\alpha,\beta}=1\) for β − α = (0,0,0), otherwise \(E^1_{\alpha,\beta}=0\), etc. The potential generated by such a distribution of current-source density at some point \((\tilde{x},\tilde{y},\tilde{z})\) is

$$ \Phi(\tilde{x},\tilde{y},\tilde{z}) = \sum_{\alpha\in B}\sum_{\beta\in G}\sum_{l=1}^8 F^l_\alpha(\tilde{x},\tilde{y},\tilde{z}) E^l_{\alpha\beta} C_\beta \;, $$

where

$$ F^l_\alpha(\tilde{x},\tilde{y},\tilde{z})= \frac{1}{4\pi\sigma} \int_{0}^{1} \int_{0}^{1} \int_{0}^{1} \frac{f_l(x,y,z) \,\, \mathrm{d} z \, \mathrm{d} y \, \mathrm{d} x} {\sqrt{(\tilde{x}-x_\alpha-x)^2 + (\tilde{y}-y_\alpha-y)^2 + (\tilde{z}-z_\alpha-z)^2}} \;. $$

If we now take as \((\tilde{x},\tilde{y},\tilde{z})\) one of the grid points γ then

$$ \Phi_\gamma = \sum_{\beta\in G} F_{\gamma\beta} C_\beta, $$

where

$$F_{\gamma\beta} = \sum_{\alpha\in B}\sum_{l=1}^8 F^l_\alpha(x_\gamma, y_\gamma,z_\gamma) E^l_{\alpha\beta}. $$

Thus F γβ represents the direct and indirect contributions to the total potential at point γ from the CSD associated with the grid point β.

Spline iCSD Method

The construction of the F matrix for the spline distribution is in principle very similar to the case of linear distribution, but the level of complication is much higher. Similarly as in the previous appendix we have n nodes and m boxes, but now the interpolating function in each box is the three-dimensional cubic spline. That means there are 4×4×4 = 64 base functions. Therefore there will be 64 each of E and F matrices. The main challenge here is to construct the E matrices, that means to describe how a CSD value associated with a given node influences the interpolating splines in all the boxes.

First we briefly remind the construction of one-dimensional spline (Press et al. 1992). Suppose we have values of a function f at points x = 1 .. n x . For x such that j ≤ x ≤ j + 1 define P 1(x) = j + 1 − x, P 2(x) = x − j. The formula

$$ \label{jonel} f(x) = P_1(x) f(j) + P_2(x) f(j+1) $$
(7)

gives a linear approximation, that means an approximation with a continuous function. In case of cubic splines we want more: we want also the first and second derivatives to be continuous. This can be done if we replace the right hand side of Eq. 7 with a third-degree polynomial:

$$ \label{eq8} f(x) = P_1(x) f(j{\kern1.2pt}) + P_2(x) f(j+1) + P_3(x) f^{\prime\prime}(j{\kern1.2pt}) + P_4(x) f^{\prime\prime}(j+1) \;, $$
(8)

where \(P_3(x) = \frac16 (P_1(x)^3 -P_1(x))\), \(P_4(x) = \frac16 (P_2(x)^3 - P_2(x))\). This formula guarantees that both f and its second derivative are continuous. The values of the second derivative f″ of f at nodes are a priori unknown, but can be calculated from the condition that also the first derivative is continuous. This condition leads to the following system of equations (j = 2.. n x  − 1):

$$\frac{1}{6}f\prime \prime \left( {j - 1} \right) + \frac{1}{3}f\prime \prime \left( j \right) + \frac{1}{6}f\prime \prime \left( {j + 1} \right) = f\left( {j + 1} \right) - 2f\left( j \right) + f\left( {j - 1} \right).$$

There are n unknown f (j) and only n − 2 equations, therefore we need two additional conditions. There are several commonly used choices for these conditions. One of them is to add equations

$$ f^{\prime\prime}(1) = 0\;, \qquad f^{\prime\prime}(n) = 0\;, $$

which leads to so-called “natural splines”. The splines implemented in Matlab use a different set of conditions, namely

$$f\prime \prime \left( 3 \right) - f\prime \prime \left( 2 \right) = f\prime \prime \left( 2 \right) - f\prime \prime \left( 1 \right),\,f\prime \prime \left( n \right) - f\prime \prime \left( {n - 1} \right) = f\prime \prime \left( {n - 1} \right) - f\prime \prime \left( {n - 2} \right).$$

These conditions mean that the third derivative is continuous at x = 2 and x = n − 1 and they lead to what is known as “not-a-knot” splines. The important thing is that in both cases the values of f at the nodes can be obtained from f(j), j = 1.. n, by a linear operation which we call G:

$$ f^{\prime\prime}(i) = \sum_{j=1}^n G_{ij} f(j)\;. $$

The matrix G is different for “natural” and “not-a-knot” splines.

The three-dimensional spline interpolation is obtained simply by performing three one-dimensional splines. The complication is that we do not want the values of the interpolating function at some points, but the coefficients standing by the base functions. We found that it is convenient to choose base functions which are products of the polynomials P 1, P 2, P 3, P 4 of variables x, y and z, that means P 1(x)P 1(y)P 1(z), P 1(x)P 1(y)P 2(z), ..., P 4(x)P 4(y)P 4(z). To extract the coefficients we start with the spline in z direction:

$$ \label{spl1} f(x,y,z) = P_1(z) f(x,y,j) + P_2(z) f(x,y,j+1) + P_3(z) f_{zz}(x,y,j) + P_4(z) f_{zz}(x,y,j+1)\;, $$
(9)

where f zz stands for \(\frac{\partial^2f}{\partial z^2}\) and is given by \(f_{zz}(x,y,j{\kern1.2pt}) = \sum_{i=1}^{n_z} G^z_{ji} f(x,y,i)\). Therefore we reduce the problem to two-dimensional splines in the xy-plane. We continue with

$$ \label{spl2} f(x,y,j\,) = P_1(y) f(x,i,j\,) + P_2(y) f(x,i+1,j) + P_3(y) f_{yy}(x,i,j\,) + P_4(z) f_{yy} (x,i+1,j\,)\;, $$
(10)

and so on. In the end we get the coefficients standing by the base functions as combinations of f(i,j,k) (values of f at the nodes) and the matrices G x, G y, G z. Then we construct the matrices \(E^{pqr}_{\alpha\beta}\), α ∈ B, β ∈ G, 1 ≤ p,q,r ≤ 4. The number \(E^{pqr}_{\alpha\beta}\) is the coefficient standing by P p (x)P q (y)P r (z) in box α resulting from a unit CSD at the node β. The construction of 64 \(F^{pqr}_{\gamma\alpha}\) matrices (each of size n by m), where γ ∈ G and α ∈ B, is simple:

$$F_{\gamma \alpha }^{pqr} = \frac{1}{{4\pi \sigma }}\int_0^1 {\int_0^1 {\int_0^1 {\frac{{P_p \left( x \right)P_q \left( y \right)\operatorname{P} _r \left( z \right)}}{{\sqrt {\left( {x_\gamma - x_\alpha - x} \right)^2 + \left( {y_\gamma - y_\alpha - y} \right)^2 + \left( {z_\gamma - z_\alpha - z} \right)^2 } }}dzdydx,} } } $$

and the full matrix F is now

$$ F = \sum_{p,q,r=1}^4 F^{pqr} E^{pqr} \;, $$

or

$$ F_{\gamma\beta} = \sum_{p,q,r=1}^4 \sum_{\alpha=1}^m F^{pqr}_{\gamma\alpha} E^{pqr}_{\alpha\beta} \;. $$

Rights and permissions

Reprints and permissions

About this article

Cite this article

Łęski, S., Wójcik, D.K., Tereszczuk, J. et al. Inverse Current-Source Density Method in 3D: Reconstruction Fidelity, Boundary Effects, and Influence of Distant Sources. Neuroinform 5, 207–222 (2007). https://doi.org/10.1007/s12021-007-9000-z

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12021-007-9000-z

Keywords

Navigation