<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="research-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Appl. Math. Stat.</journal-id>
<journal-title>Frontiers in Applied Mathematics and Statistics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Appl. Math. Stat.</abbrev-journal-title>
<issn pub-type="epub">2297-4687</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fams.2018.00046</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Applied Mathematics and Statistics</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Extracranial Estimation of Neural Mass Model Parameters Using the Unscented Kalman Filter</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Escuain-Poole</surname> <given-names>Lara</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/564530/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Garcia-Ojalvo</surname> <given-names>Jordi</given-names></name>
<xref ref-type="aff" rid="aff2"><sup>2</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/56164/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Pons</surname> <given-names>Antonio J.</given-names></name>
<xref ref-type="aff" rid="aff1"><sup>1</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/207047/overview"/>
</contrib>
</contrib-group>
<aff id="aff1"><sup>1</sup><institution>Physics Department, Polytechnic University of Catalonia</institution>, <addr-line>Terrassa</addr-line>, <country>Spain</country></aff>
<aff id="aff2"><sup>2</sup><institution>Department of Experimental and Health Sciences, Pompeu Fabra University</institution>, <addr-line>Barcelona</addr-line>, <country>Spain</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Axel Hutt, German Meteorological Service, Germany</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Nicola Politi, Politecnico di Torino, Italy; Lili Lei, Nanjing University, China; Sergiy Zhuk, IBM Research (Ireland), Ireland</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Lara Escuain-Poole <email>lara.escuain&#x00040;upc.edu</email></corresp>
<fn fn-type="other" id="fn001"><p>This article was submitted to Dynamical Systems, a section of the journal Frontiers in Applied Mathematics and Statistics</p></fn></author-notes>
<pub-date pub-type="epub">
<day>15</day>
<month>10</month>
<year>2018</year>
</pub-date>
<pub-date pub-type="collection">
<year>2018</year>
</pub-date>
<volume>4</volume>
<elocation-id>46</elocation-id>
<history>
<date date-type="received">
<day>22</day>
<month>05</month>
<year>2018</year>
</date>
<date date-type="accepted">
<day>14</day>
<month>09</month>
<year>2018</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2018 Escuain-Poole, Garcia-Ojalvo and Pons.</copyright-statement>
<copyright-year>2018</copyright-year>
<copyright-holder>Escuain-Poole, Garcia-Ojalvo and Pons</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) and the copyright owner(s) 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>Data assimilation, defined as the fusion of data with preexisting knowledge, is particularly suited to elucidating underlying phenomena from noisy/insufficient observations. Although this approach has been widely used in diverse fields, only recently have efforts been directed to problems in neuroscience, using mainly intracranial data and thus limiting its applicability to invasive measurements involving electrode implants. Here we intend to apply data assimilation to non-invasive electroencephalography (EEG) measurements to infer brain states and their characteristics. For this purpose, we use Kalman filtering to combine synthetic EEG data with a coupled neural-mass model together with Ary&#x00027;s model of the head, which projects intracranial signals onto the scalp. Our results show that using several extracranial electrodes allows to successfully estimate the state and a specific parameter of the model, whereas one single electrode provides only a very partial and insufficient view of the system. The superiority of using multiple extracranial electrodes over using only one, be it intra- or extra-cranial, is shown in different dynamical behaviours. Our results show potential toward future clinical applications of the method.</p>
</abstract>
<kwd-group>
<kwd>Unscented Kalman filter</kwd>
<kwd>data assimilation</kwd>
<kwd>EEG</kwd>
<kwd>neural mass model</kwd>
<kwd>parameter estimation</kwd>
</kwd-group>
<contract-num rid="cn001">FI-DGR 2014-2017</contract-num>
<contract-num rid="cn001">2014SGR0947</contract-num>
<contract-num rid="cn002">FIS2015-66503</contract-num>
<contract-num rid="cn002">MDM-2014-0370</contract-num>
<contract-sponsor id="cn001">Generalitat de Catalunya<named-content content-type="fundref-id">10.13039/501100002809</named-content></contract-sponsor>
<contract-sponsor id="cn002">Ministerio de Econom&#x000ED;a, Industria y Competitividad, Gobierno de Espa&#x000F1;a<named-content content-type="fundref-id">10.13039/501100010198</named-content></contract-sponsor>
<contract-sponsor id="cn003">Instituci&#x000F3; Catalana de Recerca i Estudis Avan&#x000E7;ats<named-content content-type="fundref-id">10.13039/501100003741</named-content></contract-sponsor>
<counts>
<fig-count count="9"/>
<table-count count="4"/>
<equation-count count="30"/>
<ref-count count="73"/>
<page-count count="15"/>
<word-count count="10202"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>After several decades studying its morphology and dynamics [<xref ref-type="bibr" rid="B1">1</xref>], the basic mechanisms that describe the functioning of the brain are still far from being completely understood. There are different reasons that explain this arduous route toward understanding this organ. First, the neurons that form the brain are very diverse morphologically [<xref ref-type="bibr" rid="B2">2</xref>] and dynamically [<xref ref-type="bibr" rid="B3">3</xref>]. Second, these neurons are connected to each other in extremely large numbers and forming very complex networks [<xref ref-type="bibr" rid="B4">4</xref>], whose structural characteristics are still mostly unknown. And third, brain dynamics are very irregular and complex [<xref ref-type="bibr" rid="B5">5</xref>, <xref ref-type="bibr" rid="B6">6</xref>]. The opposed views of an essentially noisy brain and a deterministic brain exhibiting chaotic activity have been often contrasted. On the one hand there is multiple evidence, both theoretical and experimental, that justifies a stochastic view of the brain [<xref ref-type="bibr" rid="B7">7</xref>, <xref ref-type="bibr" rid="B8">8</xref>]. On the other hand, other studies reveal deterministic, or rather reproducible, dynamical behaviour [<xref ref-type="bibr" rid="B9">9</xref>, <xref ref-type="bibr" rid="B10">10</xref>] both at the microscopic scale [<xref ref-type="bibr" rid="B11">11</xref>] and at the mesoscale recorded by electroencephalograms (EEG) or magnetoencephalograms (MEG) [<xref ref-type="bibr" rid="B12">12</xref>]. The reality is probably a combination of the two views. The fact that the brain receives continuous external inputs from the sensory system also makes its dynamical and experimental interpretation more complex because, even though experiments are designed to minimise uncontrolled inputs, they cannot completely rule them out. Another important limitation for studying the brain is that experimental recordings (such as EEG or fRMI) are almost always indirect reflections of the underlying neural activity [<xref ref-type="bibr" rid="B13">13</xref>].</p>
<p>A way of facing the complexities described above is by systematically comparing the experimental observations of brain activity with mathematical models based on specific hypotheses, which can thereby be validated or disproven. Modelling cerebral activity has been attempted both with top-down and bottom-up approaches [<xref ref-type="bibr" rid="B14">14</xref>&#x02013;<xref ref-type="bibr" rid="B18">18</xref>]. Many of these theoretical models are simplifications that capture the basic ingredients of brain dynamics, while others are detailed accounts of the dynamics of neurons that necessarily forgo the description of the whole brain. In that context, a more feasible scale of study is the mesoscopic scale [<xref ref-type="bibr" rid="B19">19</xref>&#x02013;<xref ref-type="bibr" rid="B25">25</xref>]. Many of the modern experimental techniques record information coming from populations of neurons working together. Neural mass models describe the activity of these populations mathematically using reasonably simple equations [<xref ref-type="bibr" rid="B26">26</xref>, <xref ref-type="bibr" rid="B27">27</xref>]. These models can describe both the intrinsic oscillatory behaviour recorded at the mesoscale or event-related responses [<xref ref-type="bibr" rid="B28">28</xref>, <xref ref-type="bibr" rid="B29">29</xref>] with morphologically plausible assumptions for their construction.</p>
<p>In all modelling strategies, however, identifying realistic values for the parameters of the model is a challenging task. One way to address this problem is by integrating experimental information into the models using Bayesian inference [<xref ref-type="bibr" rid="B30">30</xref>&#x02013;<xref ref-type="bibr" rid="B35">35</xref>]. This strategy has started to be pursued by using Kalman filtering to integrate experimental data at both the microscopic scale of neuronal networks [<xref ref-type="bibr" rid="B36">36</xref>&#x02013;<xref ref-type="bibr" rid="B38">38</xref>] and the mesoscopic scale of neural mass models [<xref ref-type="bibr" rid="B39">39</xref>&#x02013;<xref ref-type="bibr" rid="B42">42</xref>]. This data assimilation approach aims to tackle the high level of noise in neuronal activity, and allows to estimate both the state and the parameters of the theoretical model using the experimental data available. The method has been used to estimate, for example, the effective connectivity that characterises epileptic seizures on a patient-specific basis (see [<xref ref-type="bibr" rid="B43">43</xref>] and references therein). Kalman filtering has also been used to analyse the suppression of epileptic seizures in coupled neural mass models [<xref ref-type="bibr" rid="B40">40</xref>, <xref ref-type="bibr" rid="B44">44</xref>], and the induction of the anesthetized state by drugs [<xref ref-type="bibr" rid="B45">45</xref>]. But these studies use mainly invasive intracranial signals, and it would be desirable to extend them to non-invasive extracranial measurements such as EEG. Intracranial signals can be translated into EEG signals in a forward manner [<xref ref-type="bibr" rid="B46">46</xref>, <xref ref-type="bibr" rid="B47">47</xref>], and, in the opposite direction, solving the inverse problem allows to infer intracranial signals from EEG recordings [<xref ref-type="bibr" rid="B48">48</xref>&#x02013;<xref ref-type="bibr" rid="B50">50</xref>]. In this paper we advance the applications of Kalman filtering in neuroscience by extending the current procedures with a model of the head, exploring the possibilities of using non-invasive scalp measurements.</p>
</sec>
<sec sec-type="methods" id="s2">
<title>2. Methods</title>
<p>To obtain a reliable estimation of the state and the dynamics of the brain, we require a biologically inspired mathematical model of its dynamics, experimental data (as non-invasive as possible), and the means of fusing both sources of information together. In this paper, for the purpose of providing a proof-of-concept of our proposed data assimilation approach, we use <italic>in silico</italic> data, instead of real experimental observations, generated by Jansen and Rit&#x00027;s model [<xref ref-type="bibr" rid="B26">26</xref>, <xref ref-type="bibr" rid="B51">51</xref>], as a way to represent the dynamical evolution of the cortical structures. We then use the unscented Kalman filter as our data assimilation algorithm to estimate the state and a specific parameter of the model jointly [<xref ref-type="bibr" rid="B52">52</xref>&#x02013;<xref ref-type="bibr" rid="B54">54</xref>].</p>
<sec>
<title>2.1. Mesoscopic neural mass model</title>
<p>Jansen and Rit&#x00027;s model [<xref ref-type="bibr" rid="B26">26</xref>, <xref ref-type="bibr" rid="B51">51</xref>] describes the mesoscopic activity of a population of neurons [<xref ref-type="bibr" rid="B55">55</xref>, <xref ref-type="bibr" rid="B56">56</xref>], providing a good compromise between physiological realism and computational simplicity. This model reduces the neuronal diversity of a cortical column to three interacting populations: pyramidal neurons, excitatory interneurons, and inhibitory interneurons. The larger pyramidal population excites both groups of interneurons, which in turn feed back into the pyramidal cells. In our approximation, the pyramidal population is also driven by neighbouring columns and by excitatory noise representing the input from distant areas of the brain. The model is given by the following set of coupled second-order differential equations [<xref ref-type="bibr" rid="B26">26</xref>, <xref ref-type="bibr" rid="B57">57</xref>]:</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M1"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>&#x01E8D;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:mn>2</mml:mn><mml:mi>a</mml:mi><mml:msubsup><mml:mrow><mml:mi>&#x01E8B;</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>A</mml:mi><mml:mi>a</mml:mi><mml:mtext>&#x000A0;Sigm</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</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>
<disp-formula id="E2"><label>(2)</label><mml:math id="M2"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msubsup><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x000A8;</mml:mo></mml:mover><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:mn>2</mml:mn><mml:mi>a</mml:mi><mml:msubsup><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x002D9;</mml:mo></mml:mover><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:msup><mml:mi>a</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:msubsup><mml:mi>x</mml:mi><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mi>A</mml:mi><mml:mi>a</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msup><mml:mi>p</mml:mi><mml:mi>i</mml:mi></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:mi>k</mml:mi><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>j</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mi>N</mml:mi><mml:mi>d</mml:mi></mml:msub></mml:mrow></mml:munderover><mml:mrow><mml:msup><mml:mi>K</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mstyle><mml:mtext>&#x000A0;Sigm</mml:mtext><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mn>1</mml:mn><mml:mi>j</mml:mi></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msup><mml:mi>&#x003C4;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msup><mml:mo stretchy='false'>)</mml:mo></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;&#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;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mrow><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mi>x</mml:mi><mml:mn>2</mml:mn><mml:mi>j</mml:mi></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msup><mml:mi>&#x003C4;</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mtext>&#x000A0;Sigm</mml:mtext><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mi>C</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:msubsup><mml:mi>x</mml:mi><mml:mn>0</mml:mn><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>]</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E4"><label>(3)</label><mml:math id="M4"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>&#x01E8D;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:mn>2</mml:mn><mml:mi>b</mml:mi><mml:msubsup><mml:mrow><mml:mi>&#x01E8B;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mi>b</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mi>B</mml:mi><mml:mi>b</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mtext>&#x000A0;Sigm</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>]</mml:mo></mml:mrow></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>x</italic><sub>0</sub> is the average excitatory postsynaptic potential (PSP) coming to the two interneuron populations, and <italic>x</italic><sub>1</sub> (<italic>x</italic><sub>2</sub>) is the average excitatory (inhibitory) PSP which inputs to the pyramidal population. The superindex <italic>i</italic> &#x0003D; 1 &#x022EF; <italic>N</italic><sub><italic>d</italic></sub> runs over all the coupled cortical columns (dipole sources) of the model. The quantity <italic>x</italic><sub>1</sub> &#x02212; <italic>x</italic><sub>2</sub> is the net PSP of the pyramidal neurons, which produces the signal detected by extracranial electrodes, and is therefore our observable. The sigmoid function Sigm(<italic>v</italic>) converts the net average PSP of a population, <italic>v</italic>, into an average firing rate:</p>
<disp-formula id="E5"><label>(4)</label><mml:math id="M5"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mtext>Sigm</mml:mtext><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>2</mml:mn><mml:msub><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x003B3;</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mi>v</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>e</italic><sub>0</sub> is the maximum firing rate of the population, &#x003B3; controls the slope of the sigmoid, and <italic>v</italic><sub>0</sub> is the post-synaptic potential for which a 50% firing rate is obtained. The resulting firing rate is then transformed back into an average PSP by the second-order differential Equations 1&#x02013;3.</p>
<p>The parameters <italic>A</italic> and <italic>B</italic> in the right-hand side of Equations 1&#x02013;3 are the amplitudes of the excitatory and inhibitory post-synaptic potentials, and <italic>a</italic> and <italic>b</italic> are the lumped representations of the sums of the reciprocal of the time constant of the passive membrane, and all other spatially distributed delays in the dendritic network. The parameters <italic>C</italic><sub>1</sub> to <italic>C</italic><sub>4</sub> are connectivity constants that govern the interactions between populations, <italic>p</italic><sup><italic>i</italic></sup>(<italic>t</italic>) is a stochastic external input that adds dynamic noise to the system, and the summation term represents the input from other coupled cortical columns. The strength of the coupling is modulated by <italic>k</italic>, with <italic>K</italic> denoting the adjacency matrix. When generating the <italic>in silico</italic> data we consider that column <italic>i</italic> receives the signal of column <italic>j</italic> with a delay &#x003C4;<sup><italic>ij</italic></sup> [<xref ref-type="bibr" rid="B58">58</xref>]. This is because we want to generate data, in a controlled way, with a model as complex and rich in dynamics as possible to mimic real data. However, Kalman filtering, as defined in Equations 10&#x02013;11 below, does not include temporal delays. Therefore, for simplicity, the model used during the filtering does not consider delays. Table <xref ref-type="table" rid="T1">1</xref> provides the descriptions and values of these parameters. The electrical activity detected by the electrodes on the scalp is originated by the weighted sum of the averaged membrane potential of the pyramidal cells of all the cortical columns, <inline-formula><mml:math id="M6"><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> [<xref ref-type="bibr" rid="B59">59</xref>], using a head model as described below.</p>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Description and default values of the parameters for the system of neural masses.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Param</bold>.</th>
<th valign="top" align="left"><bold>Description</bold></th>
<th valign="top" align="center"><bold>Value</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left"><italic>A</italic></td>
<td valign="top" align="left">EPSP amplitude</td>
<td valign="top" align="center">3.25 mV</td>
</tr>
<tr>
<td valign="top" align="left"><italic>B</italic></td>
<td valign="top" align="left">IPSP amplitude</td>
<td valign="top" align="center">22.00 mV</td>
</tr>
<tr>
<td valign="top" align="left"><italic>a</italic></td>
<td valign="top" align="left">Rate constant for the excitatory population<sup>&#x0002A;</sup></td>
<td valign="top" align="center">100 s<sup>&#x02212;1</sup></td>
</tr>
<tr>
<td valign="top" align="left"><italic>b</italic></td>
<td valign="top" align="left">Rate constant for the inhibitory population<sup>&#x0002A;</sup></td>
<td valign="top" align="center">50 s<sup>&#x02212;1</sup></td>
</tr>
<tr>
<td valign="top" align="left"><italic>C</italic><sub>1</sub></td>
<td valign="top" align="left">Strength of synaptic connections from PC to EI</td>
<td valign="top" align="center">135</td>
</tr>
<tr>
<td valign="top" align="left"><italic>C</italic><sub>2</sub></td>
<td valign="top" align="left">Strength of synaptic connections from II to PC</td>
<td valign="top" align="center">108</td>
</tr>
<tr>
<td valign="top" align="left"><italic>C</italic><sub>3</sub></td>
<td valign="top" align="left">Strength of synaptic connections from PC to II</td>
<td valign="top" align="center">33.75</td>
</tr>
<tr>
<td valign="top" align="left"><italic>C</italic><sub>4</sub></td>
<td valign="top" align="left">Strength of synaptic connections from EI to PC</td>
<td valign="top" align="center">33.75</td>
</tr>
<tr>
<td valign="top" align="left"><italic>e</italic><sub>0</sub></td>
<td valign="top" align="left">Maximum firing rate of the population</td>
<td valign="top" align="center">2.5 s<sup>&#x02212;1</sup></td>
</tr>
<tr>
<td valign="top" align="left"><italic>v</italic><sub>0</sub></td>
<td valign="top" align="left">Mean threshold of the population</td>
<td valign="top" align="center">6 mV</td>
</tr>
<tr>
<td valign="top" align="left">&#x003B3;</td>
<td valign="top" align="left">Steepness of the sigmoidal transformation</td>
<td valign="top" align="center">0.56 mV<sup>&#x02212;1</sup></td>
</tr>
<tr>
<td valign="top" align="left"><italic>k</italic></td>
<td valign="top" align="left">Coupling constant</td>
<td valign="top" align="center">5 or 10</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="center">according to</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="center">the experiment</td>
</tr>
<tr>
<td valign="top" align="left"><italic>K</italic></td>
<td valign="top" align="left">Adjacency matrix</td>
<td valign="top" align="center"><italic>K</italic><sub><italic>ij</italic></sub> &#x0003D; 1, <italic>i</italic> &#x02260; <italic>j</italic></td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="center"><italic>K</italic><sub><italic>i,j</italic></sub> &#x0003D; 0, <italic>i</italic> &#x0003D; <italic>j</italic></td>
</tr>
<tr>
<td valign="top" align="left">&#x003C4;</td>
<td valign="top" align="left">Delay</td>
<td valign="top" align="center">Between 15</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="center">and 21 ms,</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="center">according to</td>
</tr>
<tr>
<td/>
<td/>
<td valign="top" align="center">distance [<xref ref-type="bibr" rid="B58">58</xref>]</td>
</tr>
<tr>
<td valign="top" align="left"><italic>p</italic><sub>0</sub></td>
<td valign="top" align="left">External input</td>
<td valign="top" align="center">200 s<sup>&#x02212;1</sup></td>
</tr>
<tr>
<td valign="top" align="left">&#x003F5;</td>
<td valign="top" align="left">Intensity of the noise</td>
<td valign="top" align="center">100 s<sup>&#x02212;1</sup></td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic><sup>&#x0002A;</sup>Lumped representation of the sum of the reciprocal of the time constant of passive membrane and all other spatially distributed delays. See the section for details of the configuration of each numerical experiment. Here, PC refers to pyramidal cells, EI to excitatory interneurons, II to inhibitory interneurons, EPSP to excitatory post-synaptic potential, and IPSP to inhibitory post-synaptic potential</italic>.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec>
<title>2.2. Head model</title>
<p>The main contribution of this paper is the use of multichannel extracranial data to obtain information about the neuronal populations inside the brain using data assimilation. To accomplish this, we use synthetic EEG data generated in silico using Jansen and Rit&#x00027;s model and Ary&#x00027;s head model. To that end, we transform the output <italic><bold>x</bold></italic>(t) of the neural masses to EEG signals <italic><bold>z</bold></italic>(t) in the electrodes (see Figure <xref ref-type="fig" rid="F1">1</xref>). This transformation is mediated by a lead field matrix [<xref ref-type="bibr" rid="B47">47</xref>], which builds on the basic idea of calculating the electric potential caused by a dipole source [<xref ref-type="bibr" rid="B13">13</xref>] on a three-layer isotropic hemisphere of radius 1 [<xref ref-type="bibr" rid="B46">46</xref>, <xref ref-type="bibr" rid="B60">60</xref>] that represents the three main tissues that impact brain activity readings (brain, skull, and scalp). The lead field matrix also contains information about the geometry of the problem (e.g., locations of cortical columns and electrodes) and about the electrophysiology of the head (e.g., conductivities of the different tissues). The following equations show the potential V<sup>e,i</sup> on an electrode e, located at <italic><bold>r<sub>e</sub></bold><sup>e</sup></italic> [<xref ref-type="bibr" rid="B61">61</xref>], caused by the dipole <inline-formula><mml:math id="M8"><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>q</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> generated by the cortical column i, located at <italic><bold>r<sub>q</sub></bold><sup>i</sup></italic> and oriented as <inline-formula><mml:math id="M10"><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula>. In these equations, e &#x0003D; 1, &#x02026;, N<sub>e</sub>, where N<sub>e</sub> is the total number of electrodes, and i &#x0003D; 1, &#x02026;, N<sub>d</sub>, where N<sub>d</sub> is the total number of dipoles. Vectors are typeset in bold and modules are in regular type.</p>
<disp-formula id="E6"><label>(5)</label><mml:math id="M11"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>r</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>e</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msubsup><mml:mo>;</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>r</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>q</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>q</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0224A;</mml:mo><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>r</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>e</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msubsup><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>r</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>q</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003C1;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>q</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>r</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>e</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msubsup><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>r</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>q</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003C1;</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>q</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x0002B;</mml:mo><mml:msup><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>r</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>e</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msubsup><mml:mo>;</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>r</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>q</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003C1;</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>q</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E8"><label>(6)</label><mml:math id="M13"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msup><mml:mi>v</mml:mi><mml:mn>1</mml:mn></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle><mml:mi>e</mml:mi></mml:msubsup><mml:mo>;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>c</mml:mi><mml:mn>1</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mi>c</mml:mi><mml:mn>2</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle><mml:mi>e</mml:mi></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msubsup><mml:mo>+</mml:mo></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;&#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;&#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;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mrow><mml:mrow><mml:msubsup><mml:mi>c</mml:mi><mml:mn>2</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle><mml:mi>e</mml:mi></mml:msubsup></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x000B7;</mml:mo><mml:msup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E10"><label>(7)</label><mml:math id="M15"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msup><mml:mi>v</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle><mml:mi>e</mml:mi></mml:msubsup><mml:mo>;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>c</mml:mi><mml:mn>1</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mi>c</mml:mi><mml:mn>2</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle><mml:mi>e</mml:mi></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msubsup></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><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;&#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;&#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;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>+</mml:mo><mml:msubsup><mml:mi>c</mml:mi><mml:mn>2</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle><mml:mi>e</mml:mi></mml:msubsup></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x000B7;</mml:mo><mml:msup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msup><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E12"><label>(8)</label><mml:math id="M17"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msup><mml:mi>v</mml:mi><mml:mn>3</mml:mn></mml:msup><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle><mml:mi>e</mml:mi></mml:msubsup><mml:mo>;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msubsup><mml:mo>,</mml:mo><mml:msup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>c</mml:mi><mml:mn>1</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mi>c</mml:mi><mml:mn>2</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msubsup><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle><mml:mi>e</mml:mi></mml:msubsup><mml:mo>&#x000B7;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='false'>)</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msubsup></mml:mrow></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mrow><mml:mrow><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;&#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;&#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;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>+</mml:mo><mml:msubsup><mml:mi>c</mml:mi><mml:mn>2</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:msubsup><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle><mml:mi>e</mml:mi></mml:msubsup></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>&#x000B7;</mml:mo><mml:msup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle><mml:mi>i</mml:mi></mml:msup><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>In these expressions,</p>
<disp-formula id="E14"><label>(9)</label><mml:math id="M19"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msubsup><mml:mi>c</mml:mi><mml:mn>1</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>4</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:msup><mml:mi>&#x003C3;</mml:mi><mml:mi>s</mml:mi></mml:msup><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:mfrac><mml:mrow><mml:msup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>d</mml:mi></mml:mstyle><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle></mml:msub><mml:msup><mml:mrow><mml:mo>&#x0200A;</mml:mo></mml:mrow><mml:mi>i</mml:mi></mml:msup></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mi>d</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>3</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:msup><mml:mi>d</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:mfrac><mml:mo>&#x02212;</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:msubsup><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>e</mml:mi></mml:msubsup></mml:mrow></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msubsup><mml:mi>c</mml:mi><mml:mn>2</mml:mn><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>s</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>4</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:msup><mml:mi>&#x003C3;</mml:mi><mml:mi>s</mml:mi></mml:msup><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mi>q</mml:mi><mml:mi>i</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:mfrac><mml:mn>2</mml:mn><mml:mrow><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mi>d</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>3</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:msup><mml:mi>d</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>e</mml:mi></mml:msubsup></mml:mrow><mml:mrow><mml:msub><mml:mi>r</mml:mi><mml:mi>e</mml:mi></mml:msub><mml:mi>&#x00393;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle></mml:msub><mml:msup><mml:mrow><mml:mo>&#x0200A;</mml:mo></mml:mrow><mml:mi>e</mml:mi></mml:msup><mml:mo>,</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle></mml:msub><mml:msup><mml:mrow><mml:mo>&#x0200A;</mml:mo></mml:mrow><mml:mi>i</mml:mi></mml:msup><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mfrac></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mi>&#x00393;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle></mml:msub><mml:msup><mml:mrow><mml:mo>&#x0200A;</mml:mo></mml:mrow><mml:mi>e</mml:mi></mml:msup><mml:mo>,</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle></mml:msub><mml:msup><mml:mrow><mml:mo>&#x0200A;</mml:mo></mml:mrow><mml:mi>i</mml:mi></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mi>d</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msubsup><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>e</mml:mi></mml:msubsup><mml:msup><mml:mi>d</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mo>+</mml:mo><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msubsup><mml:mi>r</mml:mi><mml:mi>e</mml:mi><mml:mi>e</mml:mi></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mn>2</mml:mn></mml:msup><mml:mo>&#x02212;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle></mml:msub><mml:msup><mml:mrow><mml:mo>&#x0200A;</mml:mo></mml:mrow><mml:mi>i</mml:mi></mml:msup><mml:mo>&#x000B7;</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle></mml:msub><mml:msup><mml:mrow><mml:mo>&#x0200A;</mml:mo></mml:mrow><mml:mi>e</mml:mi></mml:msup><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mo>)</mml:mo></mml:mrow><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>Extracranial data generation and illustration of Ary&#x00027;s model of the head. The light and dark red arrows indicate dipole sources, and the electrodes are shown as gray and black rectangles. The elements in the cartoon illustrate how all the signals produced by the cortical columns (represented with the solid red line in the top left panel) are transformed into an electrode reading (shown in black dots in the top right panel) through the lead field matrix. In this drawing, as in Equations (5&#x02013;9), r<sub>q</sub> is the distance from the origin to the cortical column under consideration; r<sub>e</sub> is the distance from the origin to the electrode; and d is the distance from the cortical column to the electrode. The placement of the arrows here is for illustration purposes only; in our study, the cortical columns are placed on the surface of the brain, close to the skull.</p></caption>
<graphic xlink:href="fams-04-00046-g0001.tif"/>
</fig>
<p>The tangential conductivity of each layer is represented by &#x003C3;<sup>s</sup> [<xref ref-type="bibr" rid="B60">60</xref>] and &#x003C1;<sub>s</sub> and &#x003BC;<sub>s</sub> are the Berg parameters relative to it [<xref ref-type="bibr" rid="B62">62</xref>] (see Table <xref ref-type="table" rid="T2">2</xref>). The parameter <inline-formula><mml:math id="M22"><mml:mrow><mml:msup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>d</mml:mi></mml:mstyle><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>e</mml:mi></mml:mstyle></mml:msub><mml:msup><mml:mrow><mml:mo>&#x0200A;</mml:mo></mml:mrow><mml:mi>e</mml:mi></mml:msup><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>q</mml:mi></mml:mstyle></mml:msub><mml:msup><mml:mrow><mml:mo>&#x0200A;</mml:mo></mml:mrow><mml:mi>i</mml:mi></mml:msup></mml:mrow></mml:math></inline-formula> is the relative position of the electrode e under consideration with respect to the position of the dipole i.</p>
<table-wrap position="float" id="T2">
<label>Table 2</label>
<caption><p>Values of the Berg parameters for the three layers [<xref ref-type="bibr" rid="B60">60</xref>, <xref ref-type="bibr" rid="B62">62</xref>].</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Parameter</bold></th>
<th valign="top" align="left"><bold>Layer 1</bold></th>
<th valign="top" align="left"><bold>Layer 2</bold></th>
<th valign="top" align="left"><bold>Layer 3</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Tangential conductivity &#x003C3;<sup>s</sup></td>
<td valign="top" align="left">1.0</td>
<td valign="top" align="left">0.0125</td>
<td valign="top" align="left">1.0</td>
</tr>
<tr>
<td valign="top" align="left">Berg parameter &#x003C1;<sub>s</sub></td>
<td valign="top" align="left">0.9901</td>
<td valign="top" align="left">0.7687</td>
<td valign="top" align="left">0.4421</td>
</tr>
<tr>
<td valign="top" align="left">Berg parameter &#x003BC;<sub>s</sub></td>
<td valign="top" align="left">0.0659</td>
<td valign="top" align="left">0.2389</td>
<td valign="top" align="left">0.3561</td>
</tr>
</tbody>
</table>
</table-wrap>
<table-wrap position="float" id="T3">
<label>Table 3</label>
<caption><p>Cartesian coordinates of the dipoles used throughout the study.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th/>
<th valign="top" align="left"><italic><bold>x</bold></italic></th>
<th valign="top" align="left"><bold>y</bold></th>
<th valign="top" align="left"><bold>z</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">dipole 1</td>
<td valign="top" align="left">0.1688</td>
<td valign="top" align="left">0.2242</td>
<td valign="top" align="left">0.2597</td>
</tr>
<tr>
<td valign="top" align="left">dipole 2</td>
<td valign="top" align="left">0.3766</td>
<td valign="top" align="left">&#x02013;0.8520</td>
<td valign="top" align="left">0.2597</td>
</tr>
<tr>
<td valign="top" align="left">dipole 3</td>
<td valign="top" align="left">0.6622</td>
<td valign="top" align="left">&#x02013;0.2242</td>
<td valign="top" align="left">&#x02013;0.1948</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<p><italic>The origin of coordinates is the centre of the perimeter of the head</italic>.</p>
</table-wrap-foot>
</table-wrap>
</sec>
<sec>
<title>2.3. The unscented Kalman filter for data assimilation</title>
<p>The Unscented Kalman Filter (UKF) is our algorithm of choice to bring together the dynamical state of the model and the in silico data. It is a standard tool in the field of systems and control engineering, and has been shown to be both computationally efficient and robust even when dealing with stochastic nonlinear systems [<xref ref-type="bibr" rid="B63">63</xref>]. In our case, the computational burden&#x02014;O(n<sup>3</sup>), where n is the size of the state&#x02014;is acceptable for a biologically reasonable number of sources. In order to simultaneously estimate the state and parameters of the model described by Equations (1)&#x02013;(3), we regard it as a discrete-time state-space dynamical system of the following form:</p>
<disp-formula id="E17"><label>(10)</label><mml:math id="M23"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle mathvariant="bold-italic"><mml:mtext>F</mml:mtext></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>v</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E18"><label>(11)</label><mml:math id="M24"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>z</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle mathvariant="bold-italic"><mml:mtext>H</mml:mtext></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>w</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M25"><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:mo>&#x02026;</mml:mo><mml:mo>,</mml:mo><mml:msubsup><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi></mml:mrow></mml:msup></mml:mrow></mml:msubsup><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mo>&#x02026;</mml:mo><mml:mo>,</mml:mo><mml:msup><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>N</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02208;</mml:mo><mml:msup><mml:mrow><mml:mi>&#x0211D;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:math></inline-formula> is the state vector (related to the variables and parameters of the model), with &#x003B8;<sup>p</sup> being the parameters to estimate, which obey the equations <inline-formula><mml:math id="M26"><mml:msup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>&#x003B8;</mml:mi></mml:mrow><mml:mo>&#x002D9;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:math></inline-formula>. (In our joint estimation of the parameters, these are included in the state vector together with the system variables). The vector <inline-formula><mml:math id="M27"><mml:mstyle mathvariant="bold-italic"><mml:mtext>z</mml:mtext></mml:mstyle><mml:mo>&#x02208;</mml:mo><mml:msup><mml:mrow><mml:mi>&#x0211D;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>z</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msup></mml:math></inline-formula> is the measurement vector (our in silico EEG readings). The vectors <italic><bold>v</bold></italic> and <italic><bold>w</bold></italic> are uncertainty terms that account for process noise and measurement noise, respectively, with Gaussian distributions p(<italic><bold>v</bold></italic>) &#x0007E;N(0, <italic><bold>Q</bold></italic>) and p(<italic><bold>w</bold></italic>) &#x0007E;N(0, <italic><bold>R</bold></italic>), respectively. The process transition <italic><bold>F</bold></italic> is obtained with a numerical implementation of Equations (1)&#x02013;(3), as described below. Finally, <italic><bold>H</bold></italic> relates the state to measurement space, which is either V<sup>e, i</sup> (in the case of simulated EEG), or x<sup>i</sup> (in the case of simulated electrocorticography). Interestingly, where EEG is concerned, this basic part of the Kalman filter is in our case implemented by the skull, the effect of which is represented by the lead field matrix, based on Ary&#x00027;s head model and introduced above.</p>
<p>The UKF is a recursive predictor-corrector-type algorithm that aims to minimise the mean square error of the estimated states and parameters over time. For each time step it calculates a prediction of the state and parameters of the system, which is corrected when the information from a measurement is incorporated. The amount of confidence given to the model and measurement is quantified by the Kalman gain <italic><bold>K</bold></italic>, which is calculated at each time step based on prediction covariances as well as model and measurement error covariances (<italic><bold>Q</bold></italic> and <italic><bold>R</bold></italic>, respectively). For more details on the implementation of the filter, the reader is referred to the Appendix and to Kalman [<xref ref-type="bibr" rid="B54">54</xref>], Merwe and Wan [<xref ref-type="bibr" rid="B52">52</xref>], Julier and Uhlmann [<xref ref-type="bibr" rid="B53">53</xref>], and Solonen et al. [<xref ref-type="bibr" rid="B64">64</xref>].</p>
</sec>
<sec>
<title>2.4. Generation of in silico datasets</title>
<p>For this paper three different in silico datasets were generated. We consider both simulated electrocorticography (ECoG, intracortical) and electroencephalography (EEG, extracranial) readings (using Ary&#x00027;s model in the latter case). We chose to use three sources because this provides a considerable spatial and temporal richness in the resulting signals, while keeping the system reasonably simple and still biologically plausible [<xref ref-type="bibr" rid="B65">65</xref>, <xref ref-type="bibr" rid="B66">66</xref>].</p>
<p>The presence of additional dipoles in the brain, and its influence on the sources of study, is accounted for in the stochastic external input to the sources (<italic>p</italic>(<italic>t</italic>), see Equation 2):</p>
<disp-formula id="E19"><label>(12)</label><mml:math id="M28"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>p</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mi>&#x003BE;</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><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 <inline-formula><mml:math id="M29"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>200</mml:mn><mml:mtext>&#x000A0;</mml:mtext><mml:msup><mml:mrow><mml:mtext>s</mml:mtext></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> and &#x003BE;(<italic>t</italic>) is Gaussian white noise [<xref ref-type="bibr" rid="B67">67</xref>] of zero mean and correlation &#x02329;&#x003BE;(<italic>t</italic>)&#x003BE;(<italic>t</italic>&#x02032;)&#x0232A; &#x0003D; 2&#x003F5;&#x003B4;(<italic>t</italic> &#x02212; <italic>t</italic>&#x02032;) [<xref ref-type="bibr" rid="B68">68</xref>]. At the extracranial level, the other sources also affect the final EEG signal, as well as the different tissues (brain, skull, scalp, and even hair). This is modelled by adding Gaussian noise with zero mean and standard deviation 100 mV (unless otherwise stated) to the simulated EEG.</p>
<p>All datasets used the same locations for the cortical columns [<xref ref-type="bibr" rid="B66">66</xref>]. The electrodes were placed using a subset of the equidistant layout, a standard layout for EEG [<xref ref-type="bibr" rid="B69">69</xref>] (roughly illustrated in <bold>Figures 6</bold>&#x02013;<bold>8</bold>). The strength of the coupling was set at a medium value so that the cortical columns have a visible effect on one another without fully synchronising behaviours and locking their dynamics (between <italic>k</italic> &#x0003D; 5 and <italic>k</italic> &#x0003D; 10), and the configurations of the couplings are as shown in Figure <xref ref-type="fig" rid="F2">2</xref>. Table <xref ref-type="table" rid="T1">1</xref> shows representative values for the parameters used in all analyses unless otherwise specified. In this paper we focus on estimating the amplitudes <italic>A</italic> of the EPSPs of the different cortical columns, and therefore we choose values for these amplitudes that produce signals that reflect various dynamic regimes that we wish to explore. (The rest of the parameters were fixed to their standard values [<xref ref-type="bibr" rid="B26">26</xref>, <xref ref-type="bibr" rid="B51">51</xref>], as described in Table <xref ref-type="table" rid="T1">1</xref>).</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>The two cortical column motifs used in this paper. Unidirectionally coupled cortical columns have no backflow <bold>(A)</bold>, and bidirectionally coupled columns are coupled all-to-all <bold>(B)</bold>. See Table <xref ref-type="table" rid="T3">3</xref>.</p></caption>
<graphic xlink:href="fams-04-00046-g0002.tif"/>
</fig>
<p>The numerical solver used to generate the <italic>in silico</italic> time series was the Heun algorithm [<xref ref-type="bibr" rid="B70">70</xref>] with a time step of &#x00394;<italic>t</italic> &#x0003D; 1 <italic>ms</italic>. The length of the data is 100 s in all cases. Using the Heun algorithm together with Equations 1&#x02013; 3 to update the state variables and the lead field matrix (in order to get the potential in the electrodes of the scalp in Equations 5&#x02013; 9), we generate the required map to apply Kalman filtering in Equations 10 and 11. The following equations implement the stochastic Heun algorithm used to update <italic><bold>x</bold></italic><sub><italic>k</italic></sub>:</p>
<disp-formula id="E20"><label>(13)</label><mml:math id="M31"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>F</mml:mtext></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:mstyle mathvariant="bold-italic"><mml:mtext>F</mml:mtext></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>g</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:mi>g</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>X</mml:mi><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E22"><label>(14)</label><mml:math id="M33"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mstyle mathvariant="bold-italic"><mml:mtext>F</mml:mtext></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mi>g</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold-italic"><mml:mtext>x</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>X</mml:mi><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Where <italic>g</italic>(&#x02026;), together with Equation 12, introduces the noise term in Equation 2 and is zero for Equations 1 and 3. In <inline-formula><mml:math id="M34"><mml:mi>X</mml:mi><mml:mo>=</mml:mo><mml:msqrt><mml:mrow><mml:mn>2</mml:mn><mml:mi>&#x003F5;</mml:mi><mml:mo>&#x00394;</mml:mo><mml:mi>t</mml:mi></mml:mrow></mml:msqrt><mml:mi>&#x003B3;</mml:mi></mml:math></inline-formula>, &#x003B3; are gaussianly distributed random numbers with zero mean and unit variance. At different instants of time, these random numbers are independent from one another.</p>
<sec>
<title>2.4.1. Three unidirectionally coupled cortical columns</title>
<p>For the first study the cortical columns were coupled unidirectionally (Figure <xref ref-type="fig" rid="F2">2A</xref>), as described in Liu and Gao [<xref ref-type="bibr" rid="B71">71</xref>]. The parameters were set to standard values [<xref ref-type="bibr" rid="B26">26</xref>] for the three cortical columns (see Table <xref ref-type="table" rid="T1">1</xref>), except for the first column, in which <italic>A</italic><sub>1</sub> was set to 3.58 mV to make it hyperexcitable. Additionally, the three cortical columns had <italic>p</italic><sub>0</sub> &#x0003D; 90 s<sup>&#x02212;1</sup> and &#x003F5; &#x0003D; 2 s<sup>&#x02212;1</sup>. This first hyperexcitable column causes a spiking cascade in the other two columns. With this experiment, we aimed to compare how extra- and intra-cranial electrodes perform in the case of a behaviour being induced by an input from another column, and not by the column&#x00027;s own parameter configuration. The resulting data can be found in the Data Sheets <xref ref-type="supplementary-material" rid="SM1">1</xref>, <xref ref-type="supplementary-material" rid="SM2">2</xref> in Supplementary Material. Please, see the README file (Data Sheet <xref ref-type="supplementary-material" rid="SM6">6</xref>) for more information.</p>
</sec>
<sec>
<title>2.4.2. Three bidirectionally coupled cortical columns: coarse parameter estimation</title>
<p>The three cortical columns are located as in the previous section, but coupled bidirectionally (Figure <xref ref-type="fig" rid="F2">2B</xref>). Additionally, the maximum amplitudes of the excitatory PSPs were set to <italic>A</italic><sub>1</sub> &#x0003D; 4.25 mV, <italic>A</italic><sub>2</sub> &#x0003D; 10.00 mV, and <italic>A</italic><sub>3</sub> &#x0003D; 3.25 mV. These values were chosen to cause the three cortical columns to be in very different dynamical regimes: cortical column 1 operates in a spiking regime; cortical column 2 oscillates with alpha frequency but with an amplitude similar to that of the spikes; and cortical column 3 oscillates in a more standard regime, as described in [<xref ref-type="bibr" rid="B26">26</xref>]. Also, the external input <italic>p</italic>(<italic>t</italic>) for each of the three cortical columns was set using <inline-formula><mml:math id="M36"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>200</mml:mn><mml:mtext>&#x000A0;</mml:mtext><mml:msup><mml:mrow><mml:mtext>s</mml:mtext></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> and &#x003F5; &#x0003D; 100 s<sup>&#x02212;1</sup>. Our aim here was to study how the filter performs in an extreme situation, in which the dynamics of the columns are widely different from one another. We intended to explore the outcome of estimating with single extracranial electrodes as well as the complete set, and to compare with intracranial estimation (Data Sheets <xref ref-type="supplementary-material" rid="SM3">3</xref>, <xref ref-type="supplementary-material" rid="SM4">4</xref>).</p>
</sec>
<sec>
<title>2.4.3. Three bidirectionally coupled cortical columns: fine parameter estimation</title>
<p>In the previous section, the value of <italic>A</italic> of one of the cortical columns was much larger than the other two. We now consider the same coupling motif, but with values of the <italic>A</italic> parameter that are much closer together in value: <italic>A</italic><sub>1</sub> &#x0003D; 3.58 mV, <italic>A</italic><sub>2</sub> &#x0003D; 3.25 mV, and <italic>A</italic><sub>3</sub> &#x0003D; 3.10 mV. (The values defining the external input <italic>p</italic>(<italic>t</italic>) remain the same as in the previous experiment). Our goal was to check if the filter can discriminate between the values when they are closer together (Data Sheet <xref ref-type="supplementary-material" rid="SM5">5</xref>).</p>
</sec>
</sec>
<sec>
<title>2.5. Filtering</title>
<p>For each of the experiments we conducted 50 realisations of each estimation for the complete state vector, with different initial conditions; all the figures show averages of the 50 estimations, unless otherwise specified. The initial conditions for state and parameter estimations were randomly generated with a normal distribution of zero mean and unit variance; the parameters, however, were constrained to deviate no more than 90% of their actual value as an initial assumption.</p>
<p>The noise covariances <italic>Q</italic> and <italic>R</italic> were chosen according to the best knowledge of the system and of the noise corrupting the data. Therefore, <italic>Q</italic> was set to contemplate the incoming noise to each dipole, i.e., it was set to a null matrix except for the term corresponding to the equation that contains the input <italic>p</italic>(<italic>t</italic>) (see Equation 2 and [<xref ref-type="bibr" rid="B68">68</xref>]). The matrix <italic>R</italic> was set to 1000<italic><bold>I</bold> mV</italic><sup>2</sup>. (In practice, in most applications of the Kalman filter, the matrix <italic>R</italic> is fairly easy to set with the knowledge of the measurement precision as a starting point, but <italic>Q</italic> is often set by trial and error).</p>
</sec>
<sec>
<title>2.6. Ethics statement</title>
<p>All data used in this manuscript come from numerical simulations of a mathematical model. No human or animal data have therefore been used, and ethics approval was not necessary.</p>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>3. Results</title>
<p>In order to compare the performance of the extra- and intra-cranial approaches to Kalman filtering, we have analysed three different cortical column configurations, each using one of the two motifs shown in Figure <xref ref-type="fig" rid="F2">2</xref>. Where relevant, two different types of estimations have been used: intracranial and extracranial. Intracranial estimation uses simulated data that would have hypothetically been obtained from electrocorticography, that is, using a single intracortical electrode, and is estimated with the data provided by a single location&#x02014;in other words, the direct output of Jansen and Rit&#x00027;s model. Extracranial estimation, on the other hand, employs simulated data originated from EEG recordings, using several electrodes placed on the skull, and is implemented here with the projection on the head of the model output. We now discuss the results for the three different situations that we have considered.</p>
<sec>
<title>3.1. Three unidirectionally coupled cortical columns</title>
<p>In this case, information flows unidirectionally because of the way the cortical columns are coupled [<xref ref-type="bibr" rid="B71">71</xref>]. As can be seen in the lower panels of Figure <xref ref-type="fig" rid="F3">3</xref>, the first cortical column has a random spiking activity, due to the increased value of <italic>A</italic> and the presence of noise [<xref ref-type="bibr" rid="B20">20</xref>]. Due to the architecture of the coupling, cortical column 1 causes cortical columns 2 and 3 to spike also, when otherwise they would have simply fluctuated around their resting level.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Intracranial and extracranial fittings with propagated excitation along unidirectionally coupled cortical columns. The upper panels show the estimation of parameter <italic>A</italic>, and the lower panels show the estimations of the observed states. The lines show the averages of the 50 realisations of the estimation, and the shadowed areas indicate the standard deviation. The actual values of the <italic>A</italic> parameters are <italic>A</italic><sub>1</sub> &#x0003D; 3.58 mV, <italic>A</italic><sub>2</sub> &#x0003D; 3.25 mV, and <italic>A</italic><sub>3</sub> &#x0003D; 3.25 mV, the other parameters being set to standard values (Table <xref ref-type="table" rid="T1">1</xref>). All three cortical columns received an external input, <italic>p</italic>(<italic>t</italic>), with <inline-formula><mml:math id="M30"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>90</mml:mn><mml:mtext>&#x000A0;</mml:mtext><mml:msup><mml:mrow><mml:mtext>s</mml:mtext></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> and &#x003F5; &#x0003D; 2 s<sup>&#x02212;1</sup>. The coupling constant was set to <italic>k</italic> &#x0003D; 10. The measurements were corrupted with Gaussian noise of mean 0 and standard deviation 100 mV for extracranial measurements and standard deviation 5 mV for intracortical measurements. Except for cortical column 1, with intracortical data the filter converges to a much higher value than the target, whereas with extracranial data the filter converges to a value which is accurate. In the lower panels it is shown that extracranial estimations of the state are also accurate, whereas intracortical estimations fail to reproduce the spikes correctly.</p></caption>
<graphic xlink:href="fams-04-00046-g0003.tif"/>
</fig>
<p>The upper panels of Figure <xref ref-type="fig" rid="F3">3</xref> show the intracortical and extracranial estimations of <italic>A</italic> for the three cortical columns. The estimation for <italic>A</italic><sub>1</sub> of the first column converges to its correct value, with both the intra- and extracortical approaches. This was to be expected, since the first cortical column receives no inputs from other elements of the system. In contrast, the intracortical estimations for cortical columns 2 and 3 converge to values significantly higher than their actual value of 3.25 mV. We conjecture that this is caused by the spiking of these two cortical columns, which as mentioned above is due to the influence of cortical column 1. Multi-channel extracranial information, in contrast, allows to see the complete picture of the coupled cortical columns and treat them as a single composed system, contrary to the partial picture obtained from the information provided by the single intracranial recordings. Therefore, estimation is better when using extracranial information with several electrodes, as shown in the upper panels of the figure. The lower panels of Figure <xref ref-type="fig" rid="F3">3</xref> show the estimation of the state. The UKF shows great efficacy when the estimation is extracranial, but performs poorly in the case of intracortical estimation (with the exception of cortical column 1, because it has no input from other cortical columns). This highlights the value of extracranial estimation, in which it is possible to take the whole brain into account in a non-invasive manner.</p>
</sec>
<sec>
<title>3.2. Three bidirectionally coupled cortical columns: coarse parameter estimation</title>
<p>The second experiment aims to explore the possibilities of the filter in more extreme situations, as the parameters were chosen to reflect more diverse dynamical regimes. The following sections describe the results of single- and multichannel estimations.</p>
<sec>
<title>3.2.1. Moderate intracortical measurement noise</title>
<p>Figure <xref ref-type="fig" rid="F4">4</xref> shows again the performance obtained using the simulated data from a set of extracranial electrodes compared to using individual intracortical electrodes for each cortical column. In this case we show the 50 realisations of each filtering, without showing the average. The extracranial data for this experiment were corrupted with a measurement Gaussian noise of zero mean and standard deviation 100 mV; the intracortical data were corrupted with a measurement noise of standard deviation 5 mV in order to maintain similar levels of signal-to-noise ratio.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p>Intracranial and extracranial fittings for coarse parameter estimation in the case of bidirectional coupling. As in the previous figure, the upper panels show the estimation of <italic>A</italic> for each cortical column and the lower show the estimations of the observed states. The results are shown here without averaging. The actual values of the amplitudes of the EPSPs are <italic>A</italic><sub>1</sub> &#x0003D; 4.25 mV, <italic>A</italic><sub>2</sub> &#x0003D; 10.00 mV, and <italic>A</italic><sub>3</sub> &#x0003D; 3.25 mV; the rest of the parameters were set to standard values (Table <xref ref-type="table" rid="T1">1</xref>). The external input <italic>p</italic>(<italic>t</italic>) for the three cortical columns had <italic>p</italic><sub>0</sub> &#x0003D; 200 s<sup>&#x02212;1</sup> and &#x003F5; &#x0003D; 100 s<sup>&#x02212;1</sup>. The coupling constant was set to <italic>k</italic> &#x0003D; 5. The intracortical measurements were corrupted with Gaussian noise of mean 0 and standard deviation 5 mV, while the noise in the extracranial measurements has standard deviation 100 mV. Extracranial estimations of the parameters are both faster and more accurate than intracortical estimations; this applies also to the state, whose dynamics are more faithfully reproduced using multi-electrode extracranial estimation (as shown in the lower panels).</p></caption>
<graphic xlink:href="fams-04-00046-g0004.tif"/>
</fig>
<p>As shown in Figure <xref ref-type="fig" rid="F4">4</xref>, the intracortical parameter estimations do not approximate the target value very well. In particular, the estimations of <italic>A</italic> for cortical column 2 converge to three different values depending on the initial conditions. The state estimation follows the actual state of the system closely only for cortical column 1. The situation is very different when with extracranial electrodes, where all 50 realisations of the estimations converge with much more precision to the correct values for both state and parameters (with the exception of <italic>A</italic><sub>2</sub>, which still tends to lower values in a very small quantity of the realisations). Again, extracranial performance is better, in general, to intracortical.</p>
</sec>
<sec>
<title>3.2.2. High intracortical measurement noise</title>
<p>The difference between intracranial and extracranial estimation is even larger for higher measurement noise (Figure <xref ref-type="fig" rid="F5">5</xref>). In this case, the amount of noise in the intracortical data was set to the same value as the noise in the extracranial data. The value of <italic><bold>R</bold></italic> was tuned to reflect the increase in measurement noise, but the intracortical estimations failed to obtain the correct values for the parameters and reproduce the state.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Intracranial and extracranial fittings for coarse parameter estimation, with a higher amount of intracortical measurement noise. The upper panels show the estimation of the EPSPs for each cortical column and the lower panels show the estimations of the observed states. The results are shown here without averaging. The actual values of the amplitudes of the EPSPs are <italic>A</italic><sub>1</sub> &#x0003D; 4.25 mV, <italic>A</italic><sub>2</sub> &#x0003D; 10.00 mV, and <italic>A</italic><sub>3</sub> &#x0003D; 3.25 mV; the rest of the parameters were set to standard values (Table <xref ref-type="table" rid="T1">1</xref>). The external input <italic>p</italic>(<italic>t</italic>) for the three cortical columns had <inline-formula><mml:math id="M35"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>200</mml:mn><mml:mtext>&#x000A0;</mml:mtext><mml:msup><mml:mrow><mml:mtext>s</mml:mtext></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> and &#x003F5; &#x0003D; 100 s<sup>&#x02212;1</sup>. The coupling constant was set to <italic>k</italic> &#x0003D; 5. The intracortical measurements were corrupted with Gaussian noise of mean 0 and standard deviation 100 mV&#x02014;about an order of magnitude higher than the noise in the previous graph&#x02014;, while the noise in the extracranial measurements has standard deviation 100 mV. Extracranial estimations of the parameters are also faster and more accurate than intracortical estimations, more markedly so in this case; as to the state, in this more extreme case, the intracortical estimation does not mimic the evolution of the system in any way.</p></caption>
<graphic xlink:href="fams-04-00046-g0005.tif"/>
</fig>
</sec>
<sec>
<title>3.2.3. Using one single extracranial electrode</title>
<p>Using the same dataset, we aimed to investigate the outcome of using each extracranial electrode individually [<xref ref-type="bibr" rid="B43">43</xref>], as opposed to using the complete subset as until now. Therefore, we used each electrode separately to estimate the state and parameters of the complete system, with 50 realisations of the estimation for each electrode. By doing so, we show that the quality of the estimations is strongly dependent on the relative positions of sources and electrodes.</p>
<p>In Figures <xref ref-type="fig" rid="F6">6</xref>&#x02013;<bold>8</bold> we present the results for the estimation of parameter <italic>A</italic> of each of the three cortical columns separately. The histograms show the distribution of the 50 estimations of <italic>A</italic> using each electrode, placed in the respective position of the electrode in question. Vertical coloured lines in the histograms mark the value of the three <italic>A</italic> parameters being estimated (one in each figure). The histograms show a strong dependence on space of the quality of the estimations. As a general trait, the estimations are better when the electrodes are near the cortical column whose value of <italic>A</italic> is being estimated, whereas the more distant electrodes show a wider distribution of final values for the parameter.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>Distribution of 50 realisations of <italic>A</italic> estimations from a single electrode for cortical column 1 (solid red circle). The histograms are placed at the location of the corresponding measuring electrode, and the location of the three cortical columns generating the activity are shown with coloured circles (with the full circle corresponding to the column whose value of <italic>A</italic> is being estimated in this figure). Vertical lines with the same colours as the circles mark the corresponding actual <italic>A</italic> values. The distributions tend to be narrowest in the vicinities of cortical column 1. Nevertheless, they do not group around the target value of <italic>A</italic><sub>1</sub> &#x0003D; 4.25 mV (vertical red line), as they should, but around that of <italic>A</italic><sub>3</sub> &#x0003D; 3.25 mV (vertical blue line).</p></caption>
<graphic xlink:href="fams-04-00046-g0006.tif"/>
</fig>
<p>In Figure <xref ref-type="fig" rid="F6">6</xref> the distribution of the estimations of <italic>A</italic><sub>1</sub> are shown. The distributions tend to be narrowest in the vicinities of the cortical column whose <italic>A</italic> value is being estimated. However, it is noteworthy that the histograms obtained from the observations in distant electrodes tend to group not around the actual value of <italic>A</italic><sub>1</sub> &#x0003D; 4.25 mV (red vertical line), but of <italic>A</italic><sub>3</sub> &#x0003D; 3.25 mV (blue vertical line). This result suggests that the algorithm is unable to distinguish the origin of the EEG activity when sources and electrodes are distant from each other.</p>
<p>Figure <xref ref-type="fig" rid="F7">7</xref> shows the results of the estimation of <italic>A</italic><sub>2</sub> (actual value shown by vertical green lines), revealing wider distributions in general, which indicates a stronger dependence on initial conditions. Although it is true that the electrodes near cortical column 2 perform better in estimating <italic>A</italic> for that column, the difference with more distant electrodes is not as large as for the estimates of <italic>A</italic> for cortical columns 1 and 3.</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p>Distribution of 50 realisations of <italic>A</italic> estimations from a single electrode for cortical column 2 (solid green circle). The distributions here are wider than for <italic>A</italic><sub>1</sub> and <italic>A</italic><sub>3</sub>, although they still tend to be more accurate near the cortical column (solid green circle) and group around the target value of <italic>A</italic><sub>2</sub> &#x0003D; 10.00 mV (vertical green line).</p></caption>
<graphic xlink:href="fams-04-00046-g0007.tif"/>
</fig>
<p>Finally, Figure <xref ref-type="fig" rid="F8">8</xref> shows the performance of each electrode when <italic>A</italic><sub>3</sub> is being estimated (actual value shown by vertical blue lines in the figure). Interestingly, even the electrodes located at the far left of the figure lead to a good estimate of <italic>A</italic>, comparable to that coming from the electrodes in the far right, which are closer to column 3 and could therefore be expected to provide a much more accurate estimation.</p>
<fig id="F8" position="float">
<label>Figure 8</label>
<caption><p>Distribution of 50 realisations of <italic>A</italic> estimations from a single electrode for cortical column 3 (solid blue circle). As in the two previous figures, the distributions for the electrodes closest to the source (solid blue circle) are narrow, grouping around the correct value (<italic>A</italic><sub>3</sub> &#x0003D; 3.25 mV, vertical blue line). Surprisingly, the electrodes in the far left also give rise to narrow distributions.</p></caption>
<graphic xlink:href="fams-04-00046-g0008.tif"/>
</fig>
<p>While the estimations arising from single electrodes are reasonably accurate in some cases, using the complete set of 15 electrodes invariably yields better results. This is because, in Kalman filtering, combining many sources of information always improves the final estimation, even if some of the sources are inaccurate or incomplete [<xref ref-type="bibr" rid="B72">72</xref>].</p>
</sec>
</sec>
<sec>
<title>3.3. Three bidirectionally coupled cortical columns: fine parameter estimation</title>
<p>In the previous section, the aim was to generate widely different dynamics in each column. We now consider the results of estimating parameters which are much closer to one another. The purpose of this test was to ascertain whether the filter could differentiate between parameters with smaller differences in value. This ability is very important if we expect to use the technique in clinical applications. Figure <xref ref-type="fig" rid="F9">9</xref> shows the extracranial estimation of the <italic>A</italic> parameters using the complete subset of 15 electrodes. The estimations converge to the actual values with enough accuracy as to give hopes of using the filter in a clinical setting.</p>
<fig id="F9" position="float">
<label>Figure 9</label>
<caption><p>Extracranial fit with parameters close together in value. The estimations of the amplitude of the EPSPs of the three cortical columns are shown after averaging over 50 realisations (solid lines); the shadowed areas indicate the standard deviation. The actual values of the amplitudes of the EPSPs are <italic>A</italic><sub>1</sub> &#x0003D; 3.58 mV, <italic>A</italic><sub>2</sub> &#x0003D; 3.25 mV, and <italic>A</italic><sub>3</sub> &#x0003D; 3.10 mV; the rest of the parameters were set to standard values (Table <xref ref-type="table" rid="T1">1</xref>). The external input <italic>p</italic>(<italic>t</italic>) for the three cortical columns had <inline-formula><mml:math id="M37"><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>200</mml:mn><mml:mtext>&#x000A0;</mml:mtext><mml:msup><mml:mrow><mml:mtext>s</mml:mtext></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula> and &#x003F5; &#x0003D; 100 s<sup>&#x02212;1</sup>. The coupling constant was set to <italic>k</italic> &#x0003D; 5. The Gaussian noise in the extracranial measurements has standard deviation 100 mV. The estimation of the parameters is fairly accurate.</p></caption>
<graphic xlink:href="fams-04-00046-g0009.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="discussion" id="s4">
<title>4. Discussion</title>
<p>The most important limitation of current data assimilation processes in neuroscience is that the appropriate experimental recordings are usually intracranial. Despite this fact, using Kalman filtering to fit these data to neural mass models shows promise in several contexts and applications. In this study we have modified this type of approach by extending it with a head model, with the aim of integrating non-invasive experimental recordings taken from the scalp (EEG). By increasing the range of recordings in this way, the application of the data assimilation protocols opens up to the large set of situations in which scalp recordings are used. We keep the exploration of the technique using real EEG experimental data in mind, but here we have explored the limitations and advantages of our model using <italic>in silico</italic> data in very well controlled conditions.</p>
<p>Our main goal in this paper has been to show that data assimilation employing multiple non-invasive EEG electrodes (as coming from scalp EEG measurements) provides a better estimate of the brain&#x00027;s dynamical state than using a single invasive (intracranial) EEG electrode. In particular, we have aimed at contrasting our results with existing work using the latter approach, which has employed a filtering method, namely the unscented Kalman filter [<xref ref-type="bibr" rid="B39">39</xref>]. Filtering methods have been so far the method of choice in data assimilation problem in neuroscience [<xref ref-type="bibr" rid="B37">37</xref>, <xref ref-type="bibr" rid="B38">38</xref>, <xref ref-type="bibr" rid="B40">40</xref>&#x02013;<xref ref-type="bibr" rid="B43">43</xref>], with variational methods having been used very sparsely [<xref ref-type="bibr" rid="B73">73</xref>]. We thus chose to work with a filtering algorithm, the UKF, that is already relatively well characterized in neural model, and which we could therefore use as a benchmark.</p>
<p>We have considered a system comprised of three cortical columns, modelled according to Jansen and Rit&#x00027;s equations and coupled following two different motifs. The cortical columns are all driven by a noisy input coming from the columns of the rest of the brain and sensory stimuli. The signal from the cortical columns is then transferred to the skull, after which it is corrupted with Gaussian noise to simulate electrode readings from EEG. These are then used to estimate the amplitude of the excitatory post-synaptic potentials.</p>
<p>Even though the quality of the experimental measurements at the scalp might be, in general, worse than the intracranial recordings, EEG can always be measured from several positions. This allows to obtain measurements for patients without intracranial implants and also to compensate the potentially low quality of the data by having many recordings at the same time. Besides, the spatial distribution of the electrodes on the scalp allows the information arriving from the whole cortex to be available during the assimilation process. In order to address these strengths and weaknesses of the scalp recordings with respect to intracranial measurements, we have analysed situations where assimilation with only intracortical recordings may be wanting, where diverse dynamical regimes coexist due to large differences in control parameters in the cortical columns, or where fine changes of the parameters make the discrimination difficult.</p>
<p>The first study considered here involves three columns that are coupled unidirectionally with no backflow. The first cortical column is made hyperexcitable by increasing the excitatory post-synaptic potential to <italic>A</italic><sub>1</sub> &#x0003D; 3.58 mV; this cortical column causes the second cortical column and, indirectly, the third, to modify their behaviour by inducing spiking. For the intracranial estimations, single intracortical electrodes measured the evolution of the three cortical columns independently; for the extracranial estimations, 15 extracranial electrodes were used simultaneously. Applying the Kalman filter to the extracranial data provided a good estimation of the <italic>A</italic> parameters and of the dynamical state of the model; the intracortical measurements, however, yielded mixed results. The estimation for cortical column 1 was accurate, whereas for cortical columns 2 and 3 the estimation of <italic>A</italic> was above the target value and very close to the estimation for cortical column 1 (see orange dashed lines in Figure <xref ref-type="fig" rid="F3">3</xref>). The estimation of the dynamical state of cortical columns 2 and 3 was also worse than the estimation for cortical column 1. We attribute this to the fact that columns 2 and 3 are excited by column 1, which spikes due to a higher value of <italic>A</italic>. As a consequence, when independently evaluated using the intracranial information, the estimation is higher than the actual value. Therefore we suggest that one intracranial electrode provides only a partial view of the system, and thus cannot capture the behaviours of all three cortical columns and the interactions between them; the use of many electrodes provides a more complete view of the system.</p>
<p>Next we considered a situation in which the dipoles were coupled bidirectionally in an all-to-all configuration. The <italic>A</italic> parameters were chosen such as to cause different dynamic behaviours in the cortical columns. Three types of fitting via Kalman filtering were performed, using (i) independent intracortical recordings of single cortical columns, (ii) the complete subset of 15 extracranial electrodes, and (iii) single extracranial electrodes. The intracortical data were corrupted with two different levels (medium and high) of measurement noise. For both cases, the multi-electrode extracranial estimation surpasses the intracortical results in both speed of convergence and quality; the difference, however, is more marked in the presence of higher measurement noise in the intracortical recordings. In all these cases, the representation of the dynamical state of the three cortical columns using the complete set of 15 extracranial electrodes nicely matched the actual dynamical state, contrary to the limited match obtained using single intracranial or extracranial recordings. The results for the single electrodes show a significant influence of space on the quality of the estimations, in the sense that estimations of electrodes close to the source are relatively accurate, and electrodes further away from the source might not allow to discriminate the source of the information correctly, or might completely fail to represent the system.</p>
<p>Finally, we considered the situation of an identical cortical column configuration&#x02014;in terms of situation and coupling&#x02014;, except for the values of the EPSPs of the cortical columns. This dataset was filtered only extracranially, with the purpose of evaluating the filter&#x00027;s ability to discriminate parameter values within narrower ranges. The results in this case were also reasonably good, even though the real values of the parameter were much closer to one another, which makes data assimilation more challenging.</p>
<p>Even though the results shown here are better when considering extracranial electrodes, the method has, of course, limitations. For instance, the head model introduces new parameters which should be realistic. The use of Jansen&#x00027;s model, while being a very standard choice in the field, is not mandatory and could be substituted by others. There several alternatives to Ary&#x00027;s head model too. The succesful application of the method with different combinations of these models will, for sure, guide researchers to choose which models are more suitable for the theoretical description of the mesoscale in the brain. Even though the exploration of the dynamics for the different neural mass models or of the different head models might be worth exploring in future works, it lays outside of the scope of this work.</p>
<p>Applications of the method presented here will certainly appear in the field of brain-machine interface, long-term tracking for early diagnosis of degenerative diseases, or short-term tracking during rehabilitation of traumas and strokes. However, the succesful application of the method in each of these fields will require further research.</p>
<p>Taken as a whole, our results show that, independently of the need to explore more realistic situations, extracranial EEG recordings constitute a good candidate to be used together with neural mass models and Kalman filters, provided the method is extended with a head model. With its management of the noise in the system and of the inherent simplifications in neurological models, the Kalman filter is an appropriate tool for tackling the challenges of brain data processing. Using non-invasive techniques in these processes widens the applications of Kalman-based data assimilation methods in neuroscience.</p>
</sec>
<sec id="s5">
<title>Author contributions</title>
<p>All authors listed have made a substantial, direct and intellectual contribution to the work, and approved it for publication.</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>The authors wish to thank Drs. Maciej Jedynak and Daniel Malagarriga for helpful discussions.</p>
</ack>
<sec sec-type="supplementary-material" id="s8">
<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/fams.2018.00046/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fams.2018.00046/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Data_Sheet_1.ZIP" id="SM1" mimetype="application/zip" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="Data_Sheet_2.ZIP" id="SM2" mimetype="application/zip" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="Data_Sheet_3.ZIP" id="SM3" mimetype="application/zip" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="Data_Sheet_4.ZIP" id="SM4" mimetype="application/zip" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="Data_Sheet_5.ZIP" id="SM5" mimetype="application/zip" xmlns:xlink="http://www.w3.org/1999/xlink"/>
<supplementary-material xlink:href="Data_Sheet_6.ZIP" id="SM6" mimetype="application/zip" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<label>1.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Yuste</surname> <given-names>R</given-names></name></person-group>. <article-title>From the neuron doctrine to neural networks</article-title>. <source>Nature Rev Neurosci.</source> (<year>2015</year>) <volume>16</volume>:<fpage>487</fpage>&#x02013;<lpage>97</lpage>. <pub-id pub-id-type="doi">10.1038/nrn3962</pub-id><pub-id pub-id-type="pmid">26152865</pub-id></citation></ref>
<ref id="B2">
<label>2.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Braitenberg</surname> <given-names>V</given-names></name> <name><surname>Sch&#x000FC;tz</surname> <given-names>A</given-names></name></person-group>. <article-title>Anatomy of the cortex</article-title>. In: <source>Statistics and Geometry, No. 18 in Studies of Brain Function.</source> <publisher-loc>Berlin</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>1991</year>).</citation></ref>
<ref id="B3">
<label>3.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Izhikevich</surname> <given-names>EM</given-names></name> <name><surname>Edelman</surname> <given-names>GM</given-names></name></person-group>. <article-title>Large-scale model of mammalian thalamocortical systems</article-title>. <source>Proc Natl Acad Sci USA.</source> (<year>2008</year>) <volume>105</volume>:<fpage>3593</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.0712231105</pub-id><pub-id pub-id-type="pmid">18292226</pub-id></citation></ref>
<ref id="B4">
<label>4.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Callaway</surname> <given-names>EM</given-names></name></person-group>. <source>Micro-, Meso- and Macro-Connectomics of the Brain</source>. <publisher-name>Springer</publisher-name> (<year>2016</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="http://link.springer.com/10.1007/978-3-319-27777-6">http://link.springer.com/10.1007/978-3-319-27777-6</ext-link></citation></ref>
<ref id="B5">
<label>5.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Freeman</surname> <given-names>WJ</given-names></name></person-group>. <article-title>Simulation of chaotic EEG patters with a dynamic model of the olfactory system</article-title>. <source>Biol Cybern.</source> (<year>1987</year>) <volume>56</volume>:<fpage>139</fpage>&#x02013;<lpage>50</lpage>. <pub-id pub-id-type="doi">10.1007/BF00317988</pub-id><pub-id pub-id-type="pmid">3593783</pub-id></citation></ref>
<ref id="B6">
<label>6.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Faure</surname> <given-names>P</given-names></name> <name><surname>Korn</surname> <given-names>H</given-names></name></person-group>. <article-title>Is there chaos in the brain? I. Concepts of nonlinear dynamics and methods of investigation</article-title>. <source>C R Acad Sci III</source>. (<year>2001</year>) <volume>324</volume>:<fpage>773</fpage>&#x02013;<lpage>93</lpage>. <pub-id pub-id-type="doi">10.1016/S0764-4469(01)01377-4</pub-id><pub-id pub-id-type="pmid">11558325</pub-id></citation></ref>
<ref id="B7">
<label>7.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shadlen</surname> <given-names>MN</given-names></name> <name><surname>Newsome</surname> <given-names>WT</given-names></name></person-group>. <article-title>Noise, neural codes and cortical organization</article-title>. <source>Curr Opin Neurobiol.</source> (<year>1994</year>) <volume>4</volume>:<fpage>569</fpage>&#x02013;<lpage>79</lpage>. <pub-id pub-id-type="doi">10.1016/0959-4388(94)90059-0</pub-id><pub-id pub-id-type="pmid">7812147</pub-id></citation></ref>
<ref id="B8">
<label>8.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Faisal</surname> <given-names>AA</given-names></name> <name><surname>Selen</surname> <given-names>LPJ</given-names></name> <name><surname>Wolpert</surname> <given-names>DM</given-names></name></person-group>. <article-title>Noise in the nervous system</article-title>. <source>Nature Rev Neurosci.</source> (<year>2008</year>) <volume>9</volume>:<fpage>292</fpage>&#x02013;<lpage>303</lpage>. <pub-id pub-id-type="doi">10.1038/nrn2258</pub-id><pub-id pub-id-type="pmid">18319728</pub-id></citation></ref>
<ref id="B9">
<label>9.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schiff</surname> <given-names>SJ</given-names></name> <name><surname>Jerger</surname> <given-names>K</given-names></name> <name><surname>Duong</surname> <given-names>DH</given-names></name> <name><surname>Chang</surname> <given-names>T</given-names></name> <name><surname>Spano</surname> <given-names>ML</given-names></name> <name><surname>Ditto</surname> <given-names>WL</given-names></name></person-group>. <article-title>Controlling chaos in the brain</article-title>. <source>Nature</source> (<year>1994</year>) <volume>370</volume>:<fpage>615</fpage>&#x02013;<lpage>20</lpage>. <pub-id pub-id-type="doi">10.1038/370615a0</pub-id><pub-id pub-id-type="pmid">8065447</pub-id></citation></ref>
<ref id="B10">
<label>10.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>van Vreeswijk</surname> <given-names>C</given-names></name> <name><surname>Sompolinsky</surname> <given-names>H</given-names></name></person-group>. <article-title>Chaos in neuronal networks with balanced excitatory and inhibitory activity</article-title>. <source>Science (NY)</source> (<year>1996</year>) <volume>274</volume>:<fpage>1724</fpage>&#x02013;<lpage>6</lpage>. <pub-id pub-id-type="doi">10.1126/science.274.5293.1724</pub-id><pub-id pub-id-type="pmid">8939866</pub-id></citation></ref>
<ref id="B11">
<label>11.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Celletti</surname> <given-names>A</given-names></name> <name><surname>Froeschle</surname> <given-names>C</given-names></name> <name><surname>Tetko</surname> <given-names>IV</given-names></name> <name><surname>Villa</surname> <given-names>AEP</given-names></name></person-group>. <article-title>Deterministic behaviour of short time series</article-title>. <source>Meccanica.</source> (<year>1999</year>) <volume>34</volume>:<fpage>147</fpage>&#x02013;<lpage>54</lpage>. <pub-id pub-id-type="doi">10.1023/A:1004668310653</pub-id></citation></ref>
<ref id="B12">
<label>12.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stam</surname> <given-names>CJ</given-names></name></person-group>. <article-title>Nonlinear dynamical analysis of EEG and MEG: review of an emerging field</article-title>. <source>Clin Neurophysiol.</source> (<year>2005</year>) <volume>116</volume>:<fpage>2266</fpage>&#x02013;<lpage>301</lpage>. <pub-id pub-id-type="doi">10.1016/j.clinph.2005.06.011</pub-id><pub-id pub-id-type="pmid">16115797</pub-id></citation></ref>
<ref id="B13">
<label>13.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Buzs&#x000E1;ki</surname> <given-names>G</given-names></name> <name><surname>Anastassiou</surname> <given-names>Ca</given-names></name> <name><surname>Koch</surname> <given-names>C</given-names></name></person-group>. <article-title>The origin of extracellular fields and currents&#x02013;EEG, ECoG, LFP and spikes</article-title>. <source>Nat Rev Neurosci.</source> (<year>2012</year>) <volume>13</volume>:<fpage>407</fpage>&#x02013;<lpage>20</lpage>. <pub-id pub-id-type="doi">10.1038/nrn3241</pub-id><pub-id pub-id-type="pmid">22595786</pub-id></citation></ref>
<ref id="B14">
<label>14.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wright</surname> <given-names>JJ</given-names></name> <name><surname>Liley</surname> <given-names>DTJ</given-names></name></person-group>. <article-title>Dynamics of the brain at global and microscopic scales: neural Networks and the EEG</article-title>. <source>Behav Brain Sci.</source> (<year>1996</year>) <volume>19</volume>:<fpage>285</fpage>. <pub-id pub-id-type="doi">10.1017/S0140525X00042679</pub-id></citation></ref>
<ref id="B15">
<label>15.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Rabinovich</surname> <given-names>MI</given-names></name> <name><surname>Varona</surname> <given-names>P</given-names></name> <name><surname>Selverston</surname> <given-names>AI</given-names></name> <name><surname>Abarbanel</surname> <given-names>HDI</given-names></name></person-group>. <article-title>Dynamical principles in neuroscience</article-title>. <source>Rev Modern Phys.</source> (<year>2006</year>) <volume>78</volume>:<fpage>1213</fpage>. <pub-id pub-id-type="doi">10.1103/RevModPhys.78.1213</pub-id></citation></ref>
<ref id="B16">
<label>16.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Eliasmith</surname> <given-names>C</given-names></name> <name><surname>Stewart</surname> <given-names>TC</given-names></name> <name><surname>Choo</surname> <given-names>X</given-names></name> <name><surname>Bekolay</surname> <given-names>T</given-names></name> <name><surname>DeWolf</surname> <given-names>T</given-names></name> <name><surname>Tang</surname> <given-names>C</given-names></name> <etal/></person-group>. <article-title>A large-scale model of the functioning brain</article-title>. <source>Science</source> (<year>2012</year>) <volume>338</volume>:<fpage>1202</fpage>&#x02013;<lpage>5</lpage>. <pub-id pub-id-type="doi">10.1126/science.1225266</pub-id><pub-id pub-id-type="pmid">23197532</pub-id></citation></ref>
<ref id="B17">
<label>17.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Deco</surname> <given-names>G</given-names></name> <name><surname>Ponce-Alvarez</surname> <given-names>A</given-names></name> <name><surname>Hagmann</surname> <given-names>P</given-names></name> <name><surname>Romani</surname> <given-names>G</given-names></name> <name><surname>Mantini</surname> <given-names>D</given-names></name> <name><surname>Corbetta</surname> <given-names>M</given-names></name></person-group>. <article-title>How local excitation-inhibition ratio impacts the whole brain dynamics</article-title>. <source>J Neurosci.</source> (<year>2014</year>) <volume>34</volume>:<fpage>7886</fpage>&#x02013;<lpage>98</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.5068-13.2014</pub-id><pub-id pub-id-type="pmid">24899711</pub-id></citation></ref>
<ref id="B18">
<label>18.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Nogaret</surname> <given-names>A</given-names></name> <name><surname>Meliza</surname> <given-names>CD</given-names></name> <name><surname>Margoliash</surname> <given-names>D</given-names></name> <name><surname>Abarbanel</surname> <given-names>HDI</given-names></name></person-group>. <article-title>Automatic construction of predictive neuron models through large scale assimilation of electrophysiological data</article-title>. <source>Sci Rep.</source> (<year>2016</year>) <volume>6</volume>:<fpage>32749</fpage>. <pub-id pub-id-type="doi">10.1038/srep32749</pub-id><pub-id pub-id-type="pmid">27605157</pub-id></citation></ref>
<ref id="B19">
<label>19.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>David</surname> <given-names>O</given-names></name> <name><surname>Friston</surname> <given-names>KJ</given-names></name></person-group>. <article-title>A neural mass model for MEG/EEG: coupling and neuronal dynamics</article-title>. <source>Neuroimage</source> (<year>2003</year>) <volume>20</volume>:<fpage>1743</fpage>&#x02013;<lpage>55</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2003.07.015</pub-id><pub-id pub-id-type="pmid">14642484</pub-id></citation></ref>
<ref id="B20">
<label>20.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Grimbert</surname> <given-names>F</given-names></name> <name><surname>Faugeras</surname> <given-names>O</given-names></name></person-group>. <article-title>Bifurcation analysis of Jansen&#x00027;s neural mass model</article-title>. <source>Neural Comput.</source> (<year>2006</year>) <volume>18</volume>:<fpage>3052</fpage>&#x02013;<lpage>68</lpage>. <pub-id pub-id-type="doi">10.1162/neco.2006.18.12.3052</pub-id><pub-id pub-id-type="pmid">17052158</pub-id></citation></ref>
<ref id="B21">
<label>21.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cona</surname> <given-names>F</given-names></name> <name><surname>Zavaglia</surname> <given-names>M</given-names></name> <name><surname>Massimini</surname> <given-names>M</given-names></name> <name><surname>Rosanova</surname> <given-names>M</given-names></name> <name><surname>Ursino</surname> <given-names>M</given-names></name></person-group>. <article-title>A neural mass model of interconnected regions simulates rhythm propagation observed via TMS-EEG</article-title>. <source>Neuroimage</source> (<year>2011</year>) <volume>57</volume>:<fpage>1045</fpage>&#x02013;<lpage>58</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2011.05.007</pub-id><pub-id pub-id-type="pmid">21600291</pub-id></citation></ref>
<ref id="B22">
<label>22.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Coombes</surname> <given-names>S</given-names></name></person-group>. <article-title>Large-scale neural dynamics: Simple and complex</article-title>. <source>Neuroimage</source> (<year>2010</year>) <volume>52</volume>:<fpage>731</fpage>&#x02013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2010.01.045</pub-id><pub-id pub-id-type="pmid">20096791</pub-id></citation></ref>
<ref id="B23">
<label>23.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Babajani</surname> <given-names>A</given-names></name> <name><surname>Soltanian-Zadeh</surname> <given-names>H</given-names></name></person-group>. <article-title>Integrated MEG/EEG and fMRI model based on neural masses</article-title>. <source>IEEE Trans Biomed Eng.</source> (<year>2006</year>) <volume>53</volume>:<fpage>1794</fpage>&#x02013;<lpage>1801</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.2006.873748</pub-id><pub-id pub-id-type="pmid">16941835</pub-id></citation></ref>
<ref id="B24">
<label>24.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Babiloni</surname> <given-names>F</given-names></name> <name><surname>Cincotti</surname> <given-names>F</given-names></name> <name><surname>Babiloni</surname> <given-names>C</given-names></name> <name><surname>Carducci</surname> <given-names>F</given-names></name> <name><surname>Mattia</surname> <given-names>D</given-names></name> <name><surname>Astolfi</surname> <given-names>L</given-names></name> <etal/></person-group>. <article-title>Estimation of the cortical functional connectivity with the multimodal integration of high-resolution EEG and fMRI data by directed transfer function</article-title>. <source>Neuroimage</source> (<year>2005</year>) <volume>24</volume>:<fpage>118</fpage>&#x02013;<lpage>31</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2004.09.036</pub-id><pub-id pub-id-type="pmid">15588603</pub-id></citation></ref>
<ref id="B25">
<label>25.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Bojak</surname> <given-names>I</given-names></name> <name><surname>Oostendorp</surname> <given-names>TF</given-names></name> <name><surname>Reid</surname> <given-names>AT</given-names></name> <name><surname>K&#x000F6;tter</surname> <given-names>R</given-names></name></person-group>. <article-title>Connecting mean field models of neural activity to EEG and fMRI data</article-title>. <source>Brain Topogr.</source> (<year>2010</year>) <volume>23</volume>:<fpage>139</fpage>&#x02013;<lpage>49</lpage>. <pub-id pub-id-type="doi">10.1007/s10548-010-0140-3</pub-id><pub-id pub-id-type="pmid">20364434</pub-id></citation></ref>
<ref id="B26">
<label>26.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jansen</surname> <given-names>BH</given-names></name> <name><surname>Rit</surname> <given-names>VG</given-names></name></person-group>. <article-title>Electroencephalogram and visual evoked potential generation in a mathematical model of coupled cortical columns</article-title>. <source>Biol Cybern.</source> (<year>1995</year>) <volume>73</volume>:<fpage>357</fpage>&#x02013;<lpage>66</lpage>. <pub-id pub-id-type="doi">10.1007/BF00199471</pub-id><pub-id pub-id-type="pmid">7578475</pub-id></citation></ref>
<ref id="B27">
<label>27.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wendling</surname> <given-names>F</given-names></name> <name><surname>Bartolomei</surname> <given-names>F</given-names></name> <name><surname>Bellanger</surname> <given-names>JJ</given-names></name> <name><surname>Chauvel</surname> <given-names>P</given-names></name></person-group>. <article-title>Epileptic fast activity can be explained by a model of impaired GABAergic dendritic inhibition</article-title>. <source>Euro J Neurosci.</source> (<year>2002</year>) <volume>15</volume>:<fpage>1499</fpage>&#x02013;<lpage>508</lpage>. <pub-id pub-id-type="doi">10.1046/j.1460-9568.2002.01985.x</pub-id><pub-id pub-id-type="pmid">12028360</pub-id></citation></ref>
<ref id="B28">
<label>28.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>David</surname> <given-names>O</given-names></name> <name><surname>Harrison</surname> <given-names>L</given-names></name> <name><surname>Friston</surname> <given-names>KJ</given-names></name></person-group>. <article-title>Modelling event-related responses in the brain</article-title>. <source>Neuroimage</source> (<year>2005</year>) <volume>25</volume>:<fpage>756</fpage>&#x02013;<lpage>70</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2004.12.030</pub-id><pub-id pub-id-type="pmid">15808977</pub-id></citation></ref>
<ref id="B29">
<label>29.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Spiegler</surname> <given-names>A</given-names></name> <name><surname>Kn&#x000F6;sche</surname> <given-names>TR</given-names></name> <name><surname>Schwab</surname> <given-names>K</given-names></name> <name><surname>Haueisen</surname> <given-names>J</given-names></name> <name><surname>Atay</surname> <given-names>FM</given-names></name></person-group>. <article-title>Modeling brain resonance phenomena using a neural mass model</article-title>. <source>PLoS Comput Biol.</source> (<year>2011</year>) <volume>7</volume>:<fpage>e1002298</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1002298</pub-id><pub-id pub-id-type="pmid">22215992</pub-id></citation></ref>
<ref id="B30">
<label>30.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wright</surname> <given-names>JJ</given-names></name> <name><surname>Robinson</surname> <given-names>PA</given-names></name> <name><surname>Rennie</surname> <given-names>CJ</given-names></name> <name><surname>Gordon</surname> <given-names>E</given-names></name> <name><surname>Bourke</surname> <given-names>PD</given-names></name> <name><surname>Chapman</surname> <given-names>CL</given-names></name> <etal/></person-group>. <article-title>Toward an integrated continuum model of cerebral dynamics: the cerebral rhythms, synchronous oscillation and cortical stability</article-title>. <source>BioSystems</source> (<year>2001</year>) <volume>63</volume>:<fpage>71</fpage>&#x02013;<lpage>88</lpage>. <pub-id pub-id-type="doi">10.1016/S0303-2647(01)00148-4</pub-id><pub-id pub-id-type="pmid">11595331</pub-id></citation></ref>
<ref id="B31">
<label>31.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schiff</surname> <given-names>SJ</given-names></name> <name><surname>Sauer</surname> <given-names>T</given-names></name></person-group>. <article-title>Kalman filter control of a model of spatiotemporal cortical dynamics</article-title>. <source>J Neural Eng.</source> (<year>2008</year>) <volume>5</volume>:<fpage>1</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1088/1741-2560/5/1/001</pub-id><pub-id pub-id-type="pmid">18310806</pub-id></citation></ref>
<ref id="B32">
<label>32.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kiebel</surname> <given-names>SJ</given-names></name> <name><surname>Garrido</surname> <given-names>MI</given-names></name> <name><surname>Moran</surname> <given-names>RJ</given-names></name> <name><surname>Friston</surname> <given-names>KJ</given-names></name></person-group>. <article-title>Dynamic causal modelling for EEG and MEG</article-title>. <source>Cogn Neurodyn.</source> (<year>2008</year>) <volume>2</volume>:<fpage>121</fpage>&#x02013;<lpage>36</lpage>. <pub-id pub-id-type="doi">10.1007/s11571-008-9038-0</pub-id><pub-id pub-id-type="pmid">19003479</pub-id></citation></ref>
<ref id="B33">
<label>33.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shine</surname> <given-names>JM</given-names></name> <name><surname>Koyejo</surname> <given-names>O</given-names></name> <name><surname>Bell</surname> <given-names>PT</given-names></name> <name><surname>Gorgolewski</surname> <given-names>KJ</given-names></name> <name><surname>Gilat</surname> <given-names>M</given-names></name> <name><surname>Poldrack</surname> <given-names>RA</given-names></name></person-group>. <article-title>Estimation of dynamic functional connectivity using Multiplication of Temporal Derivatives</article-title>. <source>Neuroimage</source> (<year>2015</year>) <volume>122</volume>:<fpage>399</fpage>&#x02013;<lpage>407</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2015.07.064</pub-id><pub-id pub-id-type="pmid">26231247</pub-id></citation></ref>
<ref id="B34">
<label>34.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ma</surname> <given-names>X</given-names></name> <name><surname>Chou</surname> <given-names>CA</given-names></name> <name><surname>Sayama</surname> <given-names>H</given-names></name> <name><surname>Chaovalitwongse</surname> <given-names>WA</given-names></name></person-group>. <article-title>Brain response pattern identification of fMRI data using a particle swarm optimization-based approach</article-title>. <source>Brain Informat.</source> (<year>2016</year>) <volume>3</volume>:<fpage>181</fpage>&#x02013;<lpage>92</lpage>. <pub-id pub-id-type="doi">10.1007/s40708-016-0049-z</pub-id><pub-id pub-id-type="pmid">27747594</pub-id></citation></ref>
<ref id="B35">
<label>35.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Alswaihli</surname> <given-names>J</given-names></name> <name><surname>Potthast</surname> <given-names>R</given-names></name> <name><surname>Bojak</surname> <given-names>I</given-names></name> <name><surname>Saddy</surname> <given-names>D</given-names></name> <name><surname>Hutt</surname> <given-names>A</given-names></name></person-group>. <article-title>Kernel reconstruction for delayed neural field equations</article-title>. <source>J Math Neurosci.</source> (<year>2018</year>) <volume>8</volume>:<fpage>3</fpage>. <pub-id pub-id-type="doi">10.1186/s13408-018-0058-8</pub-id><pub-id pub-id-type="pmid">29399710</pub-id></citation></ref>
<ref id="B36">
<label>36.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Voss</surname> <given-names>HU</given-names></name> <name><surname>Timmer</surname> <given-names>J</given-names></name> <name><surname>Kurths</surname> <given-names>J</given-names></name></person-group>. <article-title>Nonlinear dynamical system identification from uncertain and indirect measurements</article-title>. <source>Int J Bifurcat Chaos</source> (<year>2004</year>) <volume>14</volume>:<fpage>1905</fpage>&#x02013;<lpage>33</lpage>. <pub-id pub-id-type="doi">10.1142/S0218127404010345</pub-id></citation></ref>
<ref id="B37">
<label>37.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hamilton</surname> <given-names>F</given-names></name> <name><surname>Berry</surname> <given-names>T</given-names></name> <name><surname>Peixoto</surname> <given-names>N</given-names></name> <name><surname>Sauer</surname> <given-names>T</given-names></name></person-group>. <article-title>Real-time tracking of neuronal network structure using data assimilation</article-title>. <source>Phys Rev E.</source> (<year>2013</year>) <volume>88</volume>:<fpage>052715</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevE.88.052715</pub-id><pub-id pub-id-type="pmid">24329304</pub-id></citation></ref>
<ref id="B38">
<label>38.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hamilton</surname> <given-names>F</given-names></name> <name><surname>Cressman</surname> <given-names>J</given-names></name> <name><surname>Peixoto</surname> <given-names>N</given-names></name> <name><surname>Sauer</surname> <given-names>T</given-names></name></person-group>. <article-title>Reconstructing neural dynamics using data assimilation with multiple models</article-title>. <source>EPL (Europhys Lett).</source> (<year>2014</year>) <volume>107</volume>:<fpage>68005</fpage>. <pub-id pub-id-type="doi">10.1209/0295-5075/107/68005</pub-id></citation></ref>
<ref id="B39">
<label>39.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Freestone</surname> <given-names>DR</given-names></name> <name><surname>Kuhlmann</surname> <given-names>L</given-names></name> <name><surname>Chong</surname> <given-names>MS</given-names></name> <name><surname>Nesic</surname> <given-names>D</given-names></name> <name><surname>Grayden</surname> <given-names>DB</given-names></name> <name><surname>Aram</surname> <given-names>P</given-names></name> <etal/></person-group>. <article-title>Patient-specific neural mass modeling - stochastic and deterministic, methods</article-title>. In: <source>Recent Advances in Predicting and Preventing Epileptic Seizures</source>. (<year>2013</year>) p. <fpage>63</fpage>&#x02013;<lpage>82</lpage>. Available online at: <ext-link ext-link-type="uri" xlink:href="https://hal.archives-ouvertes.fr/hal-00876475/%5Cnhttp://www.worldscientific.com/doi/abs/10.1142/9789814525350_0005">https://hal.archives-ouvertes.fr/hal-00876475/%5Cnhttp://www.worldscientific.com/doi/abs/10.1142/9789814525350_0005</ext-link></citation></ref>
<ref id="B40">
<label>40.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Shan</surname> <given-names>B</given-names></name> <name><surname>Wang</surname> <given-names>J</given-names></name> <name><surname>Deng</surname> <given-names>B</given-names></name> <name><surname>Wei</surname> <given-names>X</given-names></name> <name><surname>Yu</surname> <given-names>H</given-names></name> <name><surname>Li</surname> <given-names>H</given-names></name></person-group>. <article-title>UKF-based closed loop iterative learning control of epileptiform wave in a neural mass model</article-title>. <source>Cogn Neurodyn.</source> (<year>2015</year>) <volume>9</volume>:<fpage>31</fpage>&#x02013;<lpage>40</lpage>. <pub-id pub-id-type="doi">10.1007/s11571-014-9306-0</pub-id><pub-id pub-id-type="pmid">26052360</pub-id></citation></ref>
<ref id="B41">
<label>41.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>L&#x000F3;pez-Cuevas</surname> <given-names>A</given-names></name> <name><surname>Castillo-Toledo</surname> <given-names>B</given-names></name> <name><surname>Medina-Ceja</surname> <given-names>L</given-names></name> <name><surname>Ventura-Mej&#x000ED;a</surname> <given-names>C</given-names></name></person-group>. <article-title>State and parameter estimation of a neural mass model from electrophysiological signals during the status epilepticus</article-title>. <source>Neuroimage</source>. (<year>2015</year>) <volume>113</volume>:<fpage>374</fpage>&#x02013;<lpage>86</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2015.02.059</pub-id><pub-id pub-id-type="pmid">25754070</pub-id></citation></ref>
<ref id="B42">
<label>42.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>S</given-names></name> <name><surname>Li</surname> <given-names>J</given-names></name> <name><surname>Li</surname> <given-names>Z</given-names></name></person-group>. <article-title>An improved unscented kalman filter based decoder for cortical brain-machine interfaces</article-title>. <source>Front Neurosci.</source> (<year>2016</year>) <volume>10</volume>:<fpage>587</fpage>. <pub-id pub-id-type="doi">10.3389/fnins.2016.00587</pub-id><pub-id pub-id-type="pmid">28066170</pub-id></citation></ref>
<ref id="B43">
<label>43.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Freestone</surname> <given-names>DR</given-names></name> <name><surname>Karoly</surname> <given-names>PJ</given-names></name> <name><surname>Ne&#x00161;i&#x00107;</surname> <given-names>D</given-names></name> <name><surname>Aram</surname> <given-names>P</given-names></name> <name><surname>Cook</surname> <given-names>MJ</given-names></name> <name><surname>Grayden</surname> <given-names>DB</given-names></name></person-group>. <article-title>Estimation of effective connectivity via data-driven neural modeling</article-title>. <source>Front Neurosci.</source> (<year>2014</year>) <volume>8</volume>:<fpage>383</fpage>. <pub-id pub-id-type="doi">10.3389/fnins.2014.00383</pub-id><pub-id pub-id-type="pmid">25506315</pub-id></citation></ref>
<ref id="B44">
<label>44.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cao</surname> <given-names>Y</given-names></name> <name><surname>Ren</surname> <given-names>K</given-names></name> <name><surname>Su</surname> <given-names>F</given-names></name> <name><surname>Deng</surname> <given-names>B</given-names></name> <name><surname>Wei</surname> <given-names>X</given-names></name> <name><surname>Wang</surname> <given-names>J</given-names></name></person-group>. <article-title>Suppression of seizures based on the multi-coupled neural mass model</article-title>. <source>Chaos</source> (<year>2015</year>) <volume>25</volume>:<fpage>103120</fpage>. <pub-id pub-id-type="doi">10.1063/1.4931715</pub-id><pub-id pub-id-type="pmid">26520086</pub-id></citation></ref>
<ref id="B45">
<label>45.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kuhlmann</surname> <given-names>L</given-names></name> <name><surname>Freestone</surname> <given-names>DR</given-names></name> <name><surname>Manton</surname> <given-names>JH</given-names></name> <name><surname>Heyse</surname> <given-names>B</given-names></name> <name><surname>Vereecke</surname> <given-names>HEM</given-names></name> <name><surname>Lipping</surname> <given-names>T</given-names></name> <etal/></person-group>. <article-title>Neural mass model-based tracking of anesthetic brain states</article-title>. <source>Neuroimage</source> (<year>2016</year>) <volume>133</volume>:<fpage>438</fpage>&#x02013;<lpage>56</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2016.03.039</pub-id><pub-id pub-id-type="pmid">27018048</pub-id></citation></ref>
<ref id="B46">
<label>46.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>Z</given-names></name></person-group>. <article-title>A fast method to compute surface potentials generated by dipoles within multilayer anisotropic spheres</article-title>. <source>Phys Med Biol.</source> (<year>1995</year>) <volume>40</volume>:<fpage>335</fpage>&#x02013;<lpage>49</lpage>. <pub-id pub-id-type="doi">10.1088/0031-9155/40/3/001</pub-id><pub-id pub-id-type="pmid">7732066</pub-id></citation></ref>
<ref id="B47">
<label>47.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mosher</surname> <given-names>JC</given-names></name> <name><surname>Leahy</surname> <given-names>RM</given-names></name> <name><surname>Lewis</surname> <given-names>PS</given-names></name></person-group>. <article-title>EEG and MEG: forward solutions for inverse methods</article-title>. <source>IEEE Trans Biomed Eng.</source> (<year>1999</year>) <volume>46</volume>:<fpage>245</fpage>&#x02013;<lpage>59</lpage>. <pub-id pub-id-type="doi">10.1109/10.748978</pub-id><pub-id pub-id-type="pmid">10097460</pub-id></citation></ref>
<ref id="B48">
<label>48.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Haufe</surname> <given-names>S</given-names></name> <name><surname>Tomioka</surname> <given-names>R</given-names></name> <name><surname>Dickhaus</surname> <given-names>T</given-names></name> <name><surname>Sannelli</surname> <given-names>C</given-names></name> <name><surname>Blankertz</surname> <given-names>B</given-names></name> <name><surname>Nolte</surname> <given-names>G</given-names></name> <etal/></person-group>. <article-title>Large-scale EEG/MEG source localization with spatial flexibility</article-title>. <source>Neuroimage</source> (<year>2011</year>) <volume>54</volume>:<fpage>851</fpage>&#x02013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2010.09.003</pub-id><pub-id pub-id-type="pmid">20832477</pub-id></citation></ref>
<ref id="B49">
<label>49.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Verhellen</surname> <given-names>E</given-names></name> <name><surname>Boon</surname> <given-names>P</given-names></name></person-group>. <article-title>EEG source localization of the epileptogenic focus in patients with refractory temporal lobe epilepsy, dipole modelling revisited</article-title>. <source>Acta Neurol Belg.</source> (<year>2007</year>) <volume>107</volume>:<fpage>71</fpage>&#x02013;<lpage>7</lpage>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.actaneurologica.be/pdf.php?annee=2007&#x00026;trimestre=3">http://www.actaneurologica.be/pdf.php?annee=2007&#x00026;trimestre=3</ext-link> <pub-id pub-id-type="pmid">18072334</pub-id></citation></ref>
<ref id="B50">
<label>50.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Gotman</surname> <given-names>J</given-names></name></person-group>. <article-title>Noninvasive methods for evaluating the localization and propagation of epileptic activity</article-title>. <source>Epilepsia.</source> (<year>2003</year>) <volume>44</volume>(<supplement>Suppl 1</supplement>):<fpage>21</fpage>&#x02013;<lpage>9</lpage>. <pub-id pub-id-type="doi">10.1111/j.0013-9580.2003.12003.x</pub-id><pub-id pub-id-type="pmid">14641558</pub-id></citation></ref>
<ref id="B51">
<label>51.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jansen</surname> <given-names>BH</given-names></name> <name><surname>Zouridakis</surname> <given-names>G</given-names></name> <name><surname>Brandt</surname> <given-names>ME</given-names></name></person-group>. <article-title>A neurophysiologically-based mathematical model of flash visual evoked potentials</article-title>. <source>Biol Cybern.</source> (<year>1993</year>) <volume>68</volume>:<fpage>275</fpage>&#x02013;<lpage>83</lpage>. <pub-id pub-id-type="doi">10.1007/BF00224863</pub-id><pub-id pub-id-type="pmid">8452897</pub-id></citation></ref>
<ref id="B52">
<label>52.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Merwe</surname> <given-names>RVD</given-names></name> <name><surname>Wan</surname> <given-names>EA</given-names></name></person-group>. <article-title>The square-root unscented Kalman filter for state and parameter-estimation</article-title>. in: <source>Proceedings of (ICASSP &#x00027;01) 2001 IEEE International Conference on Acoustics, Speech, and Signal Processing</source>, <volume>Vol. 6</volume>. <publisher-loc>Salt Lake City</publisher-loc> (<year>2001</year>). p. <fpage>3461</fpage>&#x02013;<lpage>4</lpage>.</citation></ref>
<ref id="B53">
<label>53.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Julier</surname> <given-names>SJ</given-names></name> <name><surname>Uhlmann</surname> <given-names>JK</given-names></name></person-group>. <article-title>Unscented filtering and nonlinear estimation</article-title>. <source>Proc IEEE</source> (<year>2004</year>) <volume>92</volume>:<fpage>401</fpage>&#x02013;<lpage>22</lpage>. <pub-id pub-id-type="doi">10.1109/JPROC.2003.823141</pub-id></citation></ref>
<ref id="B54">
<label>54.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kalman</surname> <given-names>RE</given-names></name></person-group>. <article-title>A new approach to linear filtering and prediction problems</article-title>. <source>Trans ASME J Basic Eng.</source> (<year>1960</year>) <volume>82</volume>:<fpage>35</fpage>&#x02013;<lpage>45</lpage>. <pub-id pub-id-type="doi">10.1115/1.3662552</pub-id></citation></ref>
<ref id="B55">
<label>55.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Silva</surname> <given-names>FHLD</given-names></name> <name><surname>Hoeks</surname> <given-names>A</given-names></name> <name><surname>Smits</surname> <given-names>H</given-names></name> <name><surname>Zetterberg</surname> <given-names>LH</given-names></name></person-group>. <article-title>Model of brain rhythmic activity</article-title>. <source>Kybernetic</source> (<year>1974</year>) <volume>15</volume>:<fpage>27</fpage>&#x02013;<lpage>37</lpage>. <pub-id pub-id-type="doi">10.1007/BF00270757</pub-id></citation></ref>
<ref id="B56">
<label>56.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Faugeras</surname> <given-names>O</given-names></name> <name><surname>Touboul</surname> <given-names>J</given-names></name> <name><surname>Cessac</surname> <given-names>B</given-names></name></person-group>. <article-title>A constructive mean-field analysis of multi-population neural networks with random synaptic weights and stochastic inputs</article-title>. <source>Front Comput Neurosci.</source> (<year>2009</year>) <volume>3</volume>:<fpage>1</fpage>. <pub-id pub-id-type="doi">10.3389/neuro.10.001.2009</pub-id><pub-id pub-id-type="pmid">19255631</pub-id></citation></ref>
<ref id="B57">
<label>57.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Grimbert</surname> <given-names>F</given-names></name> <name><surname>Faugeras</surname> <given-names>O</given-names></name></person-group>. <source>Analysis of Jansen&#x00027;s Model of a Single Cortical Column</source>. <publisher-name>Research Report INRIA</publisher-name> (<year>2006</year>).</citation></ref>
<ref id="B58">
<label>58.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pons</surname> <given-names>AJ</given-names></name> <name><surname>Cantero</surname> <given-names>JL</given-names></name> <name><surname>Atienza</surname> <given-names>M</given-names></name> <name><surname>Garcia-Ojalvo</surname> <given-names>J</given-names></name></person-group>. <article-title>Relating structural and functional anomalous connectivity in the aging brain via neural mass modeling</article-title>. <source>Neuroimage</source> (<year>2010</year>) <volume>52</volume>:<fpage>848</fpage>&#x02013;<lpage>61</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2009.12.105</pub-id><pub-id pub-id-type="pmid">20056154</pub-id></citation></ref>
<ref id="B59">
<label>59.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Silva</surname> <given-names>FLD</given-names></name></person-group>. <article-title>5. In: EEG: Origin and Measurement</article-title>. <publisher-name>World Scientific Publishing Co.</publisher-name> (<year>2011</year>). p. <fpage>63</fpage>&#x02013;<lpage>82</lpage>. Available online at: <ext-link ext-link-type="uri" xlink:href="http://www.worldscientific.com/doi/abs/10.1142/9789814525350_0005">http://www.worldscientific.com/doi/abs/10.1142/9789814525350_0005</ext-link></citation></ref>
<ref id="B60">
<label>60.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Ary</surname> <given-names>JP</given-names></name> <name><surname>Klein</surname> <given-names>SA</given-names></name> <name><surname>Fender</surname> <given-names>DH</given-names></name></person-group>. <article-title>Location of sources of evoked scalp potentials: corrections for skull and scalp thicknesses</article-title>. <source>IEEE Trans Biomed Eng</source> (<year>1981</year>) <volume>28</volume>:<fpage>447</fpage>&#x02013;<lpage>52</lpage>. <pub-id pub-id-type="doi">10.1109/TBME.1981.324817</pub-id><pub-id pub-id-type="pmid">7287042</pub-id></citation></ref>
<ref id="B61">
<label>61.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Jurcak</surname> <given-names>V</given-names></name> <name><surname>Tsuzuki</surname> <given-names>D</given-names></name> <name><surname>Dan</surname> <given-names>I</given-names></name></person-group>. <article-title>10/20, 10/10, and 10/5 systems revisited: their validity as relative head-surface-based positioning systems</article-title>. <source>Neuroimage</source> (<year>2007</year>) <volume>34</volume>:<fpage>1600</fpage>&#x02013;<lpage>11</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2006.09.024</pub-id><pub-id pub-id-type="pmid">17207640</pub-id></citation></ref>
<ref id="B62">
<label>62.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Berg</surname> <given-names>P</given-names></name> <name><surname>Scherg</surname> <given-names>M</given-names></name></person-group>. <article-title>A fast method for forward computation of multiple-shell spherical head models</article-title>. <source>Electroencephalogr Clin Neurophysiol.</source> (<year>1994</year>) <volume>90</volume>:<fpage>58</fpage>&#x02013;<lpage>64</lpage>. <pub-id pub-id-type="doi">10.1016/0013-4694(94)90113-9</pub-id><pub-id pub-id-type="pmid">7509274</pub-id></citation></ref>
<ref id="B63">
<label>63.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Merwe</surname> <given-names>RVD</given-names></name> <name><surname>Wan</surname> <given-names>EA</given-names></name></person-group>. <article-title>The unscented kalman filter for nonlinear estimation</article-title>. In: <source>Adaptive Systems for Signal Processing, Communications, and Control Symposium 2000, AS-SPCC</source>. <publisher-loc>Lake Louise, CA</publisher-loc>: <publisher-name>IEEE</publisher-name> (<year>2000</year>). p. <fpage>153</fpage>&#x02013;<lpage>8</lpage>.</citation></ref>
<ref id="B64">
<label>64.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Solonen</surname> <given-names>A</given-names></name> <name><surname>Hakkarainen</surname> <given-names>J</given-names></name> <name><surname>Ilin</surname> <given-names>A</given-names></name> <name><surname>Abbas</surname> <given-names>M</given-names></name> <name><surname>Bibov</surname> <given-names>A</given-names></name></person-group>. <article-title>Estimating model error covariance matrix parameters in extended Kalman filtering</article-title>. <source>Nonlinear Process Geophys.</source> (<year>2014</year>) <volume>21</volume>:<fpage>919</fpage>&#x02013;<lpage>27</lpage>. <pub-id pub-id-type="doi">10.5194/npg-21-919-2014</pub-id></citation></ref>
<ref id="B65">
<label>65.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Cantero</surname> <given-names>JL</given-names></name> <name><surname>Atienza</surname> <given-names>M</given-names></name> <name><surname>Gomez-Herrero</surname> <given-names>G</given-names></name> <name><surname>Cruz-Vadell</surname> <given-names>A</given-names></name> <name><surname>Gil-Neciga</surname> <given-names>E</given-names></name> <name><surname>Rodriguez-Romero</surname> <given-names>R</given-names></name> <etal/></person-group>. <article-title>Functional integrity of thalamocortical circuits differentiates normal aging from mild cognitive impairment</article-title>. <source>Hum Brain Mapp</source>. (<year>2009</year>) <volume>30</volume>:<fpage>3944</fpage>&#x02013;<lpage>57</lpage>. <pub-id pub-id-type="doi">10.1002/hbm.20819</pub-id><pub-id pub-id-type="pmid">19449329</pub-id></citation></ref>
<ref id="B66">
<label>66.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Richards</surname> <given-names>JE</given-names></name></person-group>. <article-title>Recovering dipole sources from scalp-recorded event-related-potentials using component analysis: principal component analysis and independent component analysis</article-title>. <source>Int J Psychophysiol</source>. (<year>2004</year>) <volume>54</volume>:<fpage>201</fpage>&#x02013;<lpage>20</lpage>. <pub-id pub-id-type="doi">10.1016/j.ijpsycho.2004.03.009</pub-id><pub-id pub-id-type="pmid">15331212</pub-id></citation></ref>
<ref id="B67">
<label>67.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Crispin</surname> <given-names>W</given-names></name> <name><surname>Gardiner</surname></name></person-group>. <source>Handbook of Stochastic Methods for Physics, Chemistry, and the Natural Sciences.</source> <publisher-loc>Berlin</publisher-loc>: <publisher-name>Springer</publisher-name> (<year>2004</year>).</citation></ref>
<ref id="B68">
<label>68.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Garcia-Ojalvo</surname> <given-names>J</given-names></name> <name><surname>Sancho</surname> <given-names>J</given-names></name></person-group>. <source>Noise in Spatially Extended Systems, 1999th Edn.</source> <publisher-loc>New York, NY</publisher-loc>: <publisher-name>Institute for Nonlinear Science, Springer</publisher-name> (<year>1999</year>).</citation></ref>
<ref id="B69">
<label>69.</label>
<citation citation-type="journal"><person-group person-group-type="author"><collab>Easycap</collab></person-group>. <source>Easycap Equidistant Layouts.</source> (<year>2018</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://www.easycap.de/wordpress/wp-content/uploads/2018/02/Easycap-Equidistant-Layouts.pdf">https://www.easycap.de/wordpress/wp-content/uploads/2018/02/Easycap-Equidistant-Layouts.pdf</ext-link></citation></ref>
<ref id="B70">
<label>70.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Toral</surname> <given-names>R</given-names></name> <name><surname>Colet</surname> <given-names>P</given-names></name></person-group>. <source>Stochastic Numerical Methods: An Introduction for Students and Scientists</source>. <publisher-name>John Wiley &#x00026; Sons</publisher-name> (<year>2014</year>).</citation></ref>
<ref id="B71">
<label>71.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Liu</surname> <given-names>X</given-names></name> <name><surname>Gao</surname> <given-names>Q</given-names></name></person-group>. <article-title>Parameter estimation and control for a neural mass model based on the unscented Kalman filter</article-title>. <source>Phys Rev E</source>. (<year>2013</year>) <volume>88</volume>:<fpage>042905</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevE.88.042905</pub-id><pub-id pub-id-type="pmid">24229247</pub-id></citation></ref>
<ref id="B72">
<label>72.</label>
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Schiff</surname> <given-names>SJ</given-names></name></person-group>. <article-title>Neural control engineering: the emerging intersection between control theory and neuroscience</article-title>. In: <source>Computational Neuroscience</source>. <publisher-name>MIT Press</publisher-name> (<year>2012</year>). Available online at: <ext-link ext-link-type="uri" xlink:href="https://books.google.es/books?id=P9UvTQtnqKwC">https://books.google.es/books?id=P9UvTQtnqKwC</ext-link></citation></ref>
<ref id="B73">
<label>73.</label>
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Moye</surname> <given-names>MJ</given-names></name> <name><surname>Diekman</surname> <given-names>CO</given-names></name></person-group>. <article-title>Data assimilation methods for neuronal state and parameter estimation</article-title>. <source>J Math Neurosci</source>. (<year>2018</year>) <volume>8</volume>:<fpage>11</fpage>. <pub-id pub-id-type="doi">10.1186/s13408-018-0066-8</pub-id><pub-id pub-id-type="pmid">30094571</pub-id></citation></ref>
</ref-list>
<app-group>
<app id="A1">
<title>Appendix: the unscented Kalman filter (UKF) algorithm</title>
<p>UKF is a predictor-corrector algorithm that estimates the state and parameters at a given time step <italic>k</italic> in two phases. The first one predicts the state based solely on the dynamical information of the system, i.e., the model. The second incorporates a measurement with which to correct the first estimation. Table <xref ref-type="table" rid="T4">A1</xref> presents the symbols used in this paper for the variables of the Kalman filter.</p>
<table-wrap position="float" id="T4">
<label>Table A1</label>
<caption><p>Variables of the Unscented Kalman Filter.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Parameter</bold></th>
<th valign="top" align="left"><bold>Description</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left"><inline-formula><mml:math id="M38"><mml:mstyle mathvariant="bold-italic"><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mstyle></mml:math></inline-formula></td>
<td valign="top" align="left">State estimate</td>
</tr>
<tr>
<td valign="top" align="left"><inline-formula><mml:math id="M39"><mml:mstyle mathvariant="bold-italic"><mml:msup><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mo>-</mml:mo></mml:mrow></mml:msup></mml:mstyle></mml:math></inline-formula></td>
<td valign="top" align="left"><italic>a priori</italic> state estimate</td>
</tr>
<tr>
<td valign="top" align="left"><bold>&#x003A3;</bold></td>
<td valign="top" align="left">Sigma points</td>
</tr>
<tr>
<td valign="top" align="left"><bold><italic>X</italic><sup>&#x0002A;</sup></bold></td>
<td valign="top" align="left">Transformed sigma points</td>
</tr>
<tr>
<td valign="top" align="left"><bold>X</bold></td>
<td valign="top" align="left">Redrawn sigma points [<xref ref-type="bibr" rid="B52">52</xref>]</td>
</tr>
<tr>
<td valign="top" align="left"><bold>&#x003A5;</bold></td>
<td valign="top" align="left">Sigma points projected to measurement space</td>
</tr>
<tr>
<td valign="top" align="left"><bold><italic>y</italic><sup>&#x02212;</sup></bold></td>
<td valign="top" align="left">Estimated measurement</td>
</tr>
<tr>
<td valign="top" align="left"><bold>z</bold></td>
<td valign="top" align="left">Measurement</td>
</tr>
<tr>
<td valign="top" align="left"><italic>f</italic></td>
<td valign="top" align="left">Model of the system</td>
</tr>
<tr>
<td valign="top" align="left"><bold>H</bold></td>
<td valign="top" align="left">Observation model</td>
</tr>
<tr>
<td valign="top" align="left"><italic>n</italic></td>
<td valign="top" align="left">State size</td>
</tr>
<tr>
<td valign="top" align="left">&#x003BB;</td>
<td valign="top" align="left">Scaling parameter</td>
</tr>
<tr>
<td valign="top" align="left">&#x003B1;</td>
<td valign="top" align="left">Primary scaling factor</td>
</tr>
<tr>
<td valign="top" align="left">&#x003B2;</td>
<td valign="top" align="left">Secondary scaling factor</td>
</tr>
<tr>
<td valign="top" align="left">&#x003BA;</td>
<td valign="top" align="left">Tertiary scaling factor</td>
</tr>
<tr>
<td valign="top" align="left"><italic>W</italic><sup><italic>m</italic></sup></td>
<td valign="top" align="left">Weight vector for the mean</td>
</tr>
<tr>
<td valign="top" align="left"><italic>W</italic><sup><italic>cov</italic></sup></td>
<td valign="top" align="left">Weight vector for the covariance</td>
</tr>
<tr>
<td valign="top" align="left"><bold>P</bold></td>
<td valign="top" align="left">State covariance estimate</td>
</tr>
<tr>
<td valign="top" align="left"><bold><italic>P</italic><sup>&#x02212;</sup></bold></td>
<td valign="top" align="left"><italic>a priori</italic> state covariance estimate</td>
</tr>
<tr>
<td valign="top" align="left"><bold><italic>P</italic><sub><italic>yy</italic></sub></bold></td>
<td valign="top" align="left">Predicted measurement covariance</td>
</tr>
<tr>
<td valign="top" align="left"><bold><italic>P</italic><sub><italic>xy</italic></sub></bold></td>
<td valign="top" align="left">State-measurement cross-covariance</td>
</tr>
<tr>
<td valign="top" align="left"><bold>Q</bold></td>
<td valign="top" align="left">State error covariance<sup>&#x0002A;</sup></td>
</tr>
<tr>
<td valign="top" align="left"><bold>R</bold></td>
<td valign="top" align="left">Measurement error covariance<sup>&#x0002A;</sup></td>
</tr>
<tr>
<td valign="top" align="left"><bold>K</bold></td>
<td valign="top" align="left">Kalman gain</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The first step of the algorithm involves computing the expectation of the state and of the state covariance at time instant <italic>k</italic> &#x0002B; 1, known as the <italic>a priori</italic> estimation. For this we use a numerical implementation (using Heun&#x00027;s solver) of Jansen and Rit&#x00027;s model of a cortical column [<xref ref-type="bibr" rid="B26">26</xref>, <xref ref-type="bibr" rid="B51">51</xref>], as described in the section 2.2.</p>
<p>The nature of the nonlinearities of this model prevents us from using a simple linearisation approach to propagating the statistics of the state variables across the transformation, as would be the case if we used the extended Kalman filter, for example. Therefore, we incorporate the unscented transform (UT) in our formulation of the Kalman filter, which, instead of attempting to propagate a distribution through the nonlinearity, first propagates a series of deterministically chosen points through the nonlinearity and then recovers the statistical information of the distribution from these.</p>
<p>Therefore, the <italic>a priori</italic> estimation of the state, <inline-formula><mml:math id="M40"><mml:mrow><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>, is obtained as follows, beginning with the calculation and projection of the 2<italic>n</italic> &#x0002B; 1 (where <italic>n</italic> is the state size) sigma points,</p>
<disp-formula id="E23"><mml:math id="M41"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A3;</mml:mo></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>0</mml:mn></mml:mstyle></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E24"><label>(A1)</label><mml:math id="M42"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A3;</mml:mo></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub><mml:mo>+</mml:mo><mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msqrt><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mi>&#x003BB;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>P</mml:mi></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub></mml:mrow></mml:msqrt></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>...</mml:mn><mml:mo>,</mml:mo><mml:mi>n</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E25"><mml:math id="M43"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A3;</mml:mo></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mrow><mml:mo>(</mml:mo><mml:mrow><mml:msqrt><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mi>&#x003BB;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>P</mml:mi></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub></mml:mrow></mml:msqrt></mml:mrow><mml:mo>)</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>...</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mi>n</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic><bold>P</bold></italic><sub><italic><bold>k</bold></italic>&#x02212;<bold>1</bold></sub> is the estimated state covariance matrix for the previous time step. The square root of this matrix is well-defined, and can be calculated efficiently via a Cholesky decomposition [<xref ref-type="bibr" rid="B52">52</xref>]. This continues with the condensation of the projected sigma points into the <italic>a priori</italic> state estimate:</p>
<disp-formula id="E26"><label>(A2)</label><mml:math id="M44"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>X</mml:mi></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow><mml:mo>&#x0002A;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mi>f</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A3;</mml:mo></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E27"><label>(A3)</label><mml:math id="M45"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>L</mml:mi></mml:mrow></mml:munderover><mml:mrow><mml:msubsup><mml:mi>W</mml:mi><mml:mi>i</mml:mi><mml:mi>m</mml:mi></mml:msubsup></mml:mrow></mml:mstyle><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>X</mml:mi></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow><mml:mo>&#x0002A;</mml:mo></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E28"><label>(A4)</label><mml:math id="M46"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>P</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>L</mml:mi></mml:mrow></mml:munderover><mml:mrow><mml:msubsup><mml:mi>W</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mstyle><mml:mo stretchy='false'>[</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>X</mml:mi></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow><mml:mo>&#x0002A;</mml:mo></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo stretchy='false'>]</mml:mo><mml:msup><mml:mrow><mml:mo stretchy='false'>[</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>X</mml:mi></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow><mml:mo>&#x0002A;</mml:mo></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo stretchy='false'>]</mml:mo></mml:mrow><mml:mi>T</mml:mi></mml:msup><mml:mo>+</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>Q</mml:mi></mml:mstyle></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic><bold>Q</bold></italic> is the state error covariance and <italic><bold>W<sup>m</sup></bold></italic> and <italic><bold>W<sup>cov</sup></bold></italic> are the weight vectors, defined as</p>
<disp-formula id="E30"><mml:math id="M48"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mi>W</mml:mi><mml:mn>0</mml:mn><mml:mi>m</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mi>&#x003BB;</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mi>&#x003BB;</mml:mi></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E31"><label>(A5)</label><mml:math id="M49"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mi>W</mml:mi><mml:mn>0</mml:mn><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mi>&#x003BB;</mml:mi><mml:mrow><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mi>&#x003BB;</mml:mi></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mn>1</mml:mn><mml:mo>&#x02212;</mml:mo><mml:msup><mml:mi>&#x003B1;</mml:mi><mml:mn>2</mml:mn></mml:msup><mml:mo>+</mml:mo><mml:mi>&#x003B2;</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E32"><mml:math id="M50"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mi>W</mml:mi><mml:mi>i</mml:mi><mml:mi>m</mml:mi></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mi>W</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>2</mml:mn><mml:mo stretchy='false'>(</mml:mo><mml:mi>n</mml:mi><mml:mo>+</mml:mo><mml:mi>&#x003BB;</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:mfrac><mml:mo>,</mml:mo><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>,</mml:mo><mml:mn>...</mml:mn><mml:mo>,</mml:mo><mml:mn>2</mml:mn><mml:mi>n</mml:mi></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>In Equations 1 and 5, &#x003B1;, &#x003B2; and &#x003BA; are scaling factors, and &#x003BB;, which is crucial to guarantee a positive semi-definite covariance matrix <italic><bold>P</bold></italic>, is calculated as &#x003BB; &#x0003D; &#x003B1;<sup>2</sup>(<italic>n</italic> &#x0002B; &#x003BA;) &#x02212; <italic>n</italic>. The primary scaling factor &#x003B1; determines the spread of the sigma points around the mean and is set at 0.001, it being usually set between 0.001 and 1 [<xref ref-type="bibr" rid="B63">63</xref>] and chosen according to the quality of the resulting estimation. The secondary scaling factor &#x003B2; contains prior information about the distribution of <italic><bold>x</bold></italic>; for Gaussian distributions, its optimal value is 2. Finally, &#x003BA;, the tertiary scaling parameter, is set to 0, as is a usual practice [<xref ref-type="bibr" rid="B63">63</xref>].</p>
<p>We now use a measurement to correct the state estimation, which implies the mapping of the <italic>a priori</italic> estimate onto the measurement space for comparison. In our case, this transformation is a linear matrix <italic><bold>H</bold></italic> that relates the state of the cortical columns to an EEG reading (see section 2.2 for details). The sigma points &#x003A3;<sub><italic>k</italic>|<italic>k</italic>&#x02212;1</sub> are projected into the measurement space [<xref ref-type="bibr" rid="B52">52</xref>]</p>
<disp-formula id="E33"><label>(A6)</label><mml:math id="M51"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A5;</mml:mo></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>H</mml:mi></mml:mstyle><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A3;</mml:mo></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub><mml:mo stretchy='false'>]</mml:mo><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>from which the estimation of the measurement, <inline-formula><mml:math id="M52"><mml:mrow><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup></mml:mrow></mml:math></inline-formula>, is calculated:</p>
<disp-formula id="E34"><label>(A7)</label><mml:math id="M53"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>L</mml:mi></mml:mrow></mml:munderover><mml:mrow><mml:msubsup><mml:mi>W</mml:mi><mml:mi>i</mml:mi><mml:mi>m</mml:mi></mml:msubsup></mml:mrow></mml:mstyle><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A5;</mml:mo></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>The second step of the algorithm corrects the <italic>a priori</italic> estimation of state and covariance by using the information available from the most recent measurement (in our case, an EEG reading). The impact of the measurement is determined by the Kalman gain <italic><bold>K<sub>k</sub></bold></italic>, which essentially expresses the level of confidence on the accuracy of the model and the level of noise in the data.</p>
<disp-formula id="E35"><label>(A8)</label><mml:math id="M54"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>P</mml:mi></mml:mstyle><mml:mrow><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>y</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>y</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>L</mml:mi></mml:mrow></mml:munderover><mml:mrow><mml:msubsup><mml:mi>W</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mstyle><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A5;</mml:mo></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo stretchy='false'>]</mml:mo><mml:msup><mml:mrow><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A5;</mml:mo></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo stretchy='false'>]</mml:mo></mml:mrow><mml:mi>T</mml:mi></mml:msup><mml:mo>+</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>R</mml:mi></mml:mstyle></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E36"><label>(A9)</label><mml:math id="M55"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>P</mml:mi></mml:mstyle><mml:mrow><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>x</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>y</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:munderover><mml:mo>&#x02211;</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mi>L</mml:mi></mml:mrow></mml:munderover><mml:mrow><mml:msubsup><mml:mi>W</mml:mi><mml:mi>i</mml:mi><mml:mrow><mml:mi>c</mml:mi><mml:mi>o</mml:mi><mml:mi>v</mml:mi></mml:mrow></mml:msubsup></mml:mrow></mml:mstyle><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>X</mml:mi></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo stretchy='false'>]</mml:mo><mml:msup><mml:mrow><mml:mo stretchy='false'>[</mml:mo><mml:msub><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A5;</mml:mo></mml:mstyle><mml:mrow><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>i</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mn>1</mml:mn></mml:mstyle></mml:mrow></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo stretchy='false'>]</mml:mo></mml:mrow><mml:mi>T</mml:mi></mml:msup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E37"><label>(A10)</label><mml:math id="M56"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>K</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>P</mml:mi></mml:mstyle><mml:mrow><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>x</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>y</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub></mml:mrow></mml:msub><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:msup><mml:mstyle displaystyle='true'><mml:mrow><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>P</mml:mi></mml:mstyle><mml:mrow><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>y</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>y</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub></mml:mrow></mml:msub></mml:mrow></mml:mstyle><mml:mrow><mml:mo>&#x02212;</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E38"><label>(A11)</label><mml:math id="M57"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo>+</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>K</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>z</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mover accent='true'><mml:mi>y</mml:mi><mml:mo>&#x0005E;</mml:mo></mml:mover></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo stretchy='false'>)</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E39"><label>(A12)</label><mml:math id="M58"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>P</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:mo>=</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>P</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>K</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>P</mml:mi></mml:mstyle><mml:mrow><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>y</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>y</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub></mml:mrow></mml:msub><mml:mtext>&#x000A0;&#x000A0;</mml:mtext><mml:msup><mml:mstyle displaystyle='true'><mml:mrow><mml:msub><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>K</mml:mi></mml:mstyle><mml:mstyle mathvariant='bold-italic' mathsize='normal'><mml:mi>k</mml:mi></mml:mstyle></mml:msub></mml:mrow></mml:mstyle><mml:mi>T</mml:mi></mml:msup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic><bold>P<sub>y<sub>k</sub>y<sub>k</sub></sub></bold></italic> is the predicted measurement covariance, <italic><bold>P<sub>x<sub>k</sub>y<sub>k</sub></sub></bold></italic> is the state-measurement cross-covariance, <italic><bold>R</bold></italic> is the measurement error covariance, and <italic><bold>z<sub>k</sub></bold></italic> is the measurement for the current time step.</p>
</app>
</app-group>
<fn-group>
<fn fn-type="financial-disclosure"><p><bold>Funding.</bold> This work was partially supported by the Spanish Ministry of Economy and Competitiveness and FEDER (project FIS2015-66503) and by the Catalan Government (AGAUR grant FI-DGR 2014-2017). JG-O also acknowledges support from the Catalan Government (project 2014SGR0947), the ICREA Academia programme, and from the Mar&#x000ED;a de Maeztu programme for Units of Excellence in R&#x00026;D (Spanish Ministry of Economy and Competitiveness, MDM-2014-0370).</p>
</fn>
</fn-group>
</back>
</article>