<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Archiving and Interchange DTD v2.3 20070202//EN" "archivearticle.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="methods-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Hum. Neurosci.</journal-id>
<journal-title>Frontiers in Human Neuroscience</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Hum. Neurosci.</abbrev-journal-title>
<issn pub-type="epub">1662-5161</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fnhum.2017.00490</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Neuroscience</subject>
<subj-group>
<subject>Methods</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Corrected Four-Sphere Head Model for EEG Signals</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>N&#x000E6;ss</surname> <given-names>Solveig</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="author-notes" rid="fn003"><sup>&#x02020;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/445176/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Chintaluri</surname> <given-names>Chaitanya</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="author-notes" rid="fn003"><sup>&#x02020;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/149932/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Ness</surname> <given-names>Torbj&#x000F8;rn V.</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/87233/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Dale</surname> <given-names>Anders M.</given-names></name>
<xref ref-type="aff" rid="aff4"><sup>4</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/50227/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Einevoll</surname> <given-names>Gaute T.</given-names></name>
<xref ref-type="aff" rid="aff3"><sup>3</sup></xref>
<xref ref-type="aff" rid="aff5"><sup>5</sup></xref>
<xref ref-type="author-notes" rid="fn001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/940/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>W&#x000F3;jcik</surname> <given-names>Daniel K.</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<xref ref-type="author-notes" rid="fn002"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/31015/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Department of Informatics, University of Oslo</institution>, <addr-line>Oslo</addr-line>, <country>Norway</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Neurophysiology, Nencki Institute of Experimental Biology</institution>, <addr-line>Warsaw</addr-line>, <country>Poland</country></aff>
<aff id="aff3"><sup>3</sup><institution>Faculty of Science and Technology, Norwegian University of Life Sciences</institution>, <addr-line>&#x000C5;s</addr-line>, <country>Norway</country></aff>
<aff id="aff4"><sup>4</sup><institution>Departments of Neurosciences and Radiology, University of California</institution>, <addr-line>San Diego, La Jolla, CA</addr-line>, <country>United States</country></aff>
<aff id="aff5"><sup>5</sup><institution>Department of Physics, University of Oslo</institution>, <addr-line>Oslo</addr-line>, <country>Norway</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Francesco Di Russo, Foro Italico University of Rome, Italy</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Zhimin Li, University of Wisconsin-Madison, United States; Moritz Dannhauer, Scientific Computing and Imaging Institute, United States; Ettore Ambrosini, Universit&#x000E0; degli Studi di Padova, Italy</p></fn>
<fn fn-type="corresp" id="fn001"><p>&#x0002A;Correspondence: Gaute T. Einevoll <email>gaute.einevoll&#x00040;nmbu.no</email></p></fn>
<fn fn-type="corresp" id="fn002"><p>Daniel K. W&#x000F3;jcik <email>d.wojcik&#x00040;nencki.gov.pl</email></p></fn>
<fn fn-type="other" id="fn003"><p>&#x02020;These authors have contributed equally to this work.</p></fn></author-notes>
<pub-date pub-type="epub">
<day>18</day>
<month>10</month>
<year>2017</year>
</pub-date>
<pub-date pub-type="collection">
<year>2017</year>
</pub-date>
<volume>11</volume>
<elocation-id>490</elocation-id>
<history>
<date date-type="received">
<day>18</day>
<month>05</month>
<year>2017</year>
</date>
<date date-type="accepted">
<day>26</day>
<month>09</month>
<year>2017</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2017 N&#x000E6;ss, Chintaluri, Ness, Dale, Einevoll and W&#x000F3;jcik.</copyright-statement>
<copyright-year>2017</copyright-year>
<copyright-holder>N&#x000E6;ss, Chintaluri, Ness, Dale, Einevoll and W&#x000F3;jcik</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/"><p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p></license>
</permissions>
<abstract><p>The EEG signal is generated by electrical brain cell activity, often described in terms of current dipoles. By applying EEG forward models we can compute the contribution from such dipoles to the electrical potential recorded by EEG electrodes. Forward models are key both for generating understanding and intuition about the neural origin of EEG signals as well as inverse modeling, i.e., the estimation of the underlying dipole sources from recorded EEG signals. Different models of varying complexity and biological detail are used in the field. One such analytical model is the <italic>four-sphere model</italic> which assumes a four-layered spherical head where the layers represent brain tissue, cerebrospinal fluid (CSF), skull, and scalp, respectively. While conceptually clear, the mathematical expression for the electric potentials in the four-sphere model is cumbersome, and we observed that the formulas presented in the literature contain errors. Here, we derive and present the correct analytical formulas with a detailed derivation. A useful application of the analytical four-sphere model is that it can serve as ground truth to test the accuracy of numerical schemes such as the Finite Element Method (FEM). We performed FEM simulations of the four-sphere head model and showed that they were consistent with the corrected analytical formulas. For future reference we provide scripts for computing EEG potentials with the four-sphere model, both by means of the correct analytical formulas and numerical FEM simulations.</p></abstract>
<kwd-group>
<kwd>four-sphere model</kwd>
<kwd>head model</kwd>
<kwd>EEG</kwd>
<kwd>dipole source</kwd>
<kwd>LFP</kwd>
<kwd>FEM</kwd>
</kwd-group>
<contract-num rid="cn001">720270</contract-num>
<contract-num rid="cn002">264872</contract-num>
<contract-num rid="cn003">2015/17/B/ST7/04123</contract-num>
<contract-sponsor id="cn001">Horizon 2020 Framework Programme<named-content content-type="fundref-id">10.13039/100010661</named-content></contract-sponsor>
<contract-sponsor id="cn002">FP7 People: Marie-Curie Actions<named-content content-type="fundref-id">10.13039/100011264</named-content></contract-sponsor>
<contract-sponsor id="cn003">Narodowe Centrum Nauki<named-content content-type="fundref-id">10.13039/501100004281</named-content></contract-sponsor>
<counts>
<fig-count count="4"/>
<table-count count="1"/>
<equation-count count="19"/>
<ref-count count="20"/>
<page-count count="7"/>
<word-count count="4462"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>Electroencephalography (EEG), that is, the recording of electrical potentials at the scalp, has been of key importance for probing human brain activity for more than half a century (Nunez and Srinivasan, <xref ref-type="bibr" rid="B12">2006</xref>; Schomer and da Silva, <xref ref-type="bibr" rid="B17">2012</xref>). The EEG signal is generated by current dipoles set up by transmembrane currents in brain cells, and EEG <italic>forward models</italic> aim to compute the contribution from such current dipoles to the electrical potential recorded by EEG electrodes (H&#x000E4;m&#x000E4;l&#x000E4;inen et al., <xref ref-type="bibr" rid="B7">1993</xref>; Sanei and Chambers, <xref ref-type="bibr" rid="B15">2007</xref>). Forward models are useful for generating understanding and intuition about the neural origin of EEG signals. They are also key for inverse modeling, i.e., the estimation of the underlying sources based on recorded EEG signals, and for generation of benchmarking data against which candidate methods for EEG data analysis methods and simulation schemes for EEG can be tested.</p>
<p>While the link between the current sources and the resulting potentials in principle is well described by volume-conductor theory, the practical application of this theory is not easy because the cortical tissue, the cerebrospinal fluid (CSF), the skull, and the scalp, all have different electrical conductivities (Nunez and Srinivasan, <xref ref-type="bibr" rid="B12">2006</xref>).</p>
<p>Different forward modeling schemes approximate the geometries and conductivities of the head with various levels of biological detail. On one side we have the spherical head models that can provide analytical formulas for the EEG potentials generated by current dipoles. At the other side of the spectrum we have numerically comprehensive forward modeling schemes, including realistic geometries and electrical conductivities, even electrically anisotropic tissue (Bangera et al., <xref ref-type="bibr" rid="B2">2010</xref>; Vorwerk et al., <xref ref-type="bibr" rid="B19">2014</xref>). These different forward models come with their different advantages and disadvantages in terms of speed, accuracy and interpretability of results (De Munck et al., <xref ref-type="bibr" rid="B5">2012</xref>).</p>
<p>In this paper, we address the four-sphere head model where the head is modeled as four concentric spherical layers. Here, the four layers represent brain tissue, CSF, skull, and scalp. The Poisson equation, which describes the electric fields of the brain within volume-conductor theory, is solved for each layer separately, and the mathematical solutions are matched at the layer interfaces to obtain an analytical expression for the EEG signal as set up by a current source in the brain tissue. The relatively small number of parameters makes the four-sphere model an obvious candidate for exploring and gaining intuition about the nature of EEG signals. Since the solution is analytical and requires little computation time compared to complex numerical schemes, it can be used to quickly test analysis methods and hypotheses. The most popular version of the four-sphere model was presented in Srinivasan et al. (<xref ref-type="bibr" rid="B18">1998</xref>); and later in the classic EEG reference book Electric Fields of the Brain (Nunez and Srinivasan, <xref ref-type="bibr" rid="B12">2006</xref>). This model has been used to generate benchmarking data for testing of EEG signal analysis methods, (e.g., Wong et al., <xref ref-type="bibr" rid="B20">2008</xref>; Chu et al., <xref ref-type="bibr" rid="B4">2012</xref>; Peraza et al., <xref ref-type="bibr" rid="B13">2012</xref>), and it is also useful for validation of more general and numerically comprehensive numerical schemes such as the Boundary Element Method (BEM) (Brebbia et al., <xref ref-type="bibr" rid="B3">2012</xref>) and the Finite Element Method (FEM) (Larson and Bengzon, <xref ref-type="bibr" rid="B10">2013</xref>). The FEM approach is the most general and can, in principle, take into account an arbitrarily complicated spatial distribution of electrical conductivity representing the electrical properties of the head (Bangera et al., <xref ref-type="bibr" rid="B2">2010</xref>; Huang et al., <xref ref-type="bibr" rid="B8">2016</xref>). This is done by building a numerical mesh for the head model with the electrical conductivity specified at each mesh point. The mesh construction is a research problem by itself and several mesh-generation tools are available, which often provide slightly different results (Geuzaine, <xref ref-type="bibr" rid="B6">2009</xref>; Kehlet, <xref ref-type="bibr" rid="B9">2016</xref>). The analytical solution for the four-sphere model can serve as a ground truth for testing of different numerical schemes.</p>
<p>While conceptually clear, the mathematical expression of the four-sphere forward model is quite involved and rederiving the expression we discovered errors in the formulas both in the original paper and in the book. Due to the importance of the four-sphere model, we here derive and provide the correct analytical formulas for future reference. We tested our formulas by verifying that the solutions for neighboring layers matched on the layer boundaries. Moreover, when the conductivities for all the layers in the model were set to the same value, the model reduced to the well-known homogeneous single-sphere model as it should. We also verified that the model solution reduces to the formula for the extracellular potential from a current dipole in an infinite homogeneous space, when the layer radii go to infinity and the conductivities for all model layers are equal (not shown). As an application, we performed FEM simulations of the four-sphere model which were consistent with the corrected analytical formulas.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>2. Methods</title>
<sec>
<title>2.1. Four-sphere model</title>
<p>By assuming the quasi-static approximation of Maxwell&#x00027;s equations and using the well-established volume-conductor theory, the electric potential &#x003A6; can be found by solving the Poisson equation (Nunez and Srinivasan, <xref ref-type="bibr" rid="B12">2006</xref>),</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M1"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mo>&#x02207;</mml:mo><mml:mo>&#x000B7;</mml:mo><mml:mi>&#x003C3;</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>r</mml:mtext></mml:mstyle></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02207;</mml:mo><mml:mo>&#x003A6;</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>r</mml:mtext></mml:mstyle><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mi>C</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>r</mml:mtext></mml:mstyle><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>C</italic>(<bold>r</bold>, <italic>t</italic>) is the density of current sources. &#x003C3;(<bold>r</bold>) is the position-dependent conductivity of the medium, here assumed to be isotropic so that &#x003C3;(<bold>r</bold>) is a scalar. The four-sphere model is a specific solution of this equation which assumes that the conductive medium consists of four spherical layers representing specific constituents of the head: brain tissue, CSF, skull, and scalp (Figure <xref ref-type="fig" rid="F1">1A</xref>). In the computations below, these layers are labeled by <italic>s</italic> &#x0003D; 1 to 4, respectively. The conductivity &#x003C3;<sub><italic>s</italic></sub>(<bold>r</bold>) is assumed to be homogeneous, i.e., constant within each layer and independent of frequency (Pettersen et al., <xref ref-type="bibr" rid="B14">2012</xref>). In the examples below we assume the same values of conductivities and concentric shell radii as in Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>), see Table <xref ref-type="table" rid="T1">1</xref>. The solution of Equation (1) is subject to the following boundary conditions (where <italic>s</italic> &#x0003D; 1, 2, 3), assuring continuity of both electrical potential and current across the layer boundaries, and no current escaping the outer layer (Nunez and Srinivasan, <xref ref-type="bibr" rid="B12">2006</xref>):</p>
<disp-formula id="E2"><label>(2)</label><mml:math id="M2"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mo>&#x003A6;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mo>&#x003A6;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E3"><label>(3)</label><mml:math id="M3"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:msup><mml:mrow><mml:mo>&#x003A6;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mi>r</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:msup><mml:mrow><mml:mo>&#x003A6;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mi>r</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E4"><label>(4)</label><mml:math id="M4"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:msup><mml:mrow><mml:mo>&#x003A6;</mml:mo></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:mi>&#x02202;</mml:mi><mml:mi>r</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>Illustration of the four-sphere head model. <bold>(A)</bold> Cross-section of the four-sphere head model, with the different colors corresponding to the different head layers: brain, CSF, skull, and scalp. The current dipole <italic>p</italic> is located in the brain layer, at a distance <italic>r</italic><sub><italic>z</italic></sub> from the center of the sphere. In all the subsequent figures, the dipole is placed in the <italic>x</italic> &#x0003D; 0 plane, at the z-axis (<italic>r</italic><sub><italic>z</italic></sub> &#x0003D; 7.8 cm). <bold>(B)</bold> Mesh of the four-sphere model used in the FEM simulations illustrating the different electrical conductivity values for each of the spheres.</p></caption>
<graphic xlink:href="fnhum-11-00490-g0001.tif"/>
</fig>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Radii and electrical conductivities of the present four-sphere model.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Labels</bold></th>
<th valign="top" align="center"><bold>Name</bold></th>
<th valign="top" align="center"><bold>Radius (cm)</bold></th>
<th valign="top" align="center"><bold>&#x003C3; (S/m)</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">1</td>
<td valign="top" align="center">Brain</td>
<td valign="top" align="center">7.9</td>
<td valign="top" align="center">&#x003C3;<sub>brain</sub> &#x0003D; 0.33</td>
</tr>
<tr>
<td valign="top" align="left">2</td>
<td valign="top" align="center">CSF</td>
<td valign="top" align="center">8.0</td>
<td valign="top" align="center">5&#x003C3;<sub>brain</sub></td>
</tr>
<tr>
<td valign="top" align="left">3</td>
<td valign="top" align="center">Skull</td>
<td valign="top" align="center">8.5</td>
<td valign="top" align="center">&#x003C3;<sub>brain</sub>/<sup><italic>K</italic></sup></td>
</tr>
<tr>
<td valign="top" align="left">4</td>
<td valign="top" align="center">Scalp</td>
<td valign="top" align="center">9.0</td>
<td valign="top" align="center">&#x003C3;<sub>brain</sub></td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>&#x003C3; is the conductivity in each of the specified regions. Three variants of the model were considered with skull conductivity reduced by a factor K (20, 40, or 80) compared to the conductivity of the brain</italic>.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec>
<title>2.2. Analytical solution of the four-sphere head model</title>
<p>The solution of Equation (1) takes different forms for tangential and radial dipoles, and any dipole can be decomposed into a linear combination of these two. The following derivations are based on Appendix G and H in Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>), and are described in more detail in Appendix <xref ref-type="supplementary-material" rid="SM1">1</xref> in Supplementary Materials.</p>
<sec>
<title>2.2.1. Radial dipole</title>
<p>Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>) give the following equations for calculating extracellular potentials from a radial dipole in the four sphere model. The potential in the inner sphere, the brain, is given by &#x003A6;<sup>1</sup>(<italic>r</italic>, &#x003B8;), while &#x003A6;<sup><italic>s</italic></sup>(<italic>r</italic>, &#x003B8;) gives the potential in CSF, skull, and scalp, for <italic>s</italic> &#x0003D; 2, 3, 4, respectively,</p>
<disp-formula id="E5"><label>(5)</label><mml:math id="M5"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mo>&#x003A6;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mi>n</mml:mi><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo class="qopname">cos</mml:mo><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0003C;</mml:mo><mml:mi>r</mml:mi><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E7"><label>(6)</label><mml:math id="M7"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mo>&#x003A6;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mi>n</mml:mi><mml:msub><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo class="qopname">cos</mml:mo><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x02264;</mml:mo><mml:mi>r</mml:mi><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Here, &#x003A6;<sup><italic>s</italic></sup> is the extracellular potential measured at radius <italic>r</italic> in shell number <italic>s</italic>, of external radius <italic>r</italic><sub><italic>s</italic></sub>, from current dipole moment with magnitude <italic>p</italic> at radial location <italic>r</italic><sub><italic>z</italic></sub>. The conductivity of sphere <italic>s</italic> is denoted by &#x003C3;<sub><italic>s</italic></sub>, <inline-formula><mml:math id="M90"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M100"><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> are coefficients depending on the shell radii and conductivities, and <italic>P</italic><sub><italic>n</italic></sub>(cos&#x003B8;) is the <italic>n</italic>-th Legendre Polynomial where &#x003B8; is the angle between measurement and dipole location vectors. From the boundary conditions listed in Equations (2)&#x02013;(4), we can compute <inline-formula><mml:math id="M110"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, for <italic>s</italic> &#x0003D; 1, 2, 3, 4 and <inline-formula><mml:math id="M120"><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, for <italic>s</italic> &#x0003D; 2, 3, 4, using the notation &#x003C3;<sub><italic>ij</italic></sub> &#x02261; &#x003C3;<sub><italic>i</italic></sub>/&#x003C3;<sub><italic>j</italic></sub> and <italic>r</italic><sub><italic>ij</italic></sub> &#x02261; <italic>r</italic><sub><italic>i</italic></sub>/<italic>r</italic><sub><italic>j</italic></sub>:</p>
<disp-formula id="E9"><label>(7)</label><mml:math id="M13"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mfrac><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:mfrac><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E10"><label>(8)</label><mml:math id="M14"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>21</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E11"><label>(9)</label><mml:math id="M15"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E12"><label>(10)</label><mml:math id="M16"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>23</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>32</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E13"><label>(11)</label><mml:math id="M17"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E14"><label>(12)</label><mml:math id="M18"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:mfrac><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:mfrac><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>34</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>43</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E15"><label>(13)</label><mml:math id="M19"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E16"><label>(14)</label><mml:math id="M20"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mfrac><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mn>34</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>34</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>43</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:mfrac><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>34</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>43</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mn>34</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>34</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>43</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:mfrac><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>34</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>43</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E17"><label>(15)</label><mml:math id="M21"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mfrac><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mn>23</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mfrac><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>23</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>32</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>23</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>32</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mn>23</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mfrac><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>23</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>32</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>23</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>32</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E18"><label>(16)</label><mml:math id="M22"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>Z</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:mfrac><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>21</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow><mml:mrow><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>12</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>Y</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>21</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Equations (5) and (6) are in accordance with Equations (G.1.9&#x02013;10) in Appendix G of Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>) and Equation (A&#x02013;1) in Srinivasan et al. (<xref ref-type="bibr" rid="B18">1998</xref>), Appendix A. However, some of the above coefficients [Equations (7)&#x02013;(16)] are different from the ones given in Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>) and Srinivasan et al. (<xref ref-type="bibr" rid="B18">1998</xref>), see Appendix <xref ref-type="supplementary-material" rid="SM1">1</xref> in Supplementary Materials for specifics.</p>
</sec>
<sec>
<title>2.2.2. Tangential dipole</title>
<p>The extracellular potential from a tangential dipole in a concentric-shells model is given by Equation (H.2.1) in Appendix H of Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>), and takes the following form:</p>
<disp-formula id="E19"><label>(17)</label><mml:math id="M23"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mo>&#x003A6;</mml:mo></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x003B8;</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x003C6;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo>-</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac><mml:mo class="qopname">sin</mml:mo><mml:mi>&#x003C6;</mml:mi><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo class="qopname">cos</mml:mo><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0003C;</mml:mo><mml:mi>r</mml:mi><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E21"><label>(18)</label><mml:math id="M25"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mo>&#x003A6;</mml:mo></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x003B8;</mml:mi><mml:mo>,</mml:mo><mml:mi>&#x003C6;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mo>-</mml:mo><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:mrow></mml:mfrac><mml:mo class="qopname">sin</mml:mo><mml:mi>&#x003C6;</mml:mi><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x0221E;</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:msup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>r</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>n</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mo class="qopname">cos</mml:mo><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x02264;</mml:mo><mml:mi>r</mml:mi><mml:mo>&#x02264;</mml:mo><mml:msub><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003C6; is the azimuth angle and <inline-formula><mml:math id="M27"><mml:msubsup><mml:mrow><mml:mi>P</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> is the associated Legendre polynomial. When solving for the boundary conditions, Equations (2)&#x02013;(4), we find that the coefficients <inline-formula><mml:math id="M280"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math id="M290"><mml:msubsup><mml:mrow><mml:mi>B</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> are the same as for the radial dipole solution, see section 2.2.1.</p>
<p>In the results section we compare our analytical solution and the FEM simulations with the two published formulas for the potential in the four-sphere model given in Appendices G and H in Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>), and in Appendix A in Srinivasan et al. (<xref ref-type="bibr" rid="B18">1998</xref>). For comparison we also present the approximate solution provided in Appendix G.4 in Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>). Note that two corrections were done to the model presented in Srinivasan et al. (<xref ref-type="bibr" rid="B18">1998</xref>) before comparison. First of all, the multiplication factor <italic>p</italic>/&#x003C3;<sub>1</sub> was inserted in Equation (A-1), necessary to give potentials in units of volts. Secondly, a superscript in Equation (A-8) was changed, such that the right-hand-side included <inline-formula><mml:math id="M300"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula> instead of <inline-formula><mml:math id="M310"><mml:msubsup><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msubsup></mml:math></inline-formula>, since this was obviously a typographical error. For more details on the different descriptions of the analytical four-sphere model, see Appendix <xref ref-type="supplementary-material" rid="SM1">1</xref> in Supplementary Materials.</p>
</sec>
</sec>
<sec>
<title>2.3. Finite element method</title>
<p>To find the numerical solution of the four-sphere model we solved the Poisson equation (Equation (1)) using the FEM. The first step was to construct a 3D numerical mesh representing the four-sphere head model geometry. We used the open-source program <monospace>gmsh</monospace> (Geuzaine, <xref ref-type="bibr" rid="B6">2009</xref>), optimized using the <monospace>netgen</monospace> algorithm (Sch&#x000F6;berl, <xref ref-type="bibr" rid="B16">1997</xref>). Figure <xref ref-type="fig" rid="F1">1B</xref> shows the resulting mesh corresponding to the set of radii listed in Table <xref ref-type="table" rid="T1">1</xref>. Note that our 3D FEM model-geometry implementation consists of five spheres: scalp, skull, CSF, and two spheres together representing the brain tissue. However, the two innermost spheres (the innermost having a radius of 6 cm) are set to have the same conductivity, i.e., the value for brain tissue listed in Table <xref ref-type="table" rid="T1">1</xref>. Thus, the model is effectively still a four-sphere model. We observed, however, that partitioning the four spheres into five and partitioning the inner sphere to a coarser mesh size reduced the overall mesh size and computational time while retaining the accuracy. The resulting mesh comprised of nearly 12.2 million tetrahedrons (2.1 million odd nodes) and we observed that at this resolution, the numerical results had converged.</p>
<p>The dipole source was treated as two point current sources (Dirac &#x003B4; functions) and the conductivity was set at each mesh point according to Table <xref ref-type="table" rid="T1">1</xref>. The electrodes were modeled as ideal point electrodes. Finally, the Poisson Equation (1) and the Neumann boundary condition, Equation (4), were solved numerically with FEM. All FEM simulations were done with the open-source program <monospace>FEniCS</monospace> (Logg et al., <xref ref-type="bibr" rid="B11">2012</xref>; Aln&#x000E6;s et al., <xref ref-type="bibr" rid="B1">2015</xref>), with Lagrange P2 finite elements. The linear systems were solved by the <italic>PETSc Krylov Solver</italic> employed with the <italic>Conjugate Gradient</italic> method, and the <italic>Incomplete LU</italic> factorization preconditioner. In all the cases we tested, the solutions converged in less than 350 iterations when the residual norms were of the order 1e-07.</p>
</sec>
<sec>
<title>2.4. Software</title>
<p>We provide the <monospace>Python</monospace> code to obtain the potentials from a current dipole placed in a four-sphere head model using (i) the analytical formulation and (ii) the numerical method (FEM). This is available under the GNU General Public License version 3 here: <ext-link ext-link-type="uri" xlink:href="https://github.com/Neuroinflab/fourspheremodel">https://github.com/Neuroinflab/fourspheremodel</ext-link>. Additionally, the scripts to generate the figures presented in this manuscript are also included. We tested this code in Anaconda Scientific package on a Linux 64 machine. For easy uptake of this resource and verification, we provide the associated <monospace>conda</monospace> environment, with all the specific libraries necessary to run this software, and a help file.</p>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>3. Results</title>
<sec>
<title>3.1. Comparison between analytical and FEM results</title>
<p>EEG potentials were computed on the scalp surface with the analytical four-sphere model &#x003A6;(<italic>r</italic><sub>4</sub>, &#x003B8;, &#x003D5;) and compared with the results from the FEM simulations for a current dipole <italic>p</italic>. To mimic a current dipole set up by cortical neurons, a dipole was placed in the brain layer (<italic>s</italic> &#x0003D; 1) of the four-sphere head model, 1 mm below the brain-CSF boundary. We modeled the current dipole to have dipole moment equal to 10<sup>&#x02212;7</sup> Am (two point sources of magnitude 100 &#x003BC;A separated by <italic>d</italic> &#x0003D; 1 mm). Three different dipole orientations were tested: a radial dipole parallel to the z-axis, a tangential dipole parallel to the y-axis and a dipole subtending 45 degrees to the <italic>z</italic>-axis in the <italic>x</italic> &#x0003D; 0 plane, cf. Figures <xref ref-type="fig" rid="F2">2A,E,I</xref>. We found that the analytical and FEM models gave similar results for both radial and tangential dipoles: the absolute value of the difference was more than two orders of magnitude smaller than the computed EEG potential for all dipole orientations (Figure <xref ref-type="fig" rid="F2">2</xref>). While we show results only for one current dipole in three orthogonal orientations for a single position, the scripts provided are generic and accept arbitrary placement, orientation, and moment of the dipole.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>EEG potentials computed with four-sphere model and FEM simulation for radial, tangential, and 45-degree dipole. <bold>(A)</bold> A radial current dipole placed in the brain in the head model as described in Table <xref ref-type="table" rid="T1">1</xref>. The dipole (black arrow) is located at <bold>r</bold><sub><italic>z</italic></sub> &#x0003D; [0, 0, 7.8 cm] (red dot) and has a magnitude 10<sup>&#x02212;7</sup> Am to give scalp potentials some tens of microvolts in magnitude, typical for recorded EEG signals. <bold>(B)</bold> Resulting scalp potential calculated with the analytical four-sphere model. <bold>(C)</bold> Scalp potential computed with FEM. <bold>(D)</bold> Absolute difference between results from analytical calculation and FEM, normalized by the global maximum of the magnitude of the potential. The second row, panels <bold>(E&#x02013;H)</bold> are equivalent to the top row, however for a tangential dipole parallel to the <italic>y</italic>-axis, in the <italic>x</italic> &#x0003D; 0 plane. The bottom row, panels <bold>(I&#x02013;L)</bold> are equivalent to the top row, however for a dipole that subtends 45 degrees to the <italic>z</italic>-axis in the <italic>x</italic> &#x0003D; 0 plane.</p></caption>
<graphic xlink:href="fnhum-11-00490-g0002.tif"/>
</fig>
<p>A more detailed comparison of EEG potentials predicted by the analytical model and the FEM model is shown in Figure <xref ref-type="fig" rid="F3">3</xref>. Here the computed EEG signal from a radial current dipole is shown for increasing polar angle &#x003B8; between the current dipole position vector <bold>r</bold><sub><italic>z</italic></sub> and the measurement position vector <bold>r</bold>. The sphere radii and conductivity values are consistent with Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>) (Table <xref ref-type="table" rid="T1">1</xref>). The curve for the analytical results (blue line) overlaps the FEM results (red dots). This figure also demonstrates that previously published formulas give incorrect predictions.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Analytical solution of four-sphere model matches FEM simulation. Scalp potentials from radial current dipole at position <italic>r</italic><sub><italic>z</italic></sub> &#x0003D; 7.8 cm and magnitude 10<sup>&#x02212;7</sup> Am to give results in observable range, while still facilitating direct comparison with the original plots in Srinivasan et al. (<xref ref-type="bibr" rid="B18">1998</xref>); Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>). The resulting scalp potentials are shown for increasing polar angle &#x003B8; between the current dipole and the measurement position vector. The different lines show calculations with the various formulations of the four-sphere model discussed in this paper, as well as the FEM simulation. The green line shows potentials obtained from Srinivasan et al. (<xref ref-type="bibr" rid="B18">1998</xref>), Appendix A, Equations (A1&#x02013;11). The black line shows results from applying the formulation given in Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>), Appendix G, Equations (G.1.9&#x02013;10) and (G.2.1&#x02013;10). The approximate solution from Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>), Appendix G.4, Equation (G.4.1&#x02013;3) is given by the pink crosses. The analytical formulation of the four-sphere model presented here is shown in blue, and the FEM simulation is given by the red dots. Panels <bold>A&#x02013;C</bold> show results for different values of the skull conductivity, i.e., &#x003C3;<sub>skull</sub>=&#x003C3;<sub>brain</sub>/20, &#x003C3;<sub>brain</sub>/40 and &#x003C3;<sub>brain</sub>/80, respectively.</p></caption>
<graphic xlink:href="fnhum-11-00490-g0003.tif"/>
</fig>
</sec>
<sec>
<title>3.2. Limiting case</title>
<p>As an additional control we tested the limiting case where the conductivity was set to be the same for all four shells, i.e., &#x003C3;<sub>brain</sub> &#x0003D; &#x003C3;<sub>CSF</sub> &#x0003D; &#x003C3;<sub>skull</sub> &#x0003D; &#x003C3;<sub>scalp</sub>, and equal to that of the brain (Table <xref ref-type="table" rid="T1">1</xref>). In this case, the resulting scalp potentials should be the same as those calculated from a homogeneous single-sphere head model with radius equal to the scalp radius <italic>r</italic><sub>4</sub>. For a dipole oriented along the radial direction inside a single homogeneous sphere, the surface potentials are given by Equation (6.7) in Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>):
<disp-formula id="E22"><label>(19)</label><mml:math id="M250"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mo>&#x003A6;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>r</mml:mi><mml:mn>4</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi>&#x003B8;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mi>p</mml:mi><mml:mrow><mml:mn>4</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:msub><mml:mi>&#x003C3;</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:msubsup><mml:mi>r</mml:mi><mml:mn>4</mml:mn><mml:mn>2</mml:mn></mml:msubsup></mml:mrow></mml:mfrac><mml:mrow><mml:mo>{</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy='false'>(</mml:mo><mml:mi>cos</mml:mi><mml:mi>&#x003B8;</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:msup><mml:mi>f</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>&#x02212;</mml:mo><mml:mn>2</mml:mn><mml:mi>f</mml:mi><mml:mi>cos</mml:mi><mml:mi>&#x003B8;</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:mfrac><mml:mn>3</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>+</mml:mo><mml:mrow><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mi>f</mml:mi></mml:mfrac><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mn>1</mml:mn><mml:mo>+</mml:mo><mml:msup><mml:mi>f</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>&#x02212;</mml:mo><mml:mn>2</mml:mn><mml:mi>f</mml:mi><mml:mi>cos</mml:mi><mml:mi>&#x003B8;</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:mfrac><mml:mn>1</mml:mn><mml:mn>2</mml:mn></mml:mfrac></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo>]</mml:mo></mml:mrow></mml:mrow><mml:mo>}</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
where <italic>f</italic> &#x0003D; <italic>r</italic><sub><italic>z</italic></sub>/<italic>r</italic><sub>4</sub>. Comparison between the simplified four-sphere models and the homogeneous single-sphere model showed perfect agreement for the present formulation, while the formulas listed in Srinivasan et al. (<xref ref-type="bibr" rid="B18">1998</xref>) and Nunez and Srinivasan (<xref ref-type="bibr" rid="B12">2006</xref>) gave inaccurate predictions (Figure <xref ref-type="fig" rid="F4">4</xref>).</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Analytical solution of the four-sphere model satisfies control test for limiting case. Four-sphere model in the limiting case where the conductivity of the skull, CSF, and scalp are equal to the conductivity of the brain, compared to the equivalent model for a single homogeneous sphere, Equation (19). We used a radial dipole of magnitude 10<sup>&#x02212;7</sup> Am positioned a distance <italic>r</italic><sub><italic>z</italic></sub> &#x0003D; 7.8 cm away from the center of the sphere, consistent with Figures <xref ref-type="fig" rid="F2">2</xref>, <xref ref-type="fig" rid="F3">3</xref>.</p></caption>
<graphic xlink:href="fnhum-11-00490-g0004.tif"/>
</fig>
</sec>
</sec>
<sec id="s4">
<title>4. Discussion and conclusions</title>
<p>In this note we have revisited the analytical four-sphere model for computing EEG potentials generated by current dipoles in the brain. The main contributions of this paper are the presentation of corrected and validated formulas, as well as the scripts for using them, allowing users to readily apply this important forward model in the field of EEG analysis.</p>
<p>In addition to facilitating the use of the four-sphere model in EEG signal analysis (see, e.g., Wong et al., <xref ref-type="bibr" rid="B20">2008</xref>; Chu et al., <xref ref-type="bibr" rid="B4">2012</xref>; Peraza et al., <xref ref-type="bibr" rid="B13">2012</xref>), the present formulas and scripts will also be a resource for benchmarking comprehensive numerical schemes for computing EEG signals based on detailed head reconstructions using, for example, the FEM (Larson and Bengzon, <xref ref-type="bibr" rid="B10">2013</xref>), or the Boundary Element Method (Brebbia et al., <xref ref-type="bibr" rid="B3">2012</xref>). The FEM approach is not restricted to specific head symmetry assumptions and can take into account an arbitrarily complex spatial distribution of electrical conductivity representing the electrical properties of the head. This is done by constructing a complicated numerical mesh for the head, a task that is often technically challenging. While it is difficult to assure high precision of the given implementation for more complicated and biologically realistic head geometries, the present validated analytical solution for the four-sphere model can serve as one possible ground-truth benchmark. Any FEM or BEM implementation to be trusted, for any analytical model, such as the four-sphere model, should give results in agreement with analytical predictions for different parameter values; here, for example, for various sphere configurations as well as dipole positions and directions. We also provide a set of FEM scripts which model the four-sphere model consistent with the analytical solution.</p>
<p>Forward models with varying complexity are also used to test the accuracy of inverse methods which estimate the dipole source locations from the potentials and electrode positions. All inverse methods are based on a priori assumptions about the volume and conductivity of the brain. Their implementation requires a forward model encoded either as a lead field matrix or otherwise. The analytical solution of the four-sphere head model provides a way to quickly, yet exhaustively, obtain potentials for a wide range of dipole positions. This makes it an attractive option for testing the accuracy of inverse methods.</p>
</sec>
<sec id="s5">
<title>Author contributions</title>
<p>SN and TN derived the analytical expressions. CC developed the computational model and did the simulations. AD and GE designed the analytical study. DW designed the computational study. All authors wrote the manuscript.</p>
<sec>
<title>Conflict of interest statement</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
</sec>
</body>
<back>
<ack><p>We thank Paul L. Nunez and Ramesh Srinivasan for useful personal contact. The study received funding from the Simula-UCSD-University of Oslo Research and PhD training (SUURPh) program, funded by the Norwegian Ministry of Education and Research, the European Union Horizon 2020 Research and Innovation Programme under Grant Agreement No. 720270 [Human Brain Project (HBP) SGA1], from the EC-FP7-PEOPLE sponsored NAMASEN Marie-Curie ITN grant 264872 and the Polish National Science Centre&#x00027;s OPUS grant (2015/17/B/ST7/04123).</p>
</ack>
<sec sec-type="supplementary-material" id="s6">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fnhum.2017.00490/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fnhum.2017.00490/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="DataSheet1.pdf" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="Image1.jpeg" id="SM2" mimetype="image/jpeg" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Aln&#x000E6;s</surname> <given-names>M. S.</given-names></name> <name><surname>Blechta</surname> <given-names>J.</given-names></name> <name><surname>Hake</surname> <given-names>J.</given-names></name> <name><surname>Johansson</surname> <given-names>A.</given-names></name> <name><surname>Kehlet</surname> <given-names>B.</given-names></name> <name><surname>Logg</surname> <given-names>A.</given-names></name> <etal/></person-group>. (<year>2015</year>). <article-title>The FEniCS Project Version 1.5</article-title>. <source>Arch. Numer. Softw.</source> <volume>3</volume>:<fpage>100</fpage>. <pub-id pub-id-type="doi">10.11588/ans.2015.100.20553</pub-id></citation></ref>
<ref id="B2">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bangera</surname> <given-names>N. B.</given-names></name> <name><surname>Schomer</surname> <given-names>D. L.</given-names></name> <name><surname>Dehghani</surname> <given-names>N.</given-names></name> <name><surname>Ulbert</surname> <given-names>I.</given-names></name> <name><surname>Cash</surname> <given-names>S.</given-names></name> <name><surname>Papavasiliou</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2010</year>). <article-title>Experimental validation of the influence of white matter anisotropy on the intracranial eeg forward solution</article-title>. <source>J. Comput. Neurosci.</source> <volume>29</volume>, <fpage>371</fpage>&#x02013;<lpage>387</lpage>. <pub-id pub-id-type="doi">10.1007/s10827-009-0205-z</pub-id><pub-id pub-id-type="pmid">20063051</pub-id></citation></ref>
<ref id="B3">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Brebbia</surname> <given-names>C. A.</given-names></name> <name><surname>Telles</surname> <given-names>J. C. F.</given-names></name> <name><surname>Wrobel</surname> <given-names>L. C.</given-names></name></person-group> (<year>2012</year>). <source>Boundary Element Techniques: Theory and Applications in Engineering</source>. <publisher-loc>Berlin</publisher-loc>: <publisher-name>Springer Science &#x00026; Business Media</publisher-name>.</citation></ref>
<ref id="B4">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chu</surname> <given-names>C. J.</given-names></name> <name><surname>Kramer</surname> <given-names>M. A.</given-names></name> <name><surname>Pathmanathan</surname> <given-names>J.</given-names></name> <name><surname>Bianchi</surname> <given-names>M. T.</given-names></name> <name><surname>Westover</surname> <given-names>M. B.</given-names></name> <name><surname>Wizon</surname> <given-names>L.</given-names></name> <etal/></person-group>. (<year>2012</year>). <article-title>Emergence of stable functional networks in long-term human electroencephalography</article-title>. <source>J. Neurosci.</source> <volume>32</volume>, <fpage>2703</fpage>&#x02013;<lpage>2713</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.5669-11.2012</pub-id><pub-id pub-id-type="pmid">22357854</pub-id></citation></ref>
<ref id="B5">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>De Munck</surname> <given-names>J. C.</given-names></name> <name><surname>Wolters</surname> <given-names>C. H.</given-names></name> <name><surname>Clerc</surname> <given-names>M.</given-names></name></person-group> (<year>2012</year>). <article-title>EEG and MEG forward modeling</article-title>. <source>Handb. Neural Activity Measure</source>. <volume>1</volume>, <fpage>192</fpage>&#x02013;<lpage>256</lpage>. <pub-id pub-id-type="doi">10.1017/CBO9780511979958.006</pub-id></citation></ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Geuzaine</surname> <given-names>C.</given-names></name></person-group> (<year>2009</year>). <article-title>Gmsh: a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities</article-title>. <source>Int. J. Numer. Methods Eng.</source> <volume>79</volume>, <fpage>1309</fpage>&#x02013;<lpage>1331</lpage>. <pub-id pub-id-type="doi">10.1002/nme.2579</pub-id></citation></ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>H&#x000E4;m&#x000E4;l&#x000E4;inen</surname> <given-names>M.</given-names></name> <name><surname>Haari</surname> <given-names>R.</given-names></name> <name><surname>Ilmoniemi</surname> <given-names>R. J.</given-names></name> <name><surname>Knuutila</surname> <given-names>J.</given-names></name> <name><surname>Lounasmaa</surname> <given-names>O. V.</given-names></name></person-group> (<year>1993</year>). <article-title>Magnetoencephalography theory, instrumentation, and application to noninvasive studies of the working human brain</article-title>. <source>Rev. Modern Phys.</source> <volume>65</volume>, <fpage>413</fpage>&#x02013;<lpage>497</lpage>. <pub-id pub-id-type="doi">10.1103/RevModPhys.65.413</pub-id></citation></ref>
<ref id="B8">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Huang</surname> <given-names>Y.</given-names></name> <name><surname>Parra</surname> <given-names>L. C.</given-names></name> <name><surname>Haufe</surname> <given-names>S.</given-names></name></person-group> (<year>2016</year>). <article-title>The New York Heada precise standardized volume conductor model for EEG source localization and tES targeting</article-title>. <source>NeuroImage</source> <volume>140</volume>, <fpage>150</fpage>&#x02013;<lpage>162</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2015.12.019</pub-id><pub-id pub-id-type="pmid">26706450</pub-id></citation></ref>
<ref id="B9">
<citation citation-type="web"><person-group person-group-type="author"><name><surname>Kehlet</surname> <given-names>B.</given-names></name></person-group> (<year>2016</year>). <source>mshr</source>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://bitbucket.org/fenics-project/mshr">https://bitbucket.org/fenics-project/mshr</ext-link>.</citation></ref>
<ref id="B10">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Larson</surname> <given-names>M. G.</given-names></name> <name><surname>Bengzon</surname> <given-names>F.</given-names></name></person-group> (<year>2013</year>). <source>The Finite Element Method: Theory, Implementation, and Applications</source>. Berlin; <publisher-loc>Heidelberg</publisher-loc>: <publisher-name>Springer-Verlag</publisher-name>.</citation></ref>
<ref id="B11">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Logg</surname> <given-names>A.</given-names></name> <name><surname>Mardal</surname> <given-names>K.-A.</given-names></name> <name><surname>Wells</surname> <given-names>G. N.</given-names></name></person-group> (Eds.). (<year>2012</year>). <source>Automated Solution of Differential Equations by the Finite Element Method, Volume 84 of Lecture Notes in Computational Science and Engineering</source>. <publisher-loc>Berlin; Heidelberg</publisher-loc>: <publisher-name>Springer</publisher-name>.</citation></ref>
<ref id="B12">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Nunez</surname> <given-names>P. L.</given-names></name> <name><surname>Srinivasan</surname> <given-names>R.</given-names></name></person-group> (<year>2006</year>). <source>Electric Fields of the Brain</source>. <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Oxford University Press</publisher-name>.</citation></ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Peraza</surname> <given-names>L. R.</given-names></name> <name><surname>Asghar</surname> <given-names>A. U.</given-names></name> <name><surname>Green</surname> <given-names>G.</given-names></name> <name><surname>Halliday</surname> <given-names>D. M.</given-names></name></person-group> (<year>2012</year>). <article-title>Volume conduction effects in brain network inference from electroencephalographic recordings using phase lag index</article-title>. <source>J. Neurosci. Methods</source> <volume>207</volume>, <fpage>189</fpage>&#x02013;<lpage>199</lpage>. <pub-id pub-id-type="doi">10.1016/j.jneumeth.2012.04.007</pub-id><pub-id pub-id-type="pmid">22546477</pub-id></citation></ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pettersen</surname> <given-names>K. H.</given-names></name> <name><surname>Lind&#x000E9;n</surname> <given-names>H.</given-names></name> <name><surname>Dale</surname> <given-names>A. M.</given-names></name> <name><surname>Einevoll</surname> <given-names>G. T.</given-names></name></person-group> (<year>2012</year>). <article-title>Extracellular spikes and CSD</article-title>. <source>Handb. Neural Activity Measure</source>. <volume>1</volume>, <fpage>92</fpage>&#x02013;<lpage>135</lpage>. <pub-id pub-id-type="doi">10.1017/CBO9780511979958.004</pub-id></citation></ref>
<ref id="B15">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Sanei</surname> <given-names>S.</given-names></name> <name><surname>Chambers</surname> <given-names>J.</given-names></name></person-group> (<year>2007</year>). <source>EEG Signal Processing, 2007</source>. The Atrium, Southern Gate, Chichester, West Sussex PO19 8SQ, <publisher-loc>England</publisher-loc>: <publisher-name>John Wiley &#x00026; Sons Ltd</publisher-name>.</citation></ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sch&#x000F6;berl</surname> <given-names>J.</given-names></name></person-group> (<year>1997</year>). <article-title>NETGEN an advancing front 2D/3D-mesh generator based on abstract rules</article-title>. <source>Comput. Visual. Sci.</source> <volume>1</volume>, <fpage>41</fpage>&#x02013;<lpage>52</lpage>. <pub-id pub-id-type="doi">10.1007/s007910050004</pub-id></citation></ref>
<ref id="B17">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Schomer</surname> <given-names>D. L.</given-names></name> <name><surname>da Silva</surname> <given-names>F. L.</given-names></name></person-group> (<year>2012</year>). <source>Niedermeyer&#x00027;s Electroencephalography: Basic Principles, Clinical Applications, and Related Fields</source>. <publisher-loc>Philadelphia, PA</publisher-loc>: <publisher-name>Wolters Kluwer Health</publisher-name>.</citation></ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Srinivasan</surname> <given-names>R.</given-names></name> <name><surname>Nunez</surname> <given-names>P. L.</given-names></name> <name><surname>Silberstein</surname> <given-names>R. B.</given-names></name></person-group> (<year>1998</year>). <article-title>Spatial filtering and neocortical dynamics: estimates of EEG coherence</article-title>. <source>IEEE Trans. Biomed. Eng</source>. <volume>45</volume>, <fpage>814</fpage>&#x02013;<lpage>826</lpage>. <pub-id pub-id-type="doi">10.1109/10.686789</pub-id><pub-id pub-id-type="pmid">9644890</pub-id></citation></ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Vorwerk</surname> <given-names>J.</given-names></name> <name><surname>Cho</surname> <given-names>J.-H.</given-names></name> <name><surname>Rampp</surname> <given-names>S.</given-names></name> <name><surname>Hamer</surname> <given-names>H.</given-names></name> <name><surname>Knsche</surname> <given-names>T. R.</given-names></name> <name><surname>Wolters</surname> <given-names>C. H.</given-names></name></person-group> (<year>2014</year>). <article-title>A guideline for head volume conductor modeling in EEG and MEG</article-title>. <source>NeuroImage</source> <volume>100</volume>, <fpage>590</fpage>&#x02013;<lpage>607</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2014.06.040</pub-id><pub-id pub-id-type="pmid">24971512</pub-id></citation></ref>
<ref id="B20">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wong</surname> <given-names>D. K.</given-names></name> <name><surname>Grosenick</surname> <given-names>L.</given-names></name> <name><surname>Uy</surname> <given-names>E. T.</given-names></name> <name><surname>Guimaraes</surname> <given-names>M. P.</given-names></name> <name><surname>Carvalhaes</surname> <given-names>C. G.</given-names></name> <name><surname>Desain</surname> <given-names>P.</given-names></name> <etal/></person-group>. (<year>2008</year>). <article-title>Quantifying inter-subject agreement in brain-imaging analyses</article-title>. <source>NeuroImage</source> <volume>39</volume>, <fpage>1051</fpage>&#x02013;<lpage>1063</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2007.07.064</pub-id><pub-id pub-id-type="pmid">18023210</pub-id></citation></ref>
</ref-list>
</back>
</article>