<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Archiving and Interchange DTD v2.3 20070202//EN" "archivearticle.dtd">
<article xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="methods-article">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Comput. Neurosci.</journal-id>
<journal-title>Frontiers in Computational Neuroscience</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Comput. Neurosci.</abbrev-journal-title>
<issn pub-type="epub">1662-5188</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.3389/fncom.2022.968278</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Neuroscience</subject>
<subj-group>
<subject>Methods</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Mean-field based framework for forward modeling of LFP and MEG signals</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes">
<name><surname>Tesler</surname> <given-names>Federico</given-names></name>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1858237/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Tort-Colet</surname> <given-names>N&#x000FA;ria</given-names></name>
<uri xlink:href="http://loop.frontiersin.org/people/225465/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Depannemaecker</surname> <given-names>Damien</given-names></name>
<uri xlink:href="http://loop.frontiersin.org/people/494983/overview"/>
</contrib>
<contrib contrib-type="author">
<name><surname>Carlu</surname> <given-names>Mallory</given-names></name>
</contrib>
<contrib contrib-type="author">
<name><surname>Destexhe</surname> <given-names>Alain</given-names></name>
</contrib>
</contrib-group>
<aff><institution>CNRS, Paris-Saclay Institute of Neuroscience (NeuroPSI), Paris-Saclay University</institution>, <addr-line>Saclay</addr-line>, <country>France</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Maurizio Mattia, National Institute of Health (ISS), Italy</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Torbj&#x000F8;rn Vefferstad Ness, Norwegian University of Life Sciences, Norway; Ali Khadem, K. N. Toosi University of Technology, Iran</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Federico Tesler <email>ftesler&#x00040;gmail.com</email></corresp>
</author-notes>
<pub-date pub-type="epub">
<day>13</day>
<month>10</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2022</year>
</pub-date>
<volume>16</volume>
<elocation-id>968278</elocation-id>
<history>
<date date-type="received">
<day>13</day>
<month>06</month>
<year>2022</year>
</date>
<date date-type="accepted">
<day>17</day>
<month>08</month>
<year>2022</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2022 Tesler, Tort-Colet, Depannemaecker, Carlu and Destexhe.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Tesler, Tort-Colet, Depannemaecker, Carlu and Destexhe</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>The use of mean-field models to describe the activity of large neuronal populations has become a very powerful tool for large-scale or whole brain simulations. However, the calculation of brain signals from mean-field models, such as the electric and magnetic fields, is still under development. Thus, the emergence of new methods for an accurate and efficient calculation of such brain signals is currently of great relevance. In this paper we propose a novel method to calculate the local field potentials (LFP) and magnetic fields from mean-field models. The calculation of LFP is done <italic>via</italic> a kernel method based on unitary LFP&#x00027;s (the LFP generated by a single axon) that was recently introduced for spiking-networks simulations and that we adapt here for mean-field models. The calculation of the magnetic field is based on current-dipole and volume-conductor models, where the secondary currents (due to the conducting extracellular medium) are estimated using the LFP calculated <italic>via</italic> the kernel method and the effects of medium-inhomogeneities are incorporated. We provide an example of the application of our method for the calculation of LFP and MEG under slow-waves of neuronal activity generated by a mean-field model of a network of Adaptive-Exponential Integrate-and-Fire (AdEx) neurons. We validate our method <italic>via</italic> comparison with results obtained from the corresponding spiking neuronal networks. Finally we provide an example of our method for whole brain simulations performed with The Virtual Brain (TVB), a recently developed tool for large scale simulations of the brain. Our method provides an efficient way of calculating electric and magnetic fields from mean-field models. This method exhibits a great potential for its application in large-scale or whole-brain simulations, where calculations <italic>via</italic> detailed biological models are not feasible.</p></abstract>
<kwd-group>
<kwd>magnetoencephalography (MEG)</kwd>
<kwd>local field potential (LFP)</kwd>
<kwd>mean field (MF)</kwd>
<kwd>whole brain analysis</kwd>
<kwd>forward modeling</kwd>
</kwd-group>
<contract-num rid="cn001">H2020-785907</contract-num>
<contract-num rid="cn001">H2020-945539</contract-num>
<contract-sponsor id="cn001">European Commission<named-content content-type="fundref-id">10.13039/501100000780</named-content></contract-sponsor>
<counts>
<fig-count count="6"/>
<table-count count="0"/>
<equation-count count="20"/>
<ref-count count="36"/>
<page-count count="11"/>
<word-count count="7667"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>The electric and magnetic fields generated by neuronal currents are two commonly used brain signals to study neuronal activity. The measurement of these two signals involve different experimental techniques that can capture neuronal activity at different scales. The registration of electric local field potentials (LFP) involves invasive experimental techniques to measure the electric potential in the cerebral extracellular medium and it captures the activity of thousands of nearby neurons, in particular their synaptic activity (Niedermeyer and Lopes Da Silva, <xref ref-type="bibr" rid="B27">2005</xref>; Buzs&#x000E1;ki et al., <xref ref-type="bibr" rid="B4">2012</xref>). On the other hand, the measurement of the magnetic field in MEG (magnetoencephalogram) is a non-invasive technique that captures the field generated by thousands to millions of neurons. Among non-invasive techniques to measure neuronal activity, MEG provides a relatively high spatial and temporal resolution, which are currently in the order of millimeters and milliseconds, respectively (De Pasquale et al., <xref ref-type="bibr" rid="B6">2010</xref>; Hansen et al., <xref ref-type="bibr" rid="B17">2010</xref>; Stokes et al., <xref ref-type="bibr" rid="B34">2015</xref>).</p>
<p>The calculation of these signals from the underlying neuronal sources (usually referred to as &#x0201C;forward-modeling&#x0201D;) can be performed <italic>via</italic> detailed biophysical models (H&#x000E4;m&#x000E4;l&#x000E4;inen et al., <xref ref-type="bibr" rid="B16">1993</xref>; B&#x000E9;dard et al., <xref ref-type="bibr" rid="B2">2004</xref>; Nunez et al., <xref ref-type="bibr" rid="B28">2006</xref>; B&#x000E9;dard and Destexhe, <xref ref-type="bibr" rid="B1">2012</xref>; Lind&#x000E9;n et al., <xref ref-type="bibr" rid="B20">2014</xref>; Hagen et al., <xref ref-type="bibr" rid="B15">2018</xref>; Ilmoniemi and Sarvas, <xref ref-type="bibr" rid="B18">2019</xref>). Although successful, this turns out to be very computationally demanding, specially when large populations of neurons are into consideration. Nowadays the utilization of mean-field models describing the activity of neuronal populations has become a powerful tool for large-scale simulations (Sanz Leon et al., <xref ref-type="bibr" rid="B29">2013</xref>; Depannemaecker et al., <xref ref-type="bibr" rid="B7">2021</xref>), however the calculation of brain signals from the mean-field models is still under development. Thus, the emergence of new modeling-frameworks that allow an accurate and efficient calculation of multiple brain-signals from mean-field models is currently of great interest.</p>
<p>In this paper we provide a method to calculate the LFP and MEG signals from mean-field models. To calculate the LFP we base our method on the unitary LFP (uLFP), which is the LFP generated by the post-synaptic currents from a single axon. We adopt a recently developed kernel-method based on uLFP&#x00027;s for spiking neural networks (Telenczuk et al., <xref ref-type="bibr" rid="B36">2020</xref>) and we adapt this method for its application to mean-field models. Kernel methods based on neuronal models (Hagen et al., <xref ref-type="bibr" rid="B14">2016</xref>) and experimental data (Telenczuk et al., <xref ref-type="bibr" rid="B36">2020</xref>) have been proposed for the calculation of LFP&#x00027;s. In our approach we use a kernel method based on experimental data of uLFP&#x00027;s (Telenczuk et al., <xref ref-type="bibr" rid="B36">2020</xref>), which is not restricted by specific model constraints.</p>
<p>To calculate the magnetic-field we make use of current-dipole and volume-conductor models for an inhomogeneous medium. We estimate the contribution of neuronal currents to the magnetic field from a mean-field model and we incorporate the previous estimation of the LFP to calculate the contribution of secondary currents due to the medium conduction. We provide an example of our method for the calculation of the LFP and MEG under slow-wave activity generated by a mean-field model of Adaptive-Exponential Integrate-and-Fire (AdEx) neurons. To validate our method we compare the results with the ones obtained from simulations of the corresponding spiking neural networks. Finally we provide an example of our method for whole brain simulations performed with The Virtual Brain (TVB), a recently developed tool for large scale simulations of the brain (Sanz Leon et al., <xref ref-type="bibr" rid="B29">2013</xref>; Goldman et al., <xref ref-type="bibr" rid="B13">2020</xref>).</p>
</sec>
<sec id="s2">
<title>2. Method</title>
<sec>
<title>2.1. Calculation of the electric potential from mean-field models</title>
<p>To calculate the extracellular electric potential (LFP) we will make use of a recently developed kernel method based on unitary-LFP&#x00027;s (uLFP) (Telenczuk et al., <xref ref-type="bibr" rid="B36">2020</xref>). This method was designed for the estimation of LFP&#x00027;s from spiking network simulations and consists in convolving the spikes of the network with two kernels, according to the formula:</p>
<disp-formula id="E1"><label>(1)</label><mml:math id="M1"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msub><mml:mi>V</mml:mi><mml:mi>e</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x0222B;</mml:mo></mml:mstyle><mml:mtext>&#x000A0;</mml:mtext></mml:msup><mml:mtext>&#x000A0;</mml:mtext></mml:msup><mml:msub><mml:mi>K</mml:mi><mml:mi>e</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>&#x003C4;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='true'>(</mml:mo><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mi>j</mml:mi></mml:munder><mml:mrow><mml:mi>&#x003B4;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>&#x003C4;</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='true'>)</mml:mo><mml:mi>d</mml:mi><mml:mi>&#x003C4;</mml:mi></mml:mrow></mml:mstyle></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;</mml:mtext><mml:mo>+</mml:mo><mml:msup><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x0222B;</mml:mo></mml:mstyle><mml:mtext>&#x000A0;</mml:mtext></mml:msup><mml:mtext>&#x000A0;</mml:mtext></mml:msup><mml:msub><mml:mi>K</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>&#x003C4;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='true'>(</mml:mo><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mi>j</mml:mi></mml:munder><mml:mrow><mml:mi>&#x003B4;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:mi>&#x003C4;</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>t</mml:mi><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo stretchy='true'>)</mml:mo><mml:mi>d</mml:mi><mml:mi>&#x003C4;</mml:mi><mml:mtext>&#x000A0;</mml:mtext><mml:mo>,</mml:mo></mml:mrow></mml:mstyle></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M3"><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> and <inline-formula><mml:math id="M4"><mml:msub><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> are the kernels associated with spikes from excitatory and inhibitory neurons, respectively, while {<italic>t</italic><sub><italic>e,j</italic></sub>} and {<italic>t</italic><sub><italic>i,j</italic></sub>} are the spiking times of excitatory and inhibitory neurons. In mean-field models, we typically deal with the mean firing activity of two populations, excitatory and inhibitory neurons, which we will note by &#x003BD;<sub><italic>e</italic></sub> and &#x003BD;<sub><italic>i</italic></sub>. To adapt this method to mean-field models, the precise timing spikes in the previous expression can be replaced by the rates of spiking activity, &#x003BD;<sub><italic>e</italic></sub> and &#x003BD;<sub><italic>i</italic></sub>, which yields:</p>
<disp-formula id="E3"><label>(2)</label><mml:math id="M5"><mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi>e</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>=</mml:mo><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x0222B;</mml:mo></mml:mstyle><mml:mtext>&#x000A0;</mml:mtext></mml:msup><mml:msub><mml:mi>K</mml:mi><mml:mi>e</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>&#x003C4;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>e</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>&#x003C4;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>d</mml:mi><mml:mi>&#x003C4;</mml:mi></mml:mrow></mml:mtd></mml:mtr><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mtext>&#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:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x0222B;</mml:mo></mml:mstyle><mml:mtext>&#x000A0;</mml:mtext></mml:msup><mml:msub><mml:mi>K</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mover accent='true'><mml:mi>x</mml:mi><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo>&#x02212;</mml:mo><mml:mi>&#x003C4;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>&#x003C4;</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mi>d</mml:mi><mml:mi>&#x003C4;</mml:mi><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula>
<p>where we have assumed that the spiking rates are high enough such that the typical inter-spike interval is small compared to the characteristic time of the kernel and thus the discrete spiking times can be replaced by the average firing rate. We notice that a typical size of a neuronal population in a mean-field is of thousands of cells with individual firing rates up to tens of Hz. Thus, for an electrode registering the activity of the population, this gives an inter-spike interval in the order of 1<italic>x</italic>10<sup>&#x02212;2</sup> ms, while the kernels (as shown below) have characteristic times of a few ms, which validates the previous assumption.</p>
<p>The kernels functions <italic>K</italic><sub><italic>e</italic></sub> and <italic>K</italic><sub><italic>i</italic></sub> were estimated from experimental data, by fitting a Gaussian template to the relation between single spikes and LFP&#x00027;s obtained in micro-electrode recordings (i.e., unitary LFP&#x00027;s) (Tele&#x00144;czuk et al., <xref ref-type="bibr" rid="B35">2017</xref>; Telenczuk et al., <xref ref-type="bibr" rid="B36">2020</xref>). The kernels at position <inline-formula><mml:math id="M7"><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:math></inline-formula> and time <italic>t</italic> are given by:</p>
<disp-formula id="E5"><label>(3)</label><mml:math id="M8"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>K</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>,</mml:mo><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:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mtext>&#x000A0;exp</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>/</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>2</mml:mn><mml:msup><mml:mrow><mml:mi>&#x003C3;</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:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>A</italic> is the amplitude (which can be negative), &#x003C3; is the standard deviation of the kernel in time, and <italic>t</italic><sub><italic>p</italic></sub> is the peak time of the kernel. The latter is given by</p>
<disp-formula id="E6"><label>(4)</label><mml:math id="M9"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>p</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:mi>d</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mo>|</mml:mo><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>v</mml:mi></mml:mrow><mml:mrow><mml:mi>a</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>t</italic><sub>0</sub> is the time of the spike of the cell, <inline-formula><mml:math id="M10"><mml:mo>|</mml:mo><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>|</mml:mo></mml:math></inline-formula> is the distance between position of the electrode <inline-formula><mml:math id="M11"><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:math></inline-formula> and the position <inline-formula><mml:math id="M12"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> of the current source, <italic>d</italic> is a constant delay, and <italic>v</italic><sub><italic>a</italic></sub> is the axonal speed. We use the value of <italic>v</italic><sub><italic>a</italic></sub> = 200 mm/s, estimated from human LFP recordings (Tele&#x00144;czuk et al., <xref ref-type="bibr" rid="B35">2017</xref>).</p>
<p>To model the observed near-exponential amplitude decay with distance, the following expression can be used for <inline-formula><mml:math id="M13"><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>, in cylindrical coordinates (Tele&#x00144;czuk et al., <xref ref-type="bibr" rid="B35">2017</xref>):</p>
<disp-formula id="E7"><label>(5)</label><mml:math id="M14"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>z</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mtext>&#x000A0;exp</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mo>|</mml:mo><mml:mi>x</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:mo>/</mml:mo><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>A</italic><sub>0</sub>(<italic>z</italic>) is the maximal amplitude, which depends on coordinate <italic>z</italic> (cortical depth), |<italic>x</italic> &#x02212; <italic>x</italic><sub>0</sub>| is the radial distance between position of the electrode <inline-formula><mml:math id="M15"><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:math></inline-formula> and the source at <inline-formula><mml:math id="M16"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> (see coordinate system in <xref ref-type="fig" rid="F1">Figure 1</xref> for a cylindrical region) and &#x003BB; is the space constant of the decay. From human microelectrode recordings, &#x003BB; was consistently found around 200&#x02013;250 &#x003BC;m (Tele&#x00144;czuk et al., <xref ref-type="bibr" rid="B35">2017</xref>). A diagram of the kernel and the corresponding values for <italic>A</italic><sub>0</sub>(<italic>z</italic>) are shown in <xref ref-type="fig" rid="F1">Figure 1</xref>.</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p><bold>(A)</bold> Diagram of a pyramidal neuron and the coordinate system. The dashed lines indicate the two compartments considered for the calculation of the magnetic fields. <bold>(B)</bold> Experimental measurements of the uLFP (circles) at different distances from the soma (x-coordinate) together with the uLFP kernel of Equation (3) (solid line). <bold>(C)</bold> Numerically estimated uLFP amplitude as a function of depth (z-coordinate) for inhibitory neurons (white and black circles correspond to different simulations of the same system, see Telenczuk et al., <xref ref-type="bibr" rid="B36">2020</xref>). <bold>(D)</bold> Amplitude of the uLFP for inhibitory and excitatory neurons at selected depths: Deep layers (<italic>z</italic> = &#x02013;400 &#x003BC;m), Soma (<italic>z</italic> = 0),Superficial layers (<italic>z</italic> = 400 &#x003BC;m) and Surface (<italic>z</italic> = 800 &#x003BC;m). Adapted from Telenczuk et al. (<xref ref-type="bibr" rid="B36">2020</xref>).</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fncom-16-968278-g0001.tif"/>
</fig>
<p>To perform the calculation of the LFP from mean-field models we will replace the single neuron magnitudes in the previous expressions by their mean values over the neuronal population. For the spatial dependence we take the average value of the function <inline-formula><mml:math id="M17"><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> over a circular region around the point <inline-formula><mml:math id="M18"><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:math></inline-formula> where the field is measured. Taking into account the exponential decay, we will assume that the radius of the region of interest around <inline-formula><mml:math id="M19"><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:math></inline-formula> (<italic>r</italic><sub><italic>region</italic></sub>) is defined by the characteristic distance &#x003BB;, and we will take <italic>r</italic><sub><italic>region</italic></sub> &#x0003D; 2&#x003BB;. For the temporal part of the kernel we will neglect the term corresponding to the axonal propagation, which holds valid as far as the propagation time is small compared with the typical temporal scale of the kernel, for example in the case where the region comprised by the neuronal population is small enough, as we will show in the example provided in the Results section. Thus, we will take: <inline-formula><mml:math id="M20"><mml:mi>A</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mo>&#x02192;</mml:mo></mml:mover></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02248;</mml:mo><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>z</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0003C;</mml:mo><mml:mtext>exp</mml:mtext><mml:mrow><mml:mo>[</mml:mo><mml:mrow><mml:mo>-</mml:mo><mml:mo>|</mml:mo><mml:mi>x</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:mo>/</mml:mo><mml:mi>&#x003BB;</mml:mi></mml:mrow><mml:mo>]</mml:mo></mml:mrow><mml:mo>&#x0003E;</mml:mo><mml:msub><mml:mrow><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>2</mml:mn><mml:mi>&#x003BB;</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>z</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><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:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mn>3</mml:mn></mml:mrow><mml:mrow><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x02248;</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>3</mml:mn><mml:msub><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mn>0</mml:mn></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>z</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> (independent of &#x003BB;) and <italic>t</italic><sub><italic>p</italic></sub> &#x0003D; <italic>d</italic>, where &#x02018;&#x0003C;&#x0003E;&#x02019; indicates the mean over the area defined by the radius <italic>r</italic><sub><italic>region</italic></sub> &#x0003D; 2&#x003BB;.</p>
</sec>
<sec>
<title>2.2. Calculation of the magnetic field from mean-field models</title>
<p>To estimate the magnetic field generated by a neuronal population we will assume that the variations in charge and current densities are slow enough (frequencies below the thousands of hertz) such that time derivatives in Maxwell equations can be neglected. Within this quasi-static approximation, the magnetic field generated by a current density <italic>J</italic>(<italic>r, t</italic>) is given by (Geselowitz, <xref ref-type="bibr" rid="B11">1970</xref>; Hagen et al., <xref ref-type="bibr" rid="B15">2018</xref>; Garcia-Rodriguez and Destexhe, <xref ref-type="bibr" rid="B10">2021</xref>):</p>
<disp-formula id="E8"><label>(6)</label><mml:math id="M21"><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>B</mml:mi></mml:mstyle><mml:mo stretchy='false'>(</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x02248;</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>&#x003BC;</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:mn>4</mml:mn><mml:mi>&#x003C0;</mml:mi></mml:mrow></mml:mfrac><mml:msup><mml:mstyle mathsize='140%' displaystyle='true'><mml:mo>&#x0222B;</mml:mo></mml:mstyle><mml:mtext>&#x000A0;</mml:mtext></mml:msup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>J</mml:mi></mml:mstyle><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>&#x02032;</mml:mo></mml:msup><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x000D7;</mml:mo><mml:mfrac><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:msup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>&#x02032;</mml:mo></mml:msup></mml:mrow><mml:mrow><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:msup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>&#x02032;</mml:mo></mml:msup><mml:msup><mml:mo>&#x0007C;</mml:mo><mml:mn>3</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:msup><mml:mtext>d</mml:mtext><mml:mn>3</mml:mn></mml:msup><mml:msup><mml:mi>r</mml:mi><mml:mo>&#x02032;</mml:mo></mml:msup></mml:mrow></mml:math></disp-formula>
<p>where &#x003BC;<sub>0</sub> is the magnetic susceptibility, <italic>r</italic>&#x02032; is the location of the source and <italic>r</italic> the point where the field is measured. For the case where <inline-formula><mml:math id="M22"><mml:mo>|</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>|</mml:mo><mml:mo>&#x0003E;</mml:mo><mml:mo>&#x0003E;</mml:mo><mml:mo>|</mml:mo><mml:msup><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup><mml:mo>|</mml:mo></mml:math></inline-formula>, where <inline-formula><mml:math id="M23"><mml:msubsup><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> represents the location of the center of the neuronal population we can take the far-field approximation and we have:</p>
<disp-formula id="E9"><label>(7)</label><mml:math id="M24"><mml:mrow><mml:mtable columnalign='left'><mml:mtr columnalign='left'><mml:mtd columnalign='left'><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>B</mml:mi></mml:mstyle><mml:mo stretchy='false'>(</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x02248;</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>&#x003BC;</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:mn>4</mml:mn><mml:mi>&#x003C0;</mml:mi></mml:mrow></mml:mfrac><mml:mi>Q</mml:mi><mml:mo>&#x000D7;</mml:mo><mml:mfrac><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mi>o</mml:mi><mml:mo>&#x02032;</mml:mo></mml:msubsup></mml:mrow><mml:mrow><mml:mo>&#x0007C;</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>&#x02212;</mml:mo><mml:msubsup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mi>o</mml:mi><mml:mo>&#x02032;</mml:mo></mml:msubsup><mml:msup><mml:mo>&#x0007C;</mml:mo><mml:mn>3</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:mrow></mml:math></disp-formula>
<p>where <italic>Q</italic> &#x0003D; &#x0222B;<italic><bold>J</bold></italic>(<italic><bold>r</bold></italic>&#x02032;, <italic>t</italic>)d<sup>3</sup><italic>r</italic>&#x02032; is the total dipole moment. This is in particular valid for the case of MEG, where sensors are located outside the scalp, far from the neuronal population generating the field.</p>
<p>In the brain, neurons are surrounded by the extracellular medium which is an electrical conductor. The current <italic>J</italic> is then composed of three main sources: synaptic currents (<italic>J</italic><sup><italic>s</italic></sup>), action potentials (<italic>J</italic><sup><italic>a</italic></sup>) and conduction currents (<italic>J</italic><sup><italic>c</italic></sup>), the last ones being related to the induced currents in the conducting surrounding medium. Thus, we can write <italic>Q</italic>(<italic>r, t</italic>) &#x0003D; <italic>Q</italic><sup><italic>s</italic></sup> &#x0002B; <italic>Q</italic><sup><italic>a</italic></sup> &#x0002B; <italic>Q</italic><sup><italic>c</italic></sup>. Currents related with action potentials tend to cancel each other, and their contribution to the magnetic field can be neglected (Lind&#x000E9;n et al., <xref ref-type="bibr" rid="B20">2014</xref>). In the following we show how to estimate the contributions from the conduction and synaptic currents. The conduction currents, given a medium conductivity &#x003C3;(<italic>r, t</italic>), can be written as:</p>
<disp-formula id="E10"><label>(8)</label><mml:math id="M25"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mi>J</mml:mi></mml:mrow><mml:mrow><mml:mi>c</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:mi>&#x003C3;</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mi>E</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mo>-</mml:mo><mml:mi>&#x003C3;</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>r</mml:mi><mml:mo>,</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x02207;</mml:mo></mml:mstyle><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A6;</mml:mo></mml:mstyle></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>E</italic>(<italic>r, t</italic>) is the electric field at point <italic>r</italic> and <bold>&#x003A6;</bold> is the local electric field potential (LFP). The conductivity &#x003C3;(<italic>r, t</italic>) will in general depend on the position and may vary with time. We will compartmentalize the brain or region under study into small volume domains of constant conductivity, such that we can write for <italic>Q</italic><sup><italic>c</italic></sup> (Geselowitz, <xref ref-type="bibr" rid="B11">1970</xref>; De Munck et al., <xref ref-type="bibr" rid="B5">2012</xref>):</p>
<disp-formula id="E11"><label>(9)</label><mml:math id="M26"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msup><mml:mi>Q</mml:mi><mml:mi>c</mml:mi></mml:msup><mml:mo>=</mml:mo><mml:mo>&#x02212;</mml:mo><mml:mstyle displaystyle='true'><mml:mrow><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mi>&#x003C3;</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mo>&#x02032;</mml:mo></mml:msup><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x02207;</mml:mo></mml:mstyle><mml:mo>&#x003A6;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mo>&#x02032;</mml:mo></mml:msup><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:msup><mml:mi>d</mml:mi><mml:mn>3</mml:mn></mml:msup><mml:msup><mml:mi>r</mml:mi><mml:mo>&#x02032;</mml:mo></mml:msup></mml:mrow></mml:mrow></mml:mstyle></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mo>&#x02212;</mml:mo><mml:mstyle displaystyle='true'><mml:munder><mml:mo>&#x02211;</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>&#x003C3;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mo>&#x02032;</mml:mo></mml:msup><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>&#x003C3;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:msup><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow><mml:mrow><mml:mo>&#x02032;</mml:mo><mml:mo>&#x02032;</mml:mo></mml:mrow></mml:msup><mml:mo stretchy='false'>)</mml:mo><mml:mstyle displaystyle='true'><mml:mrow><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:mo>&#x003A6;</mml:mo><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mo>&#x02032;</mml:mo></mml:msup><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mi>d</mml:mi><mml:msub><mml:mi>S</mml:mi><mml:msup><mml:mi>i</mml:mi><mml:mo>&#x02032;</mml:mo></mml:msup></mml:msub></mml:mrow></mml:mrow></mml:mstyle></mml:mrow></mml:mstyle></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where the summation goes over all surfaces of discontinuity, <inline-formula><mml:math id="M27"><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><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:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> and <inline-formula><mml:math id="M28"><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><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:mrow><mml:mo>&#x02033;</mml:mo></mml:mrow></mml:msup></mml:math></inline-formula> are the conductivities at the two regions separated by the surface <italic>i</italic>, <italic>ds</italic>&#x02032; is the differential area element for surface <italic>i</italic> and where the identity <inline-formula><mml:math id="M29"><mml:mrow><mml:mstyle displaystyle='true'><mml:mrow><mml:munder><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mi>V</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:munder><mml:mrow><mml:msup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x02207;</mml:mo></mml:mstyle><mml:mo>&#x02032;</mml:mo></mml:msup></mml:mrow></mml:mrow></mml:mstyle><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A6;</mml:mo></mml:mstyle><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>&#x02032;</mml:mo></mml:msup><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:msup><mml:mi>d</mml:mi><mml:mn>3</mml:mn></mml:msup><mml:msup><mml:mi>r</mml:mi><mml:mo>&#x02032;</mml:mo></mml:msup><mml:mo>=</mml:mo><mml:mstyle displaystyle='true'><mml:mrow><mml:munder><mml:mo>&#x0222B;</mml:mo><mml:mrow><mml:msub><mml:mi>S</mml:mi><mml:mrow><mml:mo stretchy='false'>(</mml:mo><mml:mi>i</mml:mi><mml:mo stretchy='false'>)</mml:mo></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mo>&#x003A6;</mml:mo></mml:mstyle></mml:mrow></mml:mstyle><mml:mo stretchy='false'>(</mml:mo><mml:msup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>&#x02032;</mml:mo></mml:msup><mml:mo>,</mml:mo><mml:mi>t</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mi>d</mml:mi><mml:msub><mml:msup><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>S</mml:mi></mml:mstyle><mml:mo>&#x02032;</mml:mo></mml:msup><mml:mi>i</mml:mi></mml:msub></mml:mrow></mml:math></inline-formula> was used. We notice that the electric field potential &#x003A6; can be estimated from the mean-field models using the kernel method described in the previous section, from where the contribution of <italic>Q</italic><sup><italic>c</italic></sup> to the magnetic field is fully determined. We notice in addition that the conductivity &#x003C3; may also depend on the frequency and direction. For simplicity in this paper we will assume an isotropic medium and independent of the frequency, but in principle these dependencies can be incorporated within our method.</p>
<p>To estimate the contributions of intrinsic neuronal currents to the MEG we will take into account that axial currents are believed to be the main source for the magnetic-field (in opposition to transmembrane currents) (H&#x000E4;m&#x000E4;l&#x000E4;inen et al., <xref ref-type="bibr" rid="B16">1993</xref>). We notice however that, in general, the mean-field and AdEx models are based on point-neurons (i.e., a single-compartment neuronal model). In order to incorporate axial currents to our model we will extend our description and consider the mean-field model in combination with a two compartment model (sometimes referred to as an &#x0201C;hybrid modeling&#x0201D;; Hagen et al., <xref ref-type="bibr" rid="B15">2018</xref>), which is the minimum configuration that incorporates intra-neuron current flow. We show the diagram of the two-compartment model in <xref ref-type="fig" rid="F1">Figure 1A</xref>. One of the compartments corresponds to the soma-perisomatic region and the other to the apical dendrites. We will assume that the membrane voltage for each of these compartment is given by:</p>
<disp-formula id="E12"><label>(10)</label><mml:math id="M30"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>V</mml:mi><mml:mn>1</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>L</mml:mi><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mi>L</mml:mi></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi></mml:mrow><mml:mn>1</mml:mn></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:mi>W</mml:mi><mml:mo>+</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msub><mml:mi>C</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>V</mml:mi><mml:mn>2</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>g</mml:mi><mml:mrow><mml:mi>L</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mi>L</mml:mi></mml:msub><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>V</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>+</mml:mo><mml:msubsup><mml:mi>I</mml:mi><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi></mml:mrow><mml:mn>2</mml:mn></mml:msubsup><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>I</mml:mi><mml:mi>A</mml:mi></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>g</italic><sub><italic>L</italic></sub> and <italic>E</italic><sub><italic>L</italic></sub> are the conductance and reversal potential of the leakage channel, <inline-formula><mml:math id="M31"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the synaptic input to compartment <italic>j</italic>, <italic>W</italic> is a variable describing neuronal adaptation (which we only consider affecting the first compartment for simplicity) and <italic>I</italic><sub><italic>A</italic></sub> is the axial current between the two compartments, i.e., <italic>I</italic><sub><italic>A</italic></sub> &#x0003D; (<italic>V</italic><sub>1</sub> &#x02212; <italic>V</italic><sub>2</sub>)/<italic>R</italic><sub><italic>A</italic></sub>, being <italic>R</italic><sub><italic>A</italic></sub> the axial resistance.</p>
<p>Following Kuhn et al. (<xref ref-type="bibr" rid="B19">2004</xref>), we will assume that the mean membrane potential of each compartment can be obtained by taking the stationary solution of (Equation 10) to static synaptic currents given by the synaptic bombardment with firing rates &#x003BD;<sub><italic>e</italic></sub> and &#x003BD;<sub><italic>i</italic></sub> (Di Volo et al., <xref ref-type="bibr" rid="B9">2019</xref>). Thus, subtracting both expressions in Equation 10, and taking the stationary solution we get (for g<sub>L1</sub> = g<sub>L2</sub> = g<sub>L</sub>):</p>
<disp-formula id="E13"><label>(11)</label><mml:math id="M32"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi><mml:mn>2</mml:mn></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>-</mml:mo><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn><mml:mo>/</mml:mo><mml:msub><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003BC;<sub><italic>Vj</italic></sub> indicates the mean voltage of compartment <italic>j</italic> and from where the mean axial current (over the neuronal population) can be estimated. We notice that in general the synaptic currents will be a function of the voltage of each compartment and the firing rates of the population, in which case both stationary solutions of Equation 10 have to be considered. In a very general way we can write <inline-formula><mml:math id="M33"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>&#x0002B;</mml:mo><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>, with <inline-formula><mml:math id="M34"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula>,<inline-formula><mml:math id="M35"><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> the excitatotory and inhibitory synaptic currents, respectively, given by:</p>
<disp-formula id="E14"><label>(12)</label><mml:math id="M36"><mml:mtable style="text-align:axis;" equalrows="false" columnlines="none" equalcolumns="false" class="array"><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mi>x</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msubsup><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:mi>V</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003BC;<sub><italic>G</italic><sub><italic>e</italic>(<italic>i</italic>)</sub></sub> is the mean excitatory (inhibitory) synaptic conductance and <inline-formula><mml:math id="M37"><mml:msubsup><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> is the number of excitatory (inhibitory) synaptic connections arriving to compartment <italic>j</italic> (Di Volo et al., <xref ref-type="bibr" rid="B9">2019</xref>). The estimation of the mean synaptic conductances is to be defined from the mean-field model of use. In the examples presented in this paper we will consider a conductance based network, where the conductance at each synaptic terminal is increased by a quantal amount <italic>q</italic><sub><italic>e</italic>(<italic>i</italic>)</sub> for each pre-synaptic spike (see Section 3 for details). For these networks and assuming that the spiking activity follows a poissonian distribution, then the mean conductances can be written as (Di Volo et al., <xref ref-type="bibr" rid="B9">2019</xref>):</p>
<disp-formula id="E15"><label>(13)</label><mml:math id="M38"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>&#x003BC;</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>&#x003BD;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003C4;<sub><italic>e</italic>(<italic>i</italic>)</sub> is the characteristic decay time of the synaptic conductance. With the definition of the synaptic currents and mean conductances, Equations (10) and (11) are fully determined and the axial currents can be calculated (see <xref ref-type="supplementary-material" rid="SM1">Supplementary material</xref> for further details). By further assuming that excitatory neurons are the main source of the magnetic fields then we have:</p>
<disp-formula id="E16"><label>(14)</label><mml:math id="M39"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msup><mml:mrow><mml:mi>Q</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub><mml:mi>L</mml:mi><mml:msubsup><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msubsup></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>which gives the mean dipole moment generated by intrinsic neuronal currents, where <italic>L</italic> is a characteristic length of the dipole and <italic>n</italic><sub><italic>e</italic></sub> is the number of excitatory neurons. Thus, together with Equation (9) (<italic>Q</italic><sup><italic>c</italic></sup>) and (7) the magnetic field is completely determined.</p>
<p>In the Results section we will present an example of the use of the method for a recently developed mean-field model of a network of Adaptive-exponential-Integrate-and-Fire (AdEx) neurons.</p>
</sec>
<sec>
<title>2.3. The TVB simulation platform</title>
<p>The Virtual Brain simulator platform (TVB) provides an environment for large-scale brain simulations, where the brain is compartmentalized in macro-domains represented as nodes in a network. Each node in the network is described <italic>via</italic> a mean-field model. The connectivity among brain regions is provided <italic>via</italic> a brain connectome. The size of the compartmentalization can be defined by the user, depending on the characteristic of the study and computational resources. For our simulations we will consider a coarse-grain simulation where each node represents a different brain region. For more details on our simulations see the Section 3. For details on the TVB platform see Sanz Leon et al. (<xref ref-type="bibr" rid="B29">2013</xref>) and Melozzi et al. (<xref ref-type="bibr" rid="B25">2017</xref>).</p>
</sec>
</sec>
<sec sec-type="results" id="s3">
<title>3. Results</title>
<p>We present in the following an example of our method for the calculation of the Local Field Potential (LFP) and magnetic fields from a mean-field model. We will validate our method <italic>via</italic> comparison with results obtained from simulations of the corresponding spiking neural networks. The example we present is based on simulations of slow-waves of neuronal activity obtained with a mean-field model of Adaptive-Exponential Integrate-and-Fire neurons. Slow-waves (0.5-3.5 Hz, &#x003B4;-band) are a key feature of neuronal activity during deep-sleep and can be experimental measured <italic>via</italic> LFP and MEG (Destexhe et al., <xref ref-type="bibr" rid="B8">1999</xref>; Simon et al., <xref ref-type="bibr" rid="B32">2000</xref>; Lopes da Silva, <xref ref-type="bibr" rid="B21">2013</xref>).</p>
<sec>
<title>3.1. AdEx mean-field model</title>
<p>To provide an example and validate our method we will consider a recently developed mean-field model of a network of inhibitory and excitatory Adaptive-Exponential-Integrate-and-Fire (AdEx) neurons (Brette and Gerstner, <xref ref-type="bibr" rid="B3">2005</xref>). The spiking AdEx neuronal model is defined by the system of equations:</p>
<disp-formula id="E17"><label>(15)</label><mml:math id="M40"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mi>C</mml:mi><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mi>V</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mo>&#x00394;</mml:mo><mml:mtext>&#x000A0;</mml:mtext><mml:mtext class="textrm" mathvariant="normal">exp</mml:mtext><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>V</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00394;</mml:mo></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mi>w</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E18"><label>(16)</label><mml:math id="M41"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mi>b</mml:mi><mml:mo>&#x02211;</mml:mo><mml:mi>&#x003B4;</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mi>w</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>V</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mi>w</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <italic>V</italic> is the membrane potential, <italic>w</italic> is an adaptation current, <italic>C</italic> &#x0003D; 200 pF is the membrane capacity, <italic>g</italic><sub><italic>L</italic></sub> &#x0003D; 10 nS is the leakage conductance, <italic>E</italic><sub><italic>L</italic></sub> &#x0003D; &#x02212;63 mV is the leakage reversal potential, <italic>V</italic><sub><italic>T</italic></sub> &#x0003D; &#x02212;50 mV, &#x00394; &#x0003D; 2 mV (0.5 mV) for excitatory (inhibitory) neurons, <italic>I</italic><sub><italic>syn</italic></sub> is the synaptic current, <italic>a</italic> is the sub-threshold adaptation constant and <italic>b</italic> is the spiking adaptation constant. When <italic>V</italic> &#x0003E; <italic>V</italic><sub><italic>T</italic></sub> at time <italic>t</italic> &#x0003D; <italic>t</italic><sub><italic>sp</italic></sub> a spike is generated, the membrane potential is reset to <italic>V</italic><sub><italic>res</italic></sub> &#x0003D; &#x02212;65 mV and remains at this value for a refractory time <italic>t</italic><sub><italic>ref</italic></sub> &#x0003D; 5 ms, and the adaptation variable is increased by an amount <italic>b</italic>. In our simulations we will consider that no adaptation occurs in inhibitory neurons (i.e., <italic>a</italic> &#x0003D; <italic>b</italic> &#x0003D; 0), while for excitatory neurons we will consider <italic>b</italic> &#x0003D; 60 pA and <italic>a</italic> &#x0003D; 0. The synaptic current <italic>I</italic><sub><italic>syn</italic></sub> received by a neuron is given by the spiking activity of all presynaptic neurons connected to it. The total synaptic current can be written as a sum of the excitatory and inhibitory synaptic activity <italic>I</italic><sub><italic>syn</italic></sub> &#x0003D; <italic>G</italic><sub><italic>e</italic></sub>(<italic>E</italic><sub><italic>e</italic></sub> &#x02212; <italic>V</italic>) &#x0002B; <italic>G</italic><sub><italic>i</italic></sub>(<italic>E</italic><sub><italic>i</italic></sub> &#x02212; <italic>V</italic>), where <italic>E</italic><sub><italic>e</italic></sub> &#x0003D; 0 (<italic>E</italic><sub><italic>i</italic></sub> &#x0003D; &#x02212;80 mV) is the excitatory (inhibitory) reversal potential and <italic>G</italic><sub><italic>e</italic></sub>, <italic>G</italic><sub><italic>i</italic></sub> are the synaptic conductances. We model the synaptic conductances as decaying exponential functions that experience a quantal increase <italic>q</italic><sub><italic>e</italic></sub> and <italic>q</italic><sub><italic>i</italic></sub> at each pre-synaptic spike: <inline-formula><mml:math id="M42"><mml:msub><mml:mrow><mml:mi>G</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:mo>&#x02211;</mml:mo><mml:mo>&#x00398;</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:msup><mml:mrow><mml:mi>e</mml:mi></mml:mrow><mml:mrow><mml:mfrac><mml:mrow><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow></mml:msup></mml:math></inline-formula>, where <italic>q</italic><sub><italic>e</italic></sub> &#x0003D; 1.5 nS, <italic>q</italic><sub><italic>i</italic></sub> &#x0003D; 5 nS, &#x003C4;<sub><italic>e</italic></sub> &#x0003D; &#x003C4;<sub><italic>i</italic></sub> &#x0003D; 5 ms.</p>
<p>We will consider a network of 10,000 neurons, with 80% of excitatory and 20% of inhibitory neurons. Neurons in the network are randomly connected with probability <italic>p</italic> &#x0003D; 5%.</p>
<p>The mean-field equations for the AdEx network are given to a first-order by (Di Volo et al., <xref ref-type="bibr" rid="B9">2019</xref>):</p>
<disp-formula id="E19"><label>(17)</label><mml:math id="M43"><mml:mtable columnalign='left'><mml:mtr><mml:mtd><mml:mi>T</mml:mi><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mi>F</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:mi>W</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mover accent='true'><mml:mi>&#x003BD;</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mi>e</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mrow><mml:mi>e</mml:mi><mml:mo>,</mml:mo><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>W</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mo>&#x02212;</mml:mo><mml:mfrac><mml:mi>W</mml:mi><mml:mrow><mml:msub><mml:mi>&#x003C4;</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mi>b</mml:mi><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>e</mml:mi></mml:msub><mml:mo>+</mml:mo><mml:mi>a</mml:mi><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mi>&#x003BC;</mml:mi><mml:mi>V</mml:mi></mml:msub><mml:mo stretchy='false'>(</mml:mo><mml:msub><mml:mover accent='true'><mml:mi>&#x003BD;</mml:mi><mml:mo>&#x000AF;</mml:mo></mml:mover><mml:mi>e</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>&#x003BD;</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>,</mml:mo><mml:mi>W</mml:mi><mml:mo stretchy='false'>)</mml:mo><mml:mo>&#x02212;</mml:mo><mml:msub><mml:mi>E</mml:mi><mml:mi>L</mml:mi></mml:msub><mml:mo stretchy='false'>)</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where &#x003BD;<sub><italic>e,i</italic></sub> is the mean neuronal firing rate of the excitatory and inhibitory population, respectively, <italic>W</italic> is the mean value of the adaptation variable, <italic>F</italic> is the neuron transfer function (i.e., output firing rate of a neuron when receiving excitatory and inhibitory inputs with mean rates &#x003BD;<sub><italic>e</italic></sub> and &#x003BD;<sub><italic>i</italic></sub> and with a level of adaptation W), <italic>a</italic> and <italic>b</italic> are the sub-threshold and spiking adaptation constants, <italic>t</italic><sub><italic>w</italic></sub> is the characteristic time of the adaptation variable, <italic>T</italic> is a characteristic time for neuronal response, &#x003BC;<sub><italic>V</italic></sub> is the average membrane voltage and <italic>E</italic><sub><italic>L</italic></sub> is the leakage reversal potential (see Di Volo et al., <xref ref-type="bibr" rid="B9">2019</xref> for details).</p>
</sec>
<sec>
<title>3.2. Two compartment AdEx model</title>
<p>To validate the results of our method for the calculation of magnetic fields, we will compare the estimation from our method with the results obtained from a two-compartment spiking AdEx network. In this network inhibitory neurons will be consider as point neurons as before, while excitatory neurons will be described by a two-compartment model in analogy to the model proposed in Equation (10). The equations corresponding to the peri-somatic area (Equations 18 and 19) will take into account the spiking mechanism and the adaptation. We will consider that the soma receives inputs from synaptic currents and from the axial current coming from the dendritic region:</p>
<disp-formula id="E20"><label>(18)</label><mml:math id="M44"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mi>V</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>L</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mo>&#x00394;</mml:mo></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub><mml:mtext class="textrm" mathvariant="normal">exp</mml:mtext><mml:mrow><mml:mo stretchy="true">(</mml:mo><mml:mrow><mml:mfrac><mml:mrow><mml:mi>V</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mo>&#x00394;</mml:mo></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="true">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mi>w</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mi>S</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E22"><label>(19)</label><mml:math id="M46"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:mi>b</mml:mi><mml:mo>&#x02211;</mml:mo><mml:mi>&#x003B4;</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>t</mml:mi><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>p</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>&#x0002B;</mml:mo><mml:mfrac><mml:mrow><mml:mi>a</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>&#x003C4;</mml:mi></mml:mrow><mml:mrow><mml:mi>w</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>S</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mi>w</mml:mi></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>t</mml:mi></mml:mrow><mml:mrow><mml:mi>w</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Where <italic>C</italic><sub><italic>S</italic></sub> &#x0003D; 200 pF, <italic>g</italic><sub><italic>LS</italic></sub> &#x0003D; 10 nS, <italic>E</italic><sub><italic>L</italic></sub> &#x0003D; &#x02212;63 mV, <italic>V</italic><sub><italic>T</italic></sub> &#x0003D; &#x02212;50 mV, &#x00394;<sub><italic>T</italic></sub> &#x0003D; 2 mV, &#x003C4;<sub><italic>w</italic></sub> &#x0003D; 500 ms, <italic>b</italic> &#x0003D; 60 pA <italic>a</italic> &#x0003D; 0.</p>
<p>The axial current is defined as before <italic>I</italic><sub><italic>A</italic></sub> &#x0003D; <italic>g</italic><sub><italic>A</italic></sub>(<italic>V</italic><sub><italic>D</italic></sub>&#x02212;<italic>V</italic><sub><italic>S</italic></sub>) with <italic>g</italic><sub><italic>A</italic></sub> &#x0003D; 400<italic>nS</italic>.</p>
<p>The dendritic membrane potential is described by a leak current and receives input from synaptic currents. The membrane voltage of the dendrite is described by:</p>
<disp-formula id="E23"><label>(20)</label><mml:math id="M47"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mi>C</mml:mi></mml:mrow><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mfrac><mml:mrow><mml:mi>d</mml:mi><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mi>d</mml:mi><mml:mi>t</mml:mi></mml:mrow></mml:mfrac><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mi>L</mml:mi><mml:mi>D</mml:mi></mml:mrow></mml:msub><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>E</mml:mi></mml:mrow><mml:mrow><mml:mi>L</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>V</mml:mi></mml:mrow><mml:mrow><mml:mi>D</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>-</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>A</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mi>I</mml:mi></mml:mrow><mml:mrow><mml:mi>s</mml:mi><mml:mi>y</mml:mi><mml:mi>n</mml:mi><mml:mo>-</mml:mo><mml:mi>D</mml:mi></mml:mrow></mml:msub></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>With <italic>C</italic><sub><italic>D</italic></sub> &#x0003D; 10 pF, and <italic>g</italic><sub><italic>L</italic>&#x02212;<italic>D</italic></sub> &#x0003D; 2 nS.</p>
<p>For both populations when an action potential is emitted (voltage is greater than <italic>V</italic><sub><italic>T</italic></sub>), the system is reset to its resting value and remains at that value for a refractory period of <italic>t</italic><sub><italic>ref</italic></sub> &#x0003D; 5 ms. We will take <italic>V</italic><sub><italic>T</italic></sub> &#x0003D; &#x02212;40 mV, <italic>V</italic><sub><italic>R</italic></sub> &#x0003D; &#x02212;55 mV for excitatory cells and <italic>V</italic><sub><italic>T</italic></sub> &#x0003D; &#x02212;47.5 mV, <italic>V</italic><sub><italic>R</italic></sub> &#x0003D; &#x02212;65 mV for inhibitory cells.</p>
<p>To estimate the magnetic field from the spiking network we will take the mean axial current generated in the excitatory neurons of the network and proceed to calculate the mean dipole moment as in Equation (14).</p>
</sec>
<sec>
<title>3.3. LFP from the AdEX mean-field model</title>
<p>We provide next two examples of the method to calculate the LFP. First we show the results for a single mean-field model of an AdEx network, and the second example consists in a large-scale simulation of the human brain performed with The Virtual Brain simulator platform.</p>
<p>In <xref ref-type="fig" rid="F2">Figure 2</xref> we show the results of the mean-field model and the LFP calculations for the first example. To validate our results we show the comparison with the calculation of the LFP for the corresponding spiking AdEx network. For the latter case we show the raster plot and the corresponding mean firing rate of the excitatory and inhibitory populations. We can see that the results from the mean-field model can correctly capture the amplitude and duration of the up-and-down states obtained in the LFP from spiking-networks. The average amplitude of the high-state in the LFP is of (206 &#x000B1; 26) &#x003BC;V for the spiking case and (209 &#x000B1; 2) &#x003BC;V for the mean-field case. The average duration of the high-state in the LFP is (0.59 &#x000B1; 0.14) s for the method applied to the spiking network and (0.57 &#x000B1; 0.09) s for the mean-field case. The duration is measured as the time between the beginning and the end of the high state, where the criteria for the starting and ending points is defined as the crossing point of 3 standard deviations from the base state.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p><bold>(A)</bold> LFP calculations obtained with the kernel method on spiking-network simulations (in blue) at different depths (Surface, Superficial, Soma and Deep, see table in <xref ref-type="fig" rid="F1">Figure 1</xref>). Simulations were performed on a network of 10,000 AdEx neurons and LFP was calculated according to Equation (1). Neurons where uniformly distributed over a square surface of 1 x 1 mm<sup>2</sup> (see diagram in <xref ref-type="fig" rid="F4">Figure 4C</xref> for reference). We show on the top the raster plot of the neuronal activity during the simulation, for excitatory (green) and inhibitory (red) neurons together with the corresponding firing rate for each population. <bold>(B)</bold> LFP calculations obtained with the kernel method from mean-field simulations. We show the average firing rate for the excitatory and inhibitory neurons (top) in a network of 10,000 AdEx neurons, computed from Equation (17) and the corresponding LFP obtained with Equation (2) (blue).</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fncom-16-968278-g0002.tif"/>
</fig>
<p>The second example we present consists in a large-scale simulation of the human brain, performed with the TVB simulator platform. In this simulation each region of the brain is represented by one neuronal ensemble of AdEx neurons (as described in the first example). The connection between regions was defined by human tractography data (<ext-link ext-link-type="uri" xlink:href="https://zenodo.org/record/4263723,Berlinsubjects/QL_20120814">https://zenodo.org/record/4263723,Berlinsubjects/QL_20120814</ext-link>) from the Berlin empirical data processing pipeline (Schirner et al., <xref ref-type="bibr" rid="B31">2015</xref>; Goldman et al., <xref ref-type="bibr" rid="B12">2021</xref>). A parcellation of 68 regions is used, with long-range excitatory connections and delays defined by 120 tract length and weight estimates in human diffusion magnetic resonance imaging (dMRI) data (Sanz-Leon et al., <xref ref-type="bibr" rid="B30">2015</xref>; Goldman et al., <xref ref-type="bibr" rid="B12">2021</xref>). The LFP is calculated using the kernel-method, for which it has been incorporated in the TVB platform. For details on the connectome and the simulations with the TVB see Sanz Leon et al. (<xref ref-type="bibr" rid="B29">2013</xref>), Schirner et al. (<xref ref-type="bibr" rid="B31">2015</xref>), Sanz-Leon et al. (<xref ref-type="bibr" rid="B30">2015</xref>), and Goldman et al. (<xref ref-type="bibr" rid="B12">2021</xref>). The results are shown in <xref ref-type="fig" rid="F3">Figure 3</xref>, where we show only the LFP for the Surface depth. All the simulations presented in the paper were performed using the python language and the TVB simulation platform for whole brain simulations.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Whole brain simulations of the human brain performed with The Virtual Brain (TVB) platform. <bold>(A)</bold> Top: time course of the average firing rates for each brain region in the simulations. Bottom: Local field potential calculated with the kernel method for each region. <bold>(B)</bold> Colormap of the LFP amplitude at each brain region for a down (<italic>t</italic> = 0) and up (<italic>t</italic> = 0.26 s) states during one slow-wave oscillation. For details on the TVB simulator of the human brain see Sanz Leon et al. (<xref ref-type="bibr" rid="B29">2013</xref>), Schirner et al. (<xref ref-type="bibr" rid="B31">2015</xref>), Sanz-Leon et al. (<xref ref-type="bibr" rid="B30">2015</xref>), and Goldman et al. (<xref ref-type="bibr" rid="B12">2021</xref>).</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fncom-16-968278-g0003.tif"/>
</fig>
</sec>
<sec>
<title>3.4. Magnetic field from the AdEx mean-field model</title>
<p>In the following we proceed with the calculation of the magnetic field for the example of the AdEx mean-field model, as explained in the Section 2. As for the LFP, we consider two examples, one consisting in a single mean-field and another comprising a large-scale simulation of the human brain.</p>
<p>To perform the calculations two points are to be specified: i) the synaptic input and ii) the specific geometry and neuronal distribution of the area under study. The first one is defined by the mean-field model adopted for the simulations while the second depends on the specific features of the study. In our case the synaptic currents are given by Equation (12) and (13). For our simulations we adopt &#x003C4;<sub><italic>e</italic>(<italic>i</italic>)</sub> &#x0003D; 5ms, <italic>q</italic><sub><italic>e</italic>(<italic>i</italic>)</sub> &#x0003D; 1.5nS (5 nS) and <italic>E</italic><sub><italic>e</italic>(<italic>i</italic>)</sub> &#x0003D; 0 (&#x02212;80 mv). For <inline-formula><mml:math id="M48"><mml:msubsup><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> we take <inline-formula><mml:math id="M49"><mml:msubsup><mml:mrow><mml:mi>K</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> with <italic>n</italic><sub><italic>e</italic>(<italic>i</italic>)</sub> the number of excitatory (inhibitory) neurons in the population and <inline-formula><mml:math id="M50"><mml:msubsup><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> the connectivity probability of an excitatory (inhibitory) synapse at compartment <italic>j</italic>. To define <inline-formula><mml:math id="M51"><mml:msubsup><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> we assume as before that every two neurons in the network are connected with a probability <italic>p</italic><sub><italic>o</italic></sub> &#x0003D; 0.05. In addition, following experimental data, we will assume that inhibitory synapses have a higher concentration around the soma while excitatory synapses dominate in the apical dendrites (Meg&#x00131;as et al., <xref ref-type="bibr" rid="B24">2001</xref>). We will consider a 60&#x02013;40% distribution for inhibitory synapses (60% in the peri-somatic region, 40% at the apical dendrites) and a 30&#x02013;70% distribution for excitatory synapses (see <xref ref-type="fig" rid="F4">Figure 4A</xref> for a diagram of the two-compartment model). Thus, <inline-formula><mml:math id="M52"><mml:msubsup><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>3</mml:mn><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>o</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> (0.6<italic>p</italic><sub><italic>o</italic></sub>) and <inline-formula><mml:math id="M53"><mml:msubsup><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>e</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msubsup><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>7</mml:mn><mml:msub><mml:mrow><mml:mi>p</mml:mi></mml:mrow><mml:mrow><mml:mi>o</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> (0.4<italic>p</italic><sub><italic>o</italic></sub>). Given the synaptic currents for each compartment, the axial current and its associated magnetic field is determined from Equation (7), (10), and (14).</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p><bold>(A)</bold> Diagram of the two compartment neuronal model used for MEG calculations. One compartment covers the soma and perisomatic region with high concentration of inhibitory synapses (red) and the second compartment covers the apical dendrites with dominant concentration of excitatory synapses (green). <bold>(B)</bold> Diagram of the cerebral cortex with the arrangement and orientation of neurons in the gyrus and sulcus. The different depth layers used for LFP calculations are indicated by dashed lines. <bold>(C)</bold> Diagram of the domains, layers and surface consider for the MEG simulations. <italic>X</italic><sub><italic>m</italic></sub> indicates the position of the sensor.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fncom-16-968278-g0004.tif"/>
</fig>
<p>To perform the simulations a concrete geometry and neuronal distribution for the region under study must be defined. For this, we will assume that neurons are aligned as shown in <xref ref-type="fig" rid="F4">Figure 4B</xref> and uniformly distributed. It is easy to see that current dipoles oriented perpendicular to the scalp have a smaller or null contribution to the magnetic field and that the MEG is rather driven by dipoles oriented tangentially, which is a commonly accepted feature (H&#x000E4;m&#x000E4;l&#x000E4;inen et al., <xref ref-type="bibr" rid="B16">1993</xref>). For our simulations we will consider cubic regions as indicated in <xref ref-type="fig" rid="F4">Figure 4C</xref> and for simplicity we will assume that only neurons and dipole moments with purely tangential currents (parallel to the scalp) contribute to the magnetic field. Furthermore, we will assume that the vector <inline-formula><mml:math id="M54"><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>o</mml:mi></mml:mrow><mml:mrow><mml:mi>&#x02032;</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> between the dipole and the sensor is aligned in the radial direction (i.e., perpendicular to the scalp), such that the calculated field corresponds to a purely tangential component (a generalization for an arbitrary angle is straightforward). We assume that the sensor is located at a distance of 3 cm from the neuronal population. For the contribution of the conduction currents (Equations 8 and 9) we will consider a single interface between two regions of different conductivity. In particular we will assume that the two conductivities correspond to the one of the gray matter and the cerebrospinal fluid, respectively, which exhibit a relatively high difference in conductivity (we use &#x003C3; &#x0003D; 0.3 and 2.1 S/m, respectively, McCann et al., <xref ref-type="bibr" rid="B23">2019</xref>; Mandija et al., <xref ref-type="bibr" rid="B22">2021</xref>). The calculation of the LFP for Equation (9) and the related parameters follow the ones indicated for <xref ref-type="fig" rid="F2">Figure 2</xref>.</p>
<p>In <xref ref-type="fig" rid="F5">Figure 5B</xref> we show the results of our simulations. We show here the total magnetic field and the field generated by each different source (synaptic and conductance currents). For the conductance currents we show the contribution of each depth to the field. To validate our results we show the results obtained from the spiking AdEx two-compartment model in <xref ref-type="fig" rid="F5">Figure 5A</xref>. For the spiking networks we show the raster plot, the mean firing rates and the resulting magnetic field. For this last one we only consider the contribution of synaptic (i.e., axial) currents to the field. The results from the mean-field method can reasonably capture the amplitude and duration of the up-and-down states obtained from the spiking network. The average amplitude of the up-state in the MEG is of (276 &#x0002B;/&#x02212; 40) fT for the spiking case and (305 &#x0002B;/&#x02212; 3) fT for the mean-field case. The average duration is of (0.87 &#x0002B;/&#x02212; 0.43) s for the spiking case and (0.53 &#x0002B;/&#x02212; 0.01) s for the mean-field case.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p>Calculation of the MEG signal. <bold>(A)</bold> Simulations from a spiking two-compartment AdEx network. We show the raster plot (top), the mean firing rate (middle) and the magnetic field generated by axional neuronal currents (bottom). <bold>(B)</bold> Results obtained with our method from the AdEx mean-field model. In the first plot (top) we show the total magnetic field generated by the system (axial neuronal currents and conduction currents, dashed black line) together with the contribution of the axial currents (solid red line). Bottom: Contribution to the magnetic field by of the conduction currents. The contribution of the different depths is shown.</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fncom-16-968278-g0005.tif"/>
</fig>
<p>From these simulations we can see that the axial neuronal currents constitute the main source for the MEG, which is in agreement with typical experiments. In our simulations we took only a single interface between regions of different conductivity. The contribution of the different sources to the MEG will depends of course on the particular geometry, conductivities and neuronal distributions. Nevertheless, it is usually accepted that the magnetic field is mainly driven by axial neuronal currents (H&#x000E4;m&#x000E4;l&#x000E4;inen et al., <xref ref-type="bibr" rid="B16">1993</xref>). Our analysis would agree with this, but it also provides means to further analyze the different contributions and in particular to explore the possible contributions of different layers. For a comparison with experimentally measured slow-waves with MEG see for example Simon et al. (<xref ref-type="bibr" rid="B32">2000</xref>).</p>
<p>To end this section we present the results of the MEG calculations for a large-scale simulation of the human brain with The Virtual Brain platform, corresponding to the same set of simulations as in <xref ref-type="fig" rid="F3">Figure 3</xref>. For the MEG we aim to describe the fields measured by <italic>N</italic> sensors and generated by the <italic>M</italic> sources (brain regions in our case). The magnetic field measured by a sensor at position <italic>r</italic> outside the conductor can be written in general as (Mosher et al., <xref ref-type="bibr" rid="B26">1999</xref> and Sanz-Leon et al., <xref ref-type="bibr" rid="B30">2015</xref>):</p>
<disp-formula id="E24"><label>(21)</label><mml:math id="M55"><mml:mtable class="eqnarray" columnalign="left"><mml:mtr><mml:mtd><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>B</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>G</mml:mi></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>r</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mi>Q</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mstyle mathvariant='bold' 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> indicates the corresponding dipole moments, <italic><bold>r</bold></italic><sub><italic>Q</italic></sub> is the location of the sources (dipoles) and <italic><bold>G</bold></italic>(<italic><bold>r, r</bold></italic><sub><italic>Q</italic></sub>) is called the gain or transfer matrix and contains all the information regarding the geometry of the specific head-model under consideration. This is a generalization of Equation (7). In the TVB platform the gain matrix can be computed and registered for different head-models given the locations of sources and sensors (Sanz-Leon et al., <xref ref-type="bibr" rid="B30">2015</xref>). In our simulations we will consider that each dipole moment is located at the center of the corresponding brain region and that there is one sensor per each brain region. For simplicity we will consider <inline-formula><mml:math id="M56"><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>G</mml:mi></mml:mstyle><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mi>&#x003BC;</mml:mi><mml:mn>0</mml:mn></mml:msub></mml:mrow><mml:mrow><mml:mn>4</mml:mn><mml:mi>&#x003C0;</mml:mi><mml:mo>&#x0007C;</mml:mo><mml:mi>r</mml:mi><mml:mo>&#x02212;</mml:mo><mml:msup><mml:mi>r</mml:mi><mml:mo>&#x02032;</mml:mo></mml:msup><mml:msup><mml:mo>&#x0007C;</mml:mo><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:mstyle mathvariant='bold' mathsize='normal'><mml:mi>I</mml:mi></mml:mstyle></mml:math></inline-formula>, where, as before, we assume that the vector <italic><bold>r</bold></italic> &#x02212; <italic><bold>r</bold></italic>&#x02032; is aligned in the radial direction, |<italic><bold>r</bold></italic> &#x02212; <italic><bold>r</bold></italic>&#x02032;| is a typical distance between the sensor and the source, and <italic><bold>I</bold></italic> is the identity matrix, such that each sensor measures only the field generated by each brain region. For a more detailed calculation of MEG, a more detailed head-model and orientation of dipoles should be taken into consideration.</p>
<p>We show in <xref ref-type="fig" rid="F6">Figure 6</xref> the results of our whole brain simulations. In <xref ref-type="fig" rid="F6">Figure 6A</xref> of the figure we show the time series of the mean firing rates of each region and the corresponding magnetic field for each sensor registered in the simulation. For these simulations we are assuming an homogeneous medium (i.e., uniform conductivity), from where the only source of the magnetic field are the neuronal axial currents. In <xref ref-type="fig" rid="F6">Figure 6B</xref> we show a colormap of the magnetic field for region corresponding to a single slow-wave in our simulations.</p>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>Whole brain simulations of the MEG signal in the human brain performed with The Virtual Brain (TVB) platform. <bold>(A)</bold> Top: time course of the mean firing rates for each brain region in the simulations. Bottom: magnetic field for each region calculated with the method introduced in this paper. <bold>(B)</bold> Colormap of the magnetic field amplitude at each brain region for a down (<italic>t</italic> = 0) and up (<italic>t</italic> = 0.26 s) states during one slow-wave oscillation. For details on the TVB simulations of the human brain see Sanz Leon et al. (<xref ref-type="bibr" rid="B29">2013</xref>), Schirner et al. (<xref ref-type="bibr" rid="B31">2015</xref>), Sanz-Leon et al. (<xref ref-type="bibr" rid="B30">2015</xref>), and Goldman et al. (<xref ref-type="bibr" rid="B12">2021</xref>).</p></caption>
<graphic mimetype="image" mime-subtype="tiff" xlink:href="fncom-16-968278-g0006.tif"/>
</fig>
</sec>
</sec>
<sec sec-type="discussion" id="s4">
<title>4. Discussion</title>
<p>In this paper we have introduced a method for forward modeling of local field potentials (LFP) and magnetic fields generated by neuronal activity. Our method allows to calculate these signals from mean-field models of neuronal populations. We have proposed a method based on a phenomenologically defined kernel to calculate the LFP, which provides an estimation of the field as a function of depth and distances from the cell body. To calculate the magnetic-field we utilized a current-dipole and volume conductor model which we combined with the kernel method of LFP to estimate the secondary currents induced in the conducting medium by the neuronal electric fields. Our method considers a very general scenario with a non-homogeneous conducting medium. Other efforts to calculate LFP signals from kernel methods have been previously proposed (Hagen et al., <xref ref-type="bibr" rid="B14">2016</xref>; Skaar et al., <xref ref-type="bibr" rid="B33">2020</xref>), where kernels are estimated from simulations of detailed biophysical neuronal models. Our method is based on experimentally measured uLFP&#x00027;s, which is not limited by specific model constraints.</p>
<p>We have presented an example of the application of our method for a mean-field of a population of Adaptive Exponential Integrate and Fire neurons. For the example shown in the paper the magnetic-field is mainly generated by neuronal currents (i.e., primary currents) with a nearly negligible contribution of the conduction currents (secondary currents).</p>
<p>One possible source of limitations of our method is associated with the characteristic of the mean-field models. In particular, the mean-field models presented here correspond to randomly connected networks, which prevents the utilization of specific network structures.</p>
<p>Finally, our method exhibits a great potential for application in large-scale or whole-brain simulations, where calculations <italic>via</italic> detailed biological models are not feasible. Further improvement of our method would include the refinement of the kernel used for the LFP calculations, which is envisioned for the near future. The specification of the kernel for different brain-regions and a more detailed analysis of its depth-dependence will lead to more accurate calculations of the local field potential and the MEG signal.</p>
</sec>
<sec sec-type="data-availability" id="s5">
<title>Data availability statement</title>
<p>The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation. The code for the implementation of the method introduced in this paper is available at <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.6983162">https://doi.org/10.5281/zenodo.6983162</ext-link>.</p>
</sec>
<sec id="s6">
<title>Author contributions</title>
<p>FT and AD designed the method. FT performed the simulations of the method for the mean-field models and analyzed the data. NT-C performed the simulations of the method for LFP in spiking networks. DD and MC designed and performed the simulations for the two-compartment spiking AdEx model. FT, DD, and AD wrote the manuscript. AD supervised the project. All authors contributed to the article and approved the submitted version.</p>
</sec>
<sec sec-type="funding-information" id="s7">
<title>Funding</title>
<p>This research was supported by the CNRS and the European Union (Human Brain Project H2020-785907 and H2020-945539).</p>
</sec>
<sec sec-type="COI-statement" id="conf1">
<title>Conflict of interest</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 sec-type="disclaimer" id="s8">
<title>Publisher&#x00027;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
</body>
<back>
<ack><p>Large scale simulation of the human brain in the Virtual Brain platform are based on previous work of Jennifer S. Goldman at the Paris-Saclay Institute of Neuroscience (NeuroPSI). We thank Alexis Garcia for valuable discussion.</p>
</ack>
<sec sec-type="supplementary-material" id="s9">
<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/fncom.2022.968278/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fncom.2022.968278/full#supplementary-material</ext-link></p>
<supplementary-material xlink:href="Data_Sheet_1.pdf" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>B&#x000E9;dard</surname> <given-names>C.</given-names></name> <name><surname>Destexhe</surname> <given-names>A.</given-names></name></person-group> (<year>2012</year>). <article-title>Modeling local field potentials and their interaction with the extracellular medium</article-title>, in <source>Handbook of Neural Activity Measurement</source> (<publisher-loc>Cambridge</publisher-loc>), <fpage>136</fpage>&#x02013;<lpage>191</lpage>.</citation>
</ref>
<ref id="B2">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>B&#x000E9;dard</surname> <given-names>C.</given-names></name> <name><surname>Kr&#x000F6;ger</surname> <given-names>H.</given-names></name> <name><surname>Destexhe</surname> <given-names>A.</given-names></name></person-group> (<year>2004</year>). <article-title>Modeling extracellular field potentials and the frequency-filtering properties of extracellular space</article-title>. <source>Biophys. J</source>. <volume>86</volume>, <fpage>1829</fpage>&#x02013;<lpage>1842</lpage>. <pub-id pub-id-type="doi">10.1016/S0006-3495(04)74250-2</pub-id><pub-id pub-id-type="pmid">14990509</pub-id></citation></ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Brette</surname> <given-names>R.</given-names></name> <name><surname>Gerstner</surname> <given-names>W.</given-names></name></person-group> (<year>2005</year>). <article-title>Adaptive exponential integrate-and-fire model as an effective description of neuronal activity</article-title>. <source>J. Neurophysiol</source>. <volume>94</volume>, <fpage>3637</fpage>&#x02013;<lpage>3642</lpage>. <pub-id pub-id-type="doi">10.1152/jn.00686.2005</pub-id><pub-id pub-id-type="pmid">16014787</pub-id></citation></ref>
<ref id="B4">
<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>C. A.</given-names></name> <name><surname>Koch</surname> <given-names>C.</given-names></name></person-group> (<year>2012</year>). <article-title>The origin of extracellular fields and currents&#x02013;EEG, ECOG, LFP and spikes</article-title>. <source>Nat. Rev. Neurosci</source>. <volume>13</volume>, <fpage>407</fpage>&#x02013;<lpage>420</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="B5">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>De Munck</surname> <given-names>J.</given-names></name> <name><surname>Wolters</surname> <given-names>C. H.</given-names></name> <name><surname>Clerc</surname> <given-names>M.</given-names></name></person-group> (<year>2012</year>). <article-title>Eeg and meg: forward modeling</article-title>. <source>Handbook Neural Activity Meas.</source> <volume>19</volume>, <fpage>192</fpage>&#x02013;<lpage>248</lpage>. <pub-id pub-id-type="doi">10.1017/CBO9780511979958.006</pub-id></citation>
</ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>De Pasquale</surname> <given-names>F.</given-names></name> <name><surname>Della Penna</surname> <given-names>S.</given-names></name> <name><surname>Snyder</surname> <given-names>A. Z.</given-names></name> <name><surname>Lewis</surname> <given-names>C.</given-names></name> <name><surname>Mantini</surname> <given-names>D.</given-names></name> <name><surname>Marzetti</surname> <given-names>L.</given-names></name> <etal/></person-group>. (<year>2010</year>). <article-title>Temporal dynamics of spontaneous meg activity in brain networks</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A</source>. <volume>107</volume>, <fpage>6040</fpage>&#x02013;<lpage>6045</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.0913863107</pub-id><pub-id pub-id-type="pmid">20304792</pub-id></citation></ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Depannemaecker</surname> <given-names>D.</given-names></name> <name><surname>Destexhe</surname> <given-names>A.</given-names></name> <name><surname>Jirsa</surname> <given-names>V.</given-names></name> <name><surname>Bernard</surname> <given-names>C.</given-names></name></person-group> (<year>2021</year>). <article-title>Modeling seizures: from single neurons to networks</article-title>. <source>Seizure</source> <volume>90</volume>, <fpage>4</fpage>&#x02013;<lpage>8</lpage>. <pub-id pub-id-type="doi">10.1016/j.seizure.2021.06.015</pub-id><pub-id pub-id-type="pmid">34219016</pub-id></citation></ref>
<ref id="B8">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Destexhe</surname> <given-names>A.</given-names></name> <name><surname>Contreras</surname> <given-names>D.</given-names></name> <name><surname>Steriade</surname> <given-names>M.</given-names></name></person-group> (<year>1999</year>). <article-title>Spatiotemporal analysis of local field potentials and unit discharges in cat cerebral cortex during natural wake and sleep states</article-title>. <source>J. Neurosci</source>. <volume>19</volume>, <fpage>4595</fpage>&#x02013;<lpage>4608</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.19-11-04595.1999</pub-id><pub-id pub-id-type="pmid">10341257</pub-id></citation></ref>
<ref id="B9">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Di Volo</surname> <given-names>M.</given-names></name> <name><surname>Romagnoni</surname> <given-names>A.</given-names></name> <name><surname>Capone</surname> <given-names>C.</given-names></name> <name><surname>Destexhe</surname> <given-names>A.</given-names></name></person-group> (<year>2019</year>). <article-title>Biologically realistic mean-field models of conductance-based networks of spiking neurons with adaptation</article-title>. <source>Neural Comput</source>. <volume>31</volume>, <fpage>653</fpage>&#x02013;<lpage>680</lpage>. <pub-id pub-id-type="doi">10.1162/neco_a_01173</pub-id><pub-id pub-id-type="pmid">30764741</pub-id></citation></ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Garcia-Rodriguez</surname> <given-names>A.</given-names></name> <name><surname>Destexhe</surname> <given-names>A.</given-names></name></person-group> (<year>2021</year>). <article-title>A formalism for the long-distance magnetic field generated by populations of neurons</article-title>. <source>arXiv preprint arXiv:2112.02024</source>. <pub-id pub-id-type="doi">10.48550/arXiv.2112.02024</pub-id></citation>
</ref>
<ref id="B11">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Geselowitz</surname> <given-names>D.</given-names></name></person-group> (<year>1970</year>). <article-title>On the magnetic field generated outside an inhomogeneous volume conductor by internal current sources</article-title>. <source>IEEE Trans. Magn</source>. <volume>6</volume>, <fpage>346</fpage>&#x02013;<lpage>347</lpage>. <pub-id pub-id-type="doi">10.1109/TMAG.1970.1066765</pub-id></citation>
</ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Goldman</surname> <given-names>J. S.</given-names></name> <name><surname>Kusch</surname> <given-names>L.</given-names></name> <name><surname>Yalcinkaya</surname> <given-names>B. H.</given-names></name> <name><surname>Depannemaecker</surname> <given-names>D.</given-names></name> <name><surname>Nghiem</surname> <given-names>T.-A. E.</given-names></name> <name><surname>Jirsa</surname> <given-names>V.</given-names></name> <etal/></person-group>. (<year>2021</year>). <article-title>A comprehensive neural simulation of slow-wave sleep and highly responsive wakefulness dynamics</article-title>. <source>bioRxiv</source>. <pub-id pub-id-type="doi">10.1101/2021.08.31.458365</pub-id></citation>
</ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Goldman</surname> <given-names>J. S.</given-names></name> <name><surname>Kusch</surname> <given-names>L.</given-names></name> <name><surname>Yalcinkaya</surname> <given-names>B. H.</given-names></name> <name><surname>Depannemaecker</surname> <given-names>D.</given-names></name> <name><surname>Nghiem</surname> <given-names>T. -A. E.</given-names></name> <name><surname>Jirsa</surname> <given-names>V.</given-names></name> <etal/></person-group>. (<year>2020</year>). <article-title>Brain-scale emergence of slow-wave synchrony and highly responsive asynchronous states based on biologically realistic population models simulated in the virtual brain</article-title>. <source>BioRxiv</source>. <pub-id pub-id-type="doi">10.1101/2020.12.28.424574</pub-id></citation>
</ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hagen</surname> <given-names>E.</given-names></name> <name><surname>Dahmen</surname> <given-names>D.</given-names></name> <name><surname>Stavrinou</surname> <given-names>M. L.</given-names></name> <name><surname>Lind&#x000E9;n</surname> <given-names>H.</given-names></name> <name><surname>Tetzlaff</surname> <given-names>T.</given-names></name> <name><surname>Van Albada</surname> <given-names>S. J.</given-names></name> <etal/></person-group>. (<year>2016</year>). <article-title>Hybrid scheme for modeling local field potentials from point-neuron networks</article-title>. <source>Cereb. Cortex</source> <volume>26</volume>, <fpage>4461</fpage>&#x02013;<lpage>4496</lpage>. <pub-id pub-id-type="doi">10.1093/cercor/bhw237</pub-id><pub-id pub-id-type="pmid">27797828</pub-id></citation></ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Hagen</surname> <given-names>E.</given-names></name> <name><surname>N&#x000E6;ss</surname> <given-names>S.</given-names></name> <name><surname>Ness</surname> <given-names>T. V.</given-names></name> <name><surname>Einevoll</surname> <given-names>G. T.</given-names></name></person-group> (<year>2018</year>). <article-title>Multimodal modeling of neural network activity: Computing LFP, ECOG, EEG, and MEG signals with lfpy 2.0</article-title>. <source>Front Neuroinform</source>. <volume>12</volume>, <fpage>92</fpage>. <pub-id pub-id-type="doi">10.3389/fninf.2018.00092</pub-id><pub-id pub-id-type="pmid">30618697</pub-id></citation></ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>H&#x000E4;m&#x000E4;l&#x000E4;inen</surname> <given-names>M.</given-names></name> <name><surname>Hari</surname> <given-names>R.</given-names></name> <name><surname>Ilmoniemi</surname> <given-names>R. J.</given-names></name> <name><surname>Knuutila</surname> <given-names>J.</given-names></name> <name><surname>Lounasmaa</surname> <given-names>O. V.</given-names></name></person-group> (<year>1993</year>). <article-title>Magnetoencephalography&#x02013;theory, instrumentation, and applications to noninvasive studies of the working human brain</article-title>. <source>Rev. Mod. Phys</source>. <volume>65</volume>, <fpage>413</fpage>. <pub-id pub-id-type="doi">10.1103/RevModPhys.65.413</pub-id></citation>
</ref>
<ref id="B17">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Hansen</surname> <given-names>P.</given-names></name> <name><surname>Kringelbach</surname> <given-names>M.</given-names></name> <name><surname>Salmelin</surname> <given-names>R.</given-names></name></person-group> (<year>2010</year>). <source>MEG: An Introduction To Methods</source>. <publisher-loc>Oxford</publisher-loc>: <publisher-name>Oxford University Press</publisher-name>.</citation>
</ref>
<ref id="B18">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Ilmoniemi</surname> <given-names>R. J.</given-names></name> <name><surname>Sarvas</surname> <given-names>J.</given-names></name></person-group> (<year>2019</year>). <source>Brain Signals: Physics and mathematics of MEG and EEG</source>. <publisher-loc>Cambridge</publisher-loc>: <publisher-name>MIT Press</publisher-name>.</citation>
</ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Kuhn</surname> <given-names>A.</given-names></name> <name><surname>Aertsen</surname> <given-names>A.</given-names></name> <name><surname>Rotter</surname> <given-names>S.</given-names></name></person-group> (<year>2004</year>). <article-title>Neuronal integration of synaptic input in the fluctuation-driven regime</article-title>. <source>J. Neurosci</source>. <volume>24</volume>, <fpage>2345</fpage>&#x02013;<lpage>2356</lpage>. <pub-id pub-id-type="doi">10.1523/JNEUROSCI.3349-03.2004</pub-id><pub-id pub-id-type="pmid">15014109</pub-id></citation></ref>
<ref id="B20">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lind&#x000E9;n</surname> <given-names>H.</given-names></name> <name><surname>Hagen</surname> <given-names>E.</given-names></name> <name><surname>Leski</surname> <given-names>S.</given-names></name> <name><surname>Norheim</surname> <given-names>E. S.</given-names></name> <name><surname>Pettersen</surname> <given-names>K. H.</given-names></name> <name><surname>Einevoll</surname> <given-names>G. T.</given-names></name></person-group> (<year>2014</year>). <article-title>Lfpy: a tool for biophysical simulation of extracellular potentials generated by detailed model neurons</article-title>. <source>Front. Neuroinform</source>. <volume>7</volume>, <fpage>41</fpage>. <pub-id pub-id-type="doi">10.3389/fninf.2013.00041</pub-id><pub-id pub-id-type="pmid">24474916</pub-id></citation></ref>
<ref id="B21">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lopes da Silva</surname> <given-names>F. H.</given-names></name></person-group> (<year>2013</year>). <article-title>EEG and MEG: relevance to neuroscience</article-title>. <source>Neuron</source> <volume>80</volume>, <fpage>1112</fpage>&#x02013;<lpage>1128</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuron.2013.10.017</pub-id><pub-id pub-id-type="pmid">24314724</pub-id></citation></ref>
<ref id="B22">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mandija</surname> <given-names>S.</given-names></name> <name><surname>Petrov</surname> <given-names>P. I.</given-names></name> <name><surname>Vink</surname> <given-names>J. J.</given-names></name> <name><surname>Neggers</surname> <given-names>S. F.</given-names></name> <name><surname>van den Berg</surname> <given-names>C. A.</given-names></name></person-group> (<year>2021</year>). <article-title>Brain tissue conductivity measurements with mr-electrical properties tomography: an in vivo study</article-title>. <source>Brain Topogr</source>. <volume>34</volume>, <fpage>56</fpage>&#x02013;<lpage>63</lpage>. <pub-id pub-id-type="doi">10.1007/s10548-020-00813-1</pub-id><pub-id pub-id-type="pmid">33289858</pub-id></citation></ref>
<ref id="B23">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>McCann</surname> <given-names>H.</given-names></name> <name><surname>Pisano</surname> <given-names>G.</given-names></name> <name><surname>Beltrachini</surname> <given-names>L.</given-names></name></person-group> (<year>2019</year>). <article-title>Variation in reported human head tissue electrical conductivity values</article-title>. <source>Brain Topogr</source>. <volume>32</volume>, <fpage>825</fpage>&#x02013;<lpage>858</lpage>. <pub-id pub-id-type="doi">10.1007/s10548-019-00710-2</pub-id><pub-id pub-id-type="pmid">33211284</pub-id></citation></ref>
<ref id="B24">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Meg&#x00131;as</surname> <given-names>M.</given-names></name> <name><surname>Emri</surname> <given-names>Z.</given-names></name> <name><surname>Freund</surname> <given-names>T.</given-names></name> <name><surname>Gulyas</surname> <given-names>A.</given-names></name></person-group> (<year>2001</year>). <article-title>Total number and distribution of inhibitory and excitatory synapses on hippocampal ca1 pyramidal cells</article-title>. <source>Neuroscience</source> <volume>102</volume>, <fpage>527</fpage>&#x02013;<lpage>540</lpage>. <pub-id pub-id-type="doi">10.1016/S0306-4522(00)00496-6</pub-id><pub-id pub-id-type="pmid">11226691</pub-id></citation></ref>
<ref id="B25">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Melozzi</surname> <given-names>F.</given-names></name> <name><surname>Woodman</surname> <given-names>M. M.</given-names></name> <name><surname>Jirsa</surname> <given-names>V. K.</given-names></name> <name><surname>Bernard</surname> <given-names>C.</given-names></name></person-group> (<year>2017</year>). <article-title>The virtual mouse brain: a computational neuroinformatics platform to study whole mouse brain dynamics</article-title>. <source>eNeuro</source> <volume>4</volume>, <fpage>ENEURO.0111-17.2017</fpage>. <pub-id pub-id-type="doi">10.1523/ENEURO.0111-17.2017</pub-id><pub-id pub-id-type="pmid">28664183</pub-id></citation></ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Mosher</surname> <given-names>J. C.</given-names></name> <name><surname>Leahy</surname> <given-names>R. M.</given-names></name> <name><surname>Lewis</surname> <given-names>P. S.</given-names></name></person-group> (<year>1999</year>). <article-title>EEG and MEG: forward solutions for inverse methods</article-title>. <source>IEEE Trans. Biomed. Eng</source>. <volume>46</volume>, <fpage>245</fpage>&#x02013;<lpage>259</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="B27">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Niedermeyer</surname> <given-names>E.</given-names></name> <name><surname>Lopes da Silva</surname> <given-names>F. H.</given-names></name></person-group> (<year>2005</year>). <source>Electroencephalography: Basic Principles, Clinical Applications, and Related Fields</source>. <publisher-loc>Baltimore, MD</publisher-loc>: <publisher-name>Lippincott Williams and Wilkins</publisher-name>.<pub-id pub-id-type="pmid">29724661</pub-id></citation></ref>
<ref id="B28">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Nunez</surname> <given-names>P. L.</given-names></name> <name><surname>Srinivasan</surname> <given-names>R.</given-names></name> <etal/></person-group>. (<year>2006</year>). <source>Electric Fields of the Brain: The Neurophysics of EEG</source>. <publisher-loc>Oxford</publisher-loc>: <publisher-name>Oxford University Press, USA</publisher-name>.<pub-id pub-id-type="pmid">10863036</pub-id></citation></ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sanz Leon</surname> <given-names>P.</given-names></name> <name><surname>Knock</surname> <given-names>S. A.</given-names></name> <name><surname>Woodman</surname> <given-names>M. M.</given-names></name> <name><surname>Domide</surname> <given-names>L.</given-names></name> <name><surname>Mersmann</surname> <given-names>J.</given-names></name> <name><surname>McIntosh</surname> <given-names>A. R.</given-names></name> <etal/></person-group>. (<year>2013</year>). <article-title>The virtual brain: a simulator of primate brain network dynamics</article-title>. <source>Front. Neuroinform</source>. <volume>7</volume>, <fpage>10</fpage>. <pub-id pub-id-type="doi">10.3389/fninf.2013.00010</pub-id><pub-id pub-id-type="pmid">23781198</pub-id></citation></ref>
<ref id="B30">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sanz-Leon</surname> <given-names>P.</given-names></name> <name><surname>Knock</surname> <given-names>S. A.</given-names></name> <name><surname>Spiegler</surname> <given-names>A.</given-names></name> <name><surname>Jirsa</surname> <given-names>V. K.</given-names></name></person-group> (<year>2015</year>). <article-title>Mathematical framework for large-scale brain network modeling in the virtual brain</article-title>. <source>Neuroimage</source> <volume>111</volume>, <fpage>385</fpage>&#x02013;<lpage>430</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2015.01.002</pub-id><pub-id pub-id-type="pmid">25592995</pub-id></citation></ref>
<ref id="B31">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Schirner</surname> <given-names>M.</given-names></name> <name><surname>Rothmeier</surname> <given-names>S.</given-names></name> <name><surname>Jirsa</surname> <given-names>V. K.</given-names></name> <name><surname>McIntosh</surname> <given-names>A. R.</given-names></name> <name><surname>Ritter</surname> <given-names>P.</given-names></name></person-group> (<year>2015</year>). <article-title>An automated pipeline for constructing personalized virtual brains from multimodal neuroimaging data</article-title>. <source>Neuroimage</source> <volume>117</volume>, <fpage>343</fpage>&#x02013;<lpage>357</lpage>. <pub-id pub-id-type="doi">10.1016/j.neuroimage.2015.03.055</pub-id><pub-id pub-id-type="pmid">25837600</pub-id></citation></ref>
<ref id="B32">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Simon</surname> <given-names>N. R.</given-names></name> <name><surname>Manshanden</surname> <given-names>I.</given-names></name> <name><surname>da Silva</surname> <given-names>F. H. L.</given-names></name></person-group> (<year>2000</year>). <article-title>A MEG study of sleep</article-title>. <source>Brain Res</source>. <volume>860</volume>, <fpage>64</fpage>&#x02013;<lpage>76</lpage>. <pub-id pub-id-type="doi">10.1016/S0006-8993(00)01974-0</pub-id><pub-id pub-id-type="pmid">10727624</pub-id></citation></ref>
<ref id="B33">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Skaar</surname> <given-names>J.-E. W.</given-names></name> <name><surname>Stasik</surname> <given-names>A. J.</given-names></name> <name><surname>Hagen</surname> <given-names>E.</given-names></name> <name><surname>Ness</surname> <given-names>T. V.</given-names></name> <name><surname>Einevoll</surname> <given-names>G. T.</given-names></name></person-group> (<year>2020</year>). <article-title>Estimation of neural network model parameters from local field potentials (lfps)</article-title>. <source>PLoS Comput. Biol</source>. <volume>16</volume>, <fpage>e1007725</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pcbi.1007725</pub-id><pub-id pub-id-type="pmid">32155141</pub-id></citation></ref>
<ref id="B34">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stokes</surname> <given-names>M. G.</given-names></name> <name><surname>Wolff</surname> <given-names>M. J.</given-names></name> <name><surname>Spaak</surname> <given-names>E.</given-names></name></person-group> (<year>2015</year>). <article-title>Decoding rich spatial information with high temporal resolution</article-title>. <source>Trends Cogn. Sci</source>. <volume>19</volume>, <fpage>636</fpage>&#x02013;<lpage>638</lpage>. <pub-id pub-id-type="doi">10.1016/j.tics.2015.08.016</pub-id><pub-id pub-id-type="pmid">26440122</pub-id></citation></ref>
<ref id="B35">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tele&#x00144;czuk</surname> <given-names>B.</given-names></name> <name><surname>Dehghani</surname> <given-names>N.</given-names></name> <name><surname>Le Van Quyen</surname> <given-names>M.</given-names></name> <name><surname>Cash</surname> <given-names>S. S.</given-names></name> <name><surname>Halgren</surname> <given-names>E.</given-names></name> <name><surname>Hatsopoulos</surname> <given-names>N. G.</given-names></name> <etal/></person-group>. (<year>2017</year>). <article-title>Local field potentials primarily reflect inhibitory neuron activity in human and monkey cortex</article-title>. <source>Sci. Rep</source>. <volume>7</volume>, <fpage>1</fpage>&#x02013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.1038/srep40211</pub-id><pub-id pub-id-type="pmid">28074856</pub-id></citation></ref>
<ref id="B36">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Telenczuk</surname> <given-names>B.</given-names></name> <name><surname>Telenczuk</surname> <given-names>M.</given-names></name> <name><surname>Destexhe</surname> <given-names>A.</given-names></name></person-group> (<year>2020</year>). <article-title>A kernel-based method to calculate local field potentials from networks of spiking neurons</article-title>. <source>J. Neurosci. Methods</source> <volume>344</volume>, <fpage>108871</fpage>. <pub-id pub-id-type="doi">10.1016/j.jneumeth.2020.108871</pub-id><pub-id pub-id-type="pmid">32687850</pub-id></citation></ref>
</ref-list>
</back>
</article>