Next Article in Journal
Person Re-Identification Using Local Relation-Aware Graph Convolutional Network
Next Article in Special Issue
Hybrid Feature Extractor Using Discrete Wavelet Transform and Histogram of Oriented Gradient on Convolutional-Neural-Network-Based Palm Vein Recognition
Previous Article in Journal
Modeling the Visual Landscape: A Review on Approaches, Methods and Techniques
Previous Article in Special Issue
Real-Time Navigation in Google Street View® Using a Motor Imagery-Based BCI
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Communication

One Definition to Join Them All: The N-Spherical Solution for the EEG Lead Field

1
Center for Cognitive and Computational Neuroscience, Universidad Complutense de Madrid (UCM), 28040 Madrid, Spain
2
Department of Radiology, Rehabilitation and Physical Therapy, Universidad Complutense de Madrid (UCM), IdISSC, 28040 Madrid, Spain
3
School of Psychology, University of Roehampton, London SW15 4JD, UK
4
Department of Industrial Engineering, Institute of Neuroscience & Institute of Biomedical Technology, Universidad de La Laguna, 38200 Tenerife, Spain
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(19), 8136; https://doi.org/10.3390/s23198136
Submission received: 19 June 2023 / Revised: 7 September 2023 / Accepted: 26 September 2023 / Published: 28 September 2023
(This article belongs to the Special Issue Computational Intelligence Based-Brain-Body Machine Interface)

Abstract

:
Albeit its simplicity, the concentric spheres head model is widely used in EEG. The reason behind this is its simple mathematical definition, which allows for the calculation of lead fields with negligible computational cost, for example, for iterative approaches. Nevertheless, the literature shows contradictory formulations for the electrical solution of this head model. In this work, we study several different definitions for the electrical lead field of a four concentric spheres conduction model, finding that their results are contradictory. A thorough exploration of the mathematics used to build these formulations, provided in the original works, allowed for the identification of errors in some of the formulae, which proved to be the reason for the discrepancies. Moreover, this mathematical review revealed the iterative nature of some of these formulations, which allowed us to develop a formulation to solve the lead field in a head model built from an arbitrary number of concentric, homogeneous, and isotropic spheres.

1. Introduction

The calculation of the distribution of electric potential due to the current in a conductor is not trivial. However, this calculation is necessary to reconstruct, for example, the cortical sources of activity of electroencephalography (EEG). Currently, the solution of this forward problem is usually calculated using numerical approaches, where the conductor (in this case, the head) is divided into a continuous series of elements of piecewise constant conductivity. However, for very simple cases where the geometry can be mathematically parametrized, it is possible to use a mathematical approach, which would give an “exact” solution for the problem. Since the head can be approximately modeled as a sphere, the widespread solution is that of a spherical conductor. While it is not precise for a realistic head, it is exact for spherical geometry.
The electrical lead field in the surface of a homogeneous sphere was mathematically solved by Fran in 1952 [1], and the solution for a multilayer concentric set of spheres was proposed by Arthur and Geselowitz in 1970 [2] and simplified by Cuffin and Cohen in 1979 [3]. The definition of the geometry-defined constants in the solution was not precise, and it was later improved by Lütkenhöner [4] and included in the FieldTrip toolbox [5]. In parallel, Yao and colleagues [6,7] and Nunez and Srinivasan [8] developed their own approaches. However, these three approaches seem, at first, incompatible. In addition, Lütkenhöner’s work is not publicly available, and Nunez and Srinivasan’s solution contained several errors, later corrected by Næss [9]. Right now, it is not clear if all these solutions define the same phenomena or if some of them are erroneous.
Although the increase in computational power allows for complex head models for solving the EEG forward problem, the use of computationally simple spherical solutions continues to be broadly extended [10,11]. For example, the spherical solution is still prevalent in cases where the accuracy of the forward solution is not essential [12] or as part of a two-step iterative procedure, where the simplified geometry is used in a first approach and a more realistic one is used in the last steps. Moreover, the existence of accurate analytical solutions is of paramount importance for the evaluation of the accuracy of numerical approaches. As these solutions are naïve to the parametrization of the geometry, their error will be similar in simple and realistic cases, and the concentric spheres model has been broadly used as testing ground [13,14,15,16].
In this work, we go over the three most common formulae for solving the lead field in a concentric spherical head model [3,6,8] and compare the different solutions. In addition, we create an alternative formulation that explodes the iterative nature of the previous solutions and allows for an arbitrary number of concentric spheres. Then, we evaluate the validity of this approach, comparing the results with implementations based in the previous literature. Finally, we provide an implementation of the algorithm to be freely used by the reader.

2. Mathematical Development

For a point-like current (i.e., an elemental dipole) P , in an infinite medium of electrical conductivity σ , located in the Z-axis and oriented radially, the potential in any point of space r is given by the solution to Laplace’s equation, which in spherical coordinates can be written as [2]
Φ r = P 4 π σ l = 1 r 0 l r l + 1 P l cos θ
where r 0 is the distance from the dipole to the origin, r and θ are the radial and azimuthal coordinates of point r , and P l is the Legendre polynomial of degree l . As the orientation of the dipole is radial (i.e., with the Z-axis), the potential distribution is rotationally symmetric, and the result is independent of φ.
When the medium is replaced with a set of s concentric spheres, of piecewise constant conductivity σ s and surrounded by vacuum (i.e., no conductivity), the solution for the potential is [3]
Φ s r = P 4 π σ s l = 1 A l s · r l + B l s r l + 1 · l · P l cos θ
where s denotes the region, and A l s and B l s depend on the boundary conditions, particularly the position of the dipole, the radii of the spheres, and the conductivity of the compartments. As these constants specifically affect the terms of the spherical harmonics’ expansion given by P l , they are sometimes referred as a spherical harmonics spectrum or spatial filters [6]. We can relate them with the boundaries between compartments: when the potential generated with a dipole P reaches a boundary between media, the behavior can be described as a double layer of charges distributed in the boundary, with one in the i -th medium and another in the i + 1 -th medium [17]. Then, this distribution of charges will themselves generate a perturbation in the electric field that will propagate both inwards and outwards [8], and A l s and B l s   describe this propagation.
It is important to note that, in the following equations—and in the same fashion as in the definitions of A l s and B l s above—the subscript will represent the degree of the Legendre polynomial ( l , in general), and the superscript will represent the boundary where the constant is calculated ( s , in general).
Applying the boundary conditions (i.e., continuity of the current and potential across boundaries and no current leaving the outer sphere of the conductor), Cuffin and Cohen [3] provided a closed formula to calculate the potential on the external surface of a four-layer conductor. This formula proved later to be inexact and was corrected by Lütkenhöner [4]. Using a similar approach, Nunez and Srinivasan [8] (later corrected by Naess and colleagues [9]) developed a formula for the potential at any point in the conductor. The general formulation is similar to (2):
Φ s r = P 4 π σ 1 r 0 2 l = 1 A l s · r R s l + B l s · R s r l + 1 · l · P l cos θ
In their work, the authors provide formulae to calculate the terms A l s and B l s for a four-layer conductor (see the Appendix in [9] for details on the derivation of (4)–(14)):
A l 1 = l + 1 l · σ 1 σ 2 + Z l σ 1 σ 2 Z l · r 0 R 1 l + 1 ,
B l 1 = r 0 R 1 l + 1 ,
A l 2 = A l 1 + r 0 R 1 l + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 ,
B l 2 = Y l · A l 2 ,
A l 3 = A l 2 + B l 2 R 2 R 3 l + V l · R 3 R 2 l + 1 ,
B l 3 = V l · A l 3 ,
A l 4 = A l 3 + B l 3 R 3 R 4 l + l l + 1 · R 4 R 3 l + 1 ,
B l 4 = l l + 1 · A l 4 ,
V l = l l + 1 · σ 3 σ 4 R 3 R 4 l R 4 R 3 l + 1 l + 1 l · R 3 R 4 l + R 4 R 3 l + 1 σ 3 σ 4 + R 3 R 4 l R 4 R 3 l + 1 l + 1 l · R 3 R 4 l + R 4 R 3 l + 1 ,
Y l = l l + 1 σ 2 σ 3 l l + 1 · R 2 R 3 l V l · R 3 R 2 l + 1 R 2 R 3 l + V l · R 3 R 2 l + 1 σ 2 σ 3 + l l + 1 · R 2 R 3 l V l · R 3 R 2 l + 1 R 2 R 3 l + V l · R 3 R 2 l + 1 ,
Z l = R 1 R 2 l l + 1 l · Y l · R 2 R 1 l + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 .
Here, R s is the radius of sphere s , and σ s is the conductivity of the compartment bounded by it. The constants Z ˙ l , Y l , and V l , for their part, are proportionality constants relating the terms A l s and B l s for s greater than 1.
One of the main caveats of this formulation is that the position of the dipole is included in the terms. Thus, it must be calculated for each dipole position. However, we can rewrite the formulae in (4)–(11) extracting the dipole position as follows:
A l 1 = A ~ l 1 · r 0 R 1 l + 1 ,
A ~ l 1 = l + 1 l · σ 1 σ 2 + Z l σ 1 σ 2 Z l ,
A l 2 = A ~ l 1 · r 0 R 1 l + 1 + r 0 R 1 l + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 = A ~ l 1 + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 · r 0 R 1 l + 1 = A ~ l 2 · r 0 R 1 l + 1 ,
etc. The same idea can be applied to B l s to obtain the terms B ~ l s . Now, we rewrite the potential in (3) as follows:
Φ S ( r ) = P 4 π σ 1 r 0 2 l = 1 ( r 0 R 1 ) l + 1 [ A ~ l S ( r R S ) l + B ~ l S ( R S r ) l + 1 ] l P l ( cos θ ) .
We can further simplify the definitions for the constants by introducing a new constant, U l , into (12)–(14):
U l = l l + 1 ,
V l = U l · σ 3 σ 4 U l · R 3 R 4 l U l · R 4 R 3 l + 1 R 3 R 4 l + U l · R 4 R 3 l + 1 σ 3 σ 4 + U l · R 3 R 4 l U l · R 4 R 3 l + 1 R 3 R 4 l + U l · R 4 R 3 l + 1 ,
Y l = U l · σ 2 σ 3 U l · R 2 R 3 l V l · R 3 R 2 l + 1 R 2 R 3 l + V l · R 3 R 2 l + 1 σ 2 σ 3 + U l · R 2 R 3 l V l · R 3 R 2 l + 1 R 2 R 3 l + V l · R 3 R 2 l + 1 ,
Z l = 1 U l · U l · R 1 R 2 l Y l · R 2 R 1 l + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 .
This formulation reveals the iterative nature of these constants. For the external compartment, the radius ( R 5 ) is infinite, and the conductivity ( σ 5 ) is zero. Therefore, the first constant, U l , has the most straightforward definition. The rest of the constants depend on the previous one. However, the innermost constant, Z l , does not follow this rule. We can also observe that, in (16), the definition of A ~ l 1 differs from that of the rest of A ~ l i . To address this inconsistency, we can jointly rewrite Z l and A ~ l 1 :
Z l = 1 U l · U l · R 1 R 2 l Y l · R 2 R 1 l + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 ,
A ~ l 1 = l + 1 l · σ 1 σ 2 + Z l σ 1 σ 2 Z l = σ 1 σ 2 + U l · Z l U l · σ 1 σ 2 U l · Z l = σ 1 σ 2 + U l · R 1 R 2 l Y l · R 2 R 1 l + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 U l · σ 1 σ 2 U l · R 1 R 2 l Y l · R 2 R 1 l + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 = 1 Z ˙ l ,
Z ˙ l = U l · σ 1 σ 2 U l · R 1 R 2 l Y l · R 2 R 1 l + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 σ 1 σ 2 + U l · R 1 R 2 l Y l · R 2 R 1 l + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 .
We observe that the new constant Z ˙ l follows the iterative form suggested in (19)–(21). This iterative nature can also be observed in the constants A ~ l s and B ~ l s . To make it more evident, we rename the constants Z ˙ l , Y l , V l , and Y l as X l s for s = 1 , , 4 , respectively, and rewrite A ~ l i :
A ~ l 1 = 1 Z ˙ l = 1 X l 1 ,
A ~ l 2 = A ~ l 1 + 1 R 1 R 2 l + Y l · R 2 R 1 l + 1 = A ~ l 1 · 1 + Z ˙ l R 1 R 2 l + Y l · R 2 R 1 l + 1 = A ~ l 1 · 1 + X l 1 R 1 R 2 l + X l 2 · R 2 R 1 l + 1 ,
A ~ l 3 = A ~ l 2 + B ~ l 2 R 2 R 3 l + V l · R 3 R 2 l + 1 = A ~ l 2 · 1 + Y l R 2 R 3 l + V l · R 3 R 2 l + 1 = A ~ l 2 · 1 + X l 2 R 2 R 3 l + X l 3 · R 3 R 2 l + 1 ,
A ~ l 4 = A ~ l 3 + B ~ l 3 R 3 R 4 l + U l · R 4 R 3 l + 1 = A ~ l 3 · 1 + V l R 3 R 4 l + U l · R 4 R 3 l + 1 = A ~ l 3 · 1 + X l 3 R 3 R 4 l + X l 4 · R 4 R 3 l + 1 .
In this case, the innermost constant, A ~ l 1 , is the simplest, and the other constants depend on the previous one.
In this form, if we take r 0 r l + 1 as a common factor, the constants can be seen to match the terms for the spatial filter W l s in [7]
A ~ l s r 2 l + 1 R 1 l + 1 · R s l + B ~ l s · R s l + 1 R 1 l + 1 = A ~ l s R 1 l + 1 · R s l r 2 l + 1 + X l s R s 2 l + 1 W l s .
Finally, taking advantage of the iterative nature of the definitions as mentioned above, we can write the constants for a conductor consisting of n concentric spheres as
X l n = l l + 1 ,
X l s = X l n · σ s σ s + 1 X l n · R s R s + 1 l X l s + 1 · R s + 1 R s l + 1 R s R s + 1 l + X l s + 1 · R s + 1 R s l + 1 σ s σ s + 1   + X l n · R s R s + 1 l X l s + 1 · R s + 1 R s l + 1 R s R s + 1 l + X l s + 1 · R s + 1 R s l + 1 ,
A ~ l 1 = 1 X l 1 ,
A ~ l s = A ~ l s 1 · 1 + X l s 1 R s 1 R s l + X l s · R s R s 1 l + 1 ,
B ~ l s = X l s · A ~ l s .

3. Evaluation of the Accuracy and Performance of the Proposed Implementation

In Section 2 of this work, we have developed an iterative formulation for the calculation of the potential at any point of a spherical conductor made from concentric spheres of homogeneous materials. In this section, we evaluate the accuracy of our formulation, compared with the classical formulations by Lutkenhoner, Yao, and Naess, together with the computational cost associated with each formulation. In this evaluation, we compare the different results using Lutkenhöner’s constant, as implemented in the FieldTrip toolbox [5], as the gold standard. The code for these comparisons is available in the GitHub repository of the work (https://github.com/rbruna/eeg-spheres/, accessed on 1 June 2023), where we provide implementations for the lambda constant using the mathematics described in the different works referenced in the main body of the manuscript.
Figure 1 shows the error (compared to Lutkenhöner) as relative error (difference of values divided by the magnitude of the value) when using the classical values for the conductivities of the brain (1/3 S/m), the skull (1/(3 × 80) S/m), and the scalp (1/3 S/m). The error of all methods is similar and is inside the expected error for double-precision float point arithmetic.
For a more general view, Figure 2 shows the relative error of each definition of the constant when using random (yet symmetrical) values for the conductivity. We can observe that the definitions of Yao in their 2000 and 2001 paper have the lowest relative error, while their definition (corrected as reported in the main body of the manuscript) in the 2003 paper had the largest one. The relative error in our proposed method is similar to that of Næss, which makes sense, as their definition is our main inspiration. Nevertheless, in all the cases, the relative error is inside the numerical error of the double-precision floating point operations.
Table 1 shows the times (averaged over 1 million executions) for the calculation of the constant for a three-sphere model. The implementation for Lutkenhöner’s definition is a closed formula and is by far the fastest but has the caveat that it can only be used to estimate the potential in the outer interface. The definitions by Yao are next, with the one from 2003 being the fastest (although the one with the larger error, see above). The implementation proposed here is approximately 30% faster than Næss, likely because their closed formula is defined for models with four spheres. In any case, the constant must be generated only once per head model, and the computation time for spherical harmonics of order 100 is less than a millisecond in all cases.

4. Discussion

In this work, we propose a reformulation of the solution for the potential in a conductor formed using a set of concentric spheres with piecewise constant conductivity. This reformulation reconciles the different definitions provided by Cuffin and Cohen [3], Nunez and Srinivasan [8], and Yao [7]. In doing so, we have also uncovered the iterative nature of the solution. Therefore, the formulation can be naturally extended to an arbitrary number of spheres.
The original algorithms used as the basis for this work are valid only for a fixed number of spheres, usually three [6] or four [3,7,8]. This limitation makes it necessary to use different algorithms for different models or to trick the algorithm by creating contiguous regions with the same conductivity, wasting precious CPU time. With the proposed formulation, the algorithm can be naturally extended to the required number of spheres without the need for optimization. In addition, we evaluated the performance and accuracy of the proposed formulation, showing that, while the solution is slightly slower that closed-form formulations, the accuracy is similar to those and close to the accuracy error for floating point arithmetic.
While the iterative nature of the solution allows for the calculation of the potential in a conductor with an arbitrary number of spheres, the practical applications of this feature are negligible. This is because, as the spherical volume conductor for EEG is an acceptable head model for fast calculation of the lead field in a real head, the geometry is not fit to the real head shape; therefore, an increase in the precision of the model will not tend toward an increased precision of the real volume conductor. However, this feature can be exploited in the evaluation of the accuracy of other, e.g., numerical, methods. For example, it is well known that classical BEM models are inaccurate in interfaces between media of different conductivity [18]. Some approaches have been developed to overcome this issue (as the isolated skull approach [19] or the symmetrical BEM methods [16]), but it is not clear how they will behave in more complex scenarios, for example, in the presence of low-conductivity pieces (i.e., fragments of skull). In this vein, the formulation proposed in this work could be of great use to evaluate more complex scenarios, with several high and low conductivities of different thickness layers interleaved.
Finally, in Appendix A, we provide an implementation of the algorithm, programmed in the MATLAB language and compatible with GNU Octave, to be used under the terms of GNU’s GPL version 3. This implementation can be compared with the classical formulations, and the code for such a comparison can be obtained from GitHub (https://github.com/rbruna/eeg-spheres/, accessed on 1 June 2023). Appendix B shows the results of these comparisons, both in relative error (compared to Lutkenhöner [4]) and in computation time.
In conclusion, the mathematical formulation provided in this work will help in understanding the behavior of the electrical currents in very simplified scenarios. Furthermore, as we provide a MATLAB code for the calculation of the potential, it can be readily used for anyone, without the need to generate their own implementation. And, as an unexpected extra, the feature of allowing models with an arbitrary number of spherical layers can help evaluate and improve the accuracy of numerical methods.

Author Contributions

Conceptualization, R.B., G.F. and E.P.; Software, R.B.; Validation, R.B.; Formal analysis, R.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. MATLAB Implementation of the Algorithm

Here, we present an implementation to get the gamma constant (Γ) in Cuffin and Cohen [3] using our iterative approach. As indicated in the main body of the manuscript, the definition of this constant in Cuffin and Cohen is incorrect, but the rest of the mathematics described in their work is sound.
The code provided below expects the following:
  • The concentric spheres are centered in the origin;
  • The radii of the spheres are provided as a vector with the name R;
  • The conductivities of the spheres are provided as a vector with the name S;
  • The spherical harmonics are to be evaluated until the order L.
The MATLAB implementation is as follows:
% Reserves memory for the X and A variables.
X = nan ( numel ( R ), order );
A_ = nan ( numel ( R ), order );
 
% Calculates the relative radii and conductivities.
Rr = R (:) ./R (:)′;
Sr = S (:) ./S (:)′;
 
 
% Creates the vector of orders from 1 to L.
Ls = 1: L;
 
% Gets the value of X for the outer sphere.
X ( end, : ) = Ls ./( Ls + 1 );
 
% Goes from the second-to-outer to the inner sphere.
for i = numel ( R ) - 1: -1: 1
 
 % Gets the first and previous values.
 Xn = X ( end, : );
 Xp = X ( i + 1, : );
 
 % Gets the repeated term.
 num = Xn .* ( Rr ( i, i + 1 ) .^ Ls ) - Xp .* ( Rr ( i + 1, i ) .^ ( Ls + 1 ) );
 den = ( Rr ( i, i + 1 ) .^ Ls ) + Xp .* ( Rr ( i + 1, i ) .^ ( Ls + 1 ) );
 term = num ./den;
 
 % Gets the value of X for the current sphere.
 num = Xn * Sr ( i, i + 1 ) - term;
 den = Sr ( i, i + 1 ) + term;
 
 X ( i, : ) = num ./den;
end
 
 
% Gets the value of A_ for the inner sphere.
A_ ( 1, : ) = 1 ./X ( 1, : );
 
% Goes from the second to the outer sphere.
for i = 2: numel ( R )
 
 % Gets the previous value of A_.
 A_p = A_ ( i - 1, : );
 
 % Gets the previous and current value of X.
 Xp = X ( i - 1, : );
 Xi = X ( i, : );
 
 % Gets the value of A_ for the current sphere.
 num = A_p .* ( 1 + Xp );
 den = ( Rr ( i - 1, i ) .^ Ls ) + Xi .* ( Rr ( i, i - 1 ) .^ ( Ls + 1 ) );
 
 A_ ( i, : ) = num ./den;
end
 
A4 = A_ ( end, : );
U = X ( end, : );
r1 = R ( 1 );
r4 = R ( end );
 
 
X4 = A4 ./r1 .^ ( Ls + 1 ) ./r4 .^ ( Ls );
 
% Calculates the spherical harmonics filter X at the outer layer.
X4 = X4 .* ( r4 .^ ( 2 * Ls + 1 ) + U .* r4 .^ ( 2 * Ls + 1 ) );
 
% Calculates gamma constant.
gamma = 1 ./( Ls .* X4 ./( 2 .* Ls + 1 ) .^ 4 );

Appendix B. Potential Generated Using Dipoles with Arbitrary Orientation

In the main body of this work, we have presented the solution of the potential at an arbitrary point of a multi-layered spherical conductor. However, the final solution provided in (18) is only valid for radial dipoles located along the Z-axis. We opted to show the mathematical development in this scenario because, due to the rotational symmetry of the problem, the solution is also rotationally symmetric, and it shows no dependence with the polar coordinate φ . However, this definition is not complete, as it is not possible to describe any scenario with this equation. Here, we will describe the corresponding equations for a dipole located in the Z-axis but with an arbitrary orientation defined in cartesian coordinates.
Firstly, a radial dipole located over the Z-axis is oriented with the z coordinate. Therefore, (18) can be rewritten to describe the potential, Φ z s r , measured at an arbitrary point r of the s -th sphere and generated using a Z-oriented dipole of magnitude P z .
Φ z s r = P z 4 π σ 1 r 0 2 l = 1 r 0 R 1 l + 1 A ~ l s · r R s l + B ~ l s · R s r l + 1 · l · P l cos θ .
When the dipole is tangential, the rotational symmetry disappears, and the resulting potential depends on φ . For the case of an X-oriented dipole of magnitude P x , the potential Φ x s r is described using [3,9]
Φ x s r = P x · cos φ 4 π σ 1 r 0 2 l = 1 r 0 R 1 l + 1 A ~ l s · r R s l + B ~ l s · R s r l + 1 · P l 1 cos θ ,
where P l 1 is the associated Legendre polynomial of order 1 and degree l . Lastly, by rotating X over the Z-axis, we can obtain the potential Φ x s r generated using a Y-oriented dipole of magnitude P x :
Φ y s r = P y · sin φ 4 π σ 1 r 0 2 l = 1 r 0 R 1 l + 1 A ~ l s · r R s l + B ~ l s · R s r l + 1 · P l 1 cos θ
Nevertheless, the solutions for the potential provided in (A1)–(A3) are only valid for dipoles, either radial or tangential, located along the Z-axis. Other scenarios are possible, but the solution includes higher-order associated Legendre polynomials [2], and rotating the model is much more efficient.

References

  1. Frank, E. Electric Potential Produced by Two Point Current Sources in a Homogeneous Conducting Sphere. J. Appl. Phys. 1952, 23, 1225–1228. [Google Scholar] [CrossRef]
  2. Arthur, R.M.; Geselowitz, D.B. Effect of Inhomogeneities on the Apparent Location and Magnitude of a Cardiac Current Dipole Source. IEEE Trans. Biomed. Eng. 1970, BME-17, 141–146. [Google Scholar] [CrossRef] [PubMed]
  3. Cuffin, B.N.; Cohen, D. Comparison of the Magnetoencephalogram and Electroencephalogram. Electroencephalogr. Clin. Neurophysiol. 1979, 47, 132–146. [Google Scholar] [CrossRef] [PubMed]
  4. Lütkenhöner, B. Möglichkeiten und Grenzen der Neuromagnetischen Quellenanalyse; LIT: Hamburg, Germany, 1992; ISBN 9783894735647. [Google Scholar]
  5. Oostenveld, R.; Fries, P.; Maris, E.; Schoffelen, J.-M. FieldTrip: Open Source Software for Advanced Analysis of MEG, EEG, and Invasive Electrophysiological Data. Comput. Intell. Neurosci. 2011, 2011, 156869. [Google Scholar] [CrossRef] [PubMed]
  6. Yao, D. High-Resolution EEG Mappings: A Spherical Harmonic Spectra Theory and Simulation Results. Clin. Neurophysiol. 2000, 111, 81–92. [Google Scholar] [CrossRef]
  7. Yao, D. High-Resolution EEG Mapping: An Equivalent Charge-Layer Approach. Phys. Med. Biol. 2003, 48, 1997–2011. [Google Scholar] [CrossRef] [PubMed]
  8. Nunez, P.L.; Srinivasan, R. Electric Fields of the Brain; Oxford University Press: Oxford, UK, 2006; ISBN 9780195050387. [Google Scholar]
  9. Næss, S.; Chintaluri, C.; Ness, T.V.; Dale, A.M.; Einevoll, G.T.; Wójcik, D.K. Corrected Four-Sphere Head Model for EEG Signals. Front. Hum. Neurosci. 2017, 11, 490. [Google Scholar] [CrossRef] [PubMed]
  10. Amico, E.; Bodart, O.; Rosanova, M.; Gosseries, O.; Heine, L.; Van Mierlo, P.; Martial, C.; Massimini, M.; Marinazzo, D.; Laureys, S. Tracking Dynamic Interactions Between Structural and Functional Connectivity: A TMS/EEG-DMRI Study. Brain Connect. 2017, 7, 84–97. [Google Scholar] [CrossRef] [PubMed]
  11. Cai, C.; Sekihara, K.; Nagarajan, S.S. Hierarchical Multiscale Bayesian Algorithm for Robust MEG/EEG Source Reconstruction. Neuroimage 2018, 183, 698–715. [Google Scholar] [CrossRef] [PubMed]
  12. Yao, D. A Method to Standardize a Reference of Scalp EEG Recordings to a Point at Infinity. Physiol. Meas. 2001, 22, 693–711. [Google Scholar] [CrossRef] [PubMed]
  13. Wolters, C.H.; Anwander, A.; Berti, G.; Hartmann, U. Geometry-Adapted Hexahedral Meshes Improve Accuracy of Finite-Element-Method-Based EEG Source Analysis. IEEE Trans. Biomed. Eng. 2007, 54, 1446–1453. [Google Scholar] [CrossRef] [PubMed]
  14. Vallaghé, S.; Papadopoulo, T.; Clerc, M. The Adjoint Method for General EEG and MEG Sensor-Based Lead Field Equations. Phys. Med. Biol. 2009, 54, 135–147. [Google Scholar] [CrossRef] [PubMed]
  15. Lew, S.; Wolters, C.H.; Dierkes, T.; Röer, C.; MacLeod, R.S. Accuracy and Run-Time Comparison for Different Potential Approaches and Iterative Solvers in Finite Element Method Based EEG Source Analysis. Appl. Numer. Math. 2009, 59, 1970–1988. [Google Scholar] [CrossRef] [PubMed]
  16. Gramfort, A.; Papadopoulo, T.; Olivi, E.; Clerc, M. OpenMEEG: Opensource Software for Quasistatic Bioelectromagnetics. Biomed. Eng. Online 2010, 9, 45. [Google Scholar] [CrossRef] [PubMed]
  17. Geselowitz, D.B. On Bioelectric Potentials in an Inhomogeneous Volume Conductor. Biophys. J. 1967, 7, 1–11. [Google Scholar] [CrossRef] [PubMed]
  18. Meijs, J.W.H.; Weier, O.W.; Peters, M.J.; van Oosterom, A. On the Numerical Accuracy of the Boundary Element Method (EEG Application). IEEE Trans. Biomed. Eng. 1989, 36, 1038–1049. [Google Scholar] [CrossRef] [PubMed]
  19. Hämäläinen, M.S.; Sarvas, J. Realistic Conductivity Geometry Model of the Human Head for Interpretation of Neuromagnetic Data. IEEE Trans. Biomed. Eng. 1989, 36, 165–171. [Google Scholar] [CrossRef]
Figure 1. Relative error for each definition of the constant when using the default conductivity values (0.3333 S/m for the brain and the scalp and 0.3333/80 = 0.0042 S/m for the skull). The different values correspond to comparisons between Lutkenhöner [4] and Yao (2000) [6], Yao (2001) [12], Yao (2003) [7], and Næss (2017) [9], Bruna (2023): this research.
Figure 1. Relative error for each definition of the constant when using the default conductivity values (0.3333 S/m for the brain and the scalp and 0.3333/80 = 0.0042 S/m for the skull). The different values correspond to comparisons between Lutkenhöner [4] and Yao (2000) [6], Yao (2001) [12], Yao (2003) [7], and Næss (2017) [9], Bruna (2023): this research.
Sensors 23 08136 g001
Figure 2. Relative error for each definition of the constant when using random conductivity values. The different values correspond to comparisons between Lutkenhöner [4] and Yao (2000) [6], Yao (2001) [12], Yao (2003) [7], and Næss (2017) [9], Bruna (2023): this research.
Figure 2. Relative error for each definition of the constant when using random conductivity values. The different values correspond to comparisons between Lutkenhöner [4] and Yao (2000) [6], Yao (2001) [12], Yao (2003) [7], and Næss (2017) [9], Bruna (2023): this research.
Sensors 23 08136 g002
Table 1. Average time for the execution, over 1 million runs, of each definition for a three-sphere model with order of the spherical harmonics up to 100.
Table 1. Average time for the execution, over 1 million runs, of each definition for a three-sphere model with order of the spherical harmonics up to 100.
DefinitionTime (ms)
Proposed approach0.198
Lutkenhöner [4]0.064
Yao (2000) [6]0.152
Yao (2001) [12]0.177
Yao (2003) [7]0.104
Næss (2017) [9]0.268
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bruña, R.; Fuggetta, G.; Pereda, E. One Definition to Join Them All: The N-Spherical Solution for the EEG Lead Field. Sensors 2023, 23, 8136. https://doi.org/10.3390/s23198136

AMA Style

Bruña R, Fuggetta G, Pereda E. One Definition to Join Them All: The N-Spherical Solution for the EEG Lead Field. Sensors. 2023; 23(19):8136. https://doi.org/10.3390/s23198136

Chicago/Turabian Style

Bruña, Ricardo, Giorgio Fuggetta, and Ernesto Pereda. 2023. "One Definition to Join Them All: The N-Spherical Solution for the EEG Lead Field" Sensors 23, no. 19: 8136. https://doi.org/10.3390/s23198136

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop