Skip to main content
PLOS ONE logoLink to PLOS ONE
. 2018 Mar 27;13(3):e0192842. doi: 10.1371/journal.pone.0192842

Bifurcation analysis of two coupled Jansen-Rit neural mass models

Saeed Ahmadizadeh 1, Philippa J Karoly 2, Dragan Nešić 1, David B Grayden 2,3,5, Mark J Cook 3, Daniel Soudry 4, Dean R Freestone 3,4,*
Editor: Gennady Cymbalyuk6
PMCID: PMC5870965  PMID: 29584728

Abstract

We investigate how changes in network structure can lead to pathological oscillations similar to those observed in epileptic brain. Specifically, we conduct a bifurcation analysis of a network of two Jansen-Rit neural mass models, representing two cortical regions, to investigate different aspects of its behavior with respect to changes in the input and interconnection gains. The bifurcation diagrams, along with simulated EEG time series, exhibit diverse behaviors when varying the input, coupling strength, and network structure. We show that this simple network of neural mass models can generate various oscillatory activities, including delta wave activity, which has not been previously reported through analysis of a single Jansen-Rit neural mass model. Our analysis shows that spike-wave discharges can occur in a cortical region as a result of input changes in the other region, which may have important implications for epilepsy treatment. The bifurcation analysis is related to clinical data in two case studies.

Introduction

Epilepsy is regarded as the second most common neurological disease after stroke. The hallmark of epilepsy is recurrent unprovoked seizures, during which a network of the brain is hyper-excitable [1]. Medication is the main treatment for controlling epilepsy. However, approximately 30% of patients are not well treated by anti-epileptic drugs and suffer from recurring seizures [2]. Epilepsy surgery is a treatment option for patients whose seizures continue despite pharmacological interventions. However, surgical intervention is not viable for all patients due to the risks involved in the removal of brain tissue [3]. Hence, there is a strong research effort directed towards alternative methods to control seizures. In order to develop new robust therapies, there is a need to understand the mechanisms that lead to seizures. This has proven to be a difficult problem to unravel from an experimental point of view. Therefore, computational modeling studies are an alternative to understand epilepsy at a network level and generate new hypotheses regarding the basic mechanisms that lead to seizures.

Over the past sixty years, computational neural modeling has contributed to the development of theory that explains brain dynamics at different spatiotemporal scales. Microscopic models, such as those of [4] and [5], describe single neuron dynamics. Mesoscopic neural mass models have also been developed in parallel to the microscopic models, with notable early contributions from [6, 7], and [8]. Mesoscopic, neural mass, or neural field models describe the averaged activity of cortical ensembles. Modeling at the mesoscopic scale is particularly important for epilepsy, as this is the scale observed through clinical electroencephalographic (EEG) and intracranial EEG recordings.

There are numerous studies that have used neural mass models to study epilepsy. The models generate hypotheses regarding the mechanisms that underlie the transitions from normal brain activity to seizures. For example, [9] used a model proposed by [10] to replicate alpha and epileptic-like activity by changing the model parameters. The same group also developed a multi-region model to study the effect of changing long-range connectivity [9]. They observed that, for high interconnection gains, all regions showed synchronous behavior that mimicked electrographic seizure recordings. These results motivated other researchers to further develop and investigate neural mass models to reproduce a wider range of observable brain dynamics (see [1114] for more information).

Recently, [15] investigated the effects of network structure on seizure spread in a four-region network through computer simulation. Their results demonstrated that seizure spread from an onset region was highly dependent on the structure of the network. Furthermore, altering the network structure by adding or removing interconnections between regions could preserve or annihilate seizures. They also presented a network structure in which some regions show seizure behavior while the other regions show normal behavior. These results highlight that the configuration of populations in the network significantly affects the initiation and propagation of epileptic seizures. These analyses, based on computer simulations, can be studied more rigorously by tools from control theory [16, 17] and graph theory [18, 19], or by a bifurcation analysis.

Bifurcation analysis enables visualization of the dynamical repertoire of a computational model undergoing parameter variations. For example, a bifurcation analysis will show where a model that is undergoing parameter changes transitions into different types of oscillations. [20] used bifurcation analysis to show how changes in the external input to neural mass models led to alpha-like signals described by a limit cycle and seizure-like output described by an orbit that results from a saddle-node homoclinic bifurcation. More recently, a bifurcation analysis of a neural mass model with variations in a time delay revealed a possible mechanism for the transition from alpha to seizure activity [21]. Understanding how such bifurcations occur is critical in interpreting many high-level brain functions. Using bifurcation analysis, [22] provided evidence that functional connectivity may be increased during seizures.

Previous bifurcation analyses of neural mass models have enabled theoretical and computational studies to reproduce important activity of the brain, providing insights into possible mechanisms underlying transitions between different brain states. However, networked neural mass models have not been widely analyzed in this way. It is well known that network structure has a significant effect on cortical dynamics, such as seizure generation. Therefore, a bifurcation analysis to study the behavior of two interconnected neural mass models is an important step towards understanding how network structure mediates seizure mechanisms. Although bifurcation analyses of networked neural mass models have been previously reported, for instance [23, 24], previous studies used different models such as a Wilson-Cowan neural population. The current study provides a bifurcation analysis of two interconnected Jansen-Rit neural populations, which each consist of three interacting neural populations. Models with three or more populations exhibit a range of dynamics that align with many different observed cortical activities, especially epileptic activities [14]. Bifurcation analysis of two interconnected Jansen-Rit neural populations was recently studied in [25], where the input of the network was fixed to a specific value at which the single neural mass population exhibits the oscillatory behavior. In [25] the effects of changing the interconnection gain were studied by computing the maximal Lyapunov exponent (MLE) for limit cycles. In [26, 27], the authors conducted bifurcation analysis of two interconnected Jansen-Rit neural populations in a region in which the network shows an epileptic behavior. Both inputs and interconnection gains were considered as the bifurcation parameters in [26, 27]. In contrast to aforementioned work, we explored a wide range of network behaviors, rather than focusing on a specific region of the parameter space. By changing the network configuration and external inputs, we found unique behaviours for a coupled network, which were not possible for a single neural mass model. Furthermore, we explored unexpected dynamics of the network that have important implications for epilepsy related surgery. Finally, we demonstrate our analysis is relevant for real world epileptic seizures, by relating the bifurcation diagrams to data using a parameter inference method.

This paper is organized as follows. In Section 1.2, we introduce the multi-region neural mass model that is used in this study. Sections 1.3 to 2.3 present bifurcation analyses for three different settings of inter-connectivity. Section 2.4 relates the estimation results to the bifurcation analyses. Finally, we demonstrate how clinical insights are gained from our new analyses, and discuss future work in Section 3.

1 Methods

1.1 Ethics statement

The research involving human intracranial EEG data, presented in Section 2.4, was approved by the Human Research Ethics Committee at St. Vincent’s Hospital Melbourne (Low Risk Research 145/13).

1.2 Model description

In this section, we briefly present the mathematical representation of a neural mass model that describes a cortical area. We start from a model proposed by [28] that is used in Section 2.4. We explain how this model can be reduced to achieve the well-known model described in previous work [9, 10]. The [28] model contains three parts: pyramidal neurons, excitatory (spiny stellate) neurons, and inhibitory neurons. A pyramidal unit receives input from three sources: distant regions u, an excitatory unit ve, and an inhibitory unit vi. The dynamics of the neural mass model are described by the following set of ordinary differential equations [28]:

v˙e=zez˙e=αpecpeζpeg(vp)2ζpezeζpe2vev˙i=ziz˙i=αpicpiζpig(vp)2ζpiziζpi2viv˙p1=zp1z˙p1=αepcepζepg(ve)2ζepzp1ζep2vp1v˙p2=zp2z˙p2=αipcipζipg(vi)2ζipzp2ζip2vp2v˙p3=zp3z˙p3=αupcupζupu2ζupzp3ζup2vp3, (1)

where the post-synaptic potential, denoted by vn, is the deviation of the membrane from the resting potential, αmn is the gain for the post-synaptic response kernel, cmn is the number of connections between populations, and ζmn is the reciprocal of the synaptic/membrane time constant. The index n (post-synaptic) may represent the pyramidal (p), excitatory interneuron (spiny stellate) (e), or inhibitory interneuron (i) populations. The parameter u describes the external input firing rate. vp1, vp2, vp3 (mV) are post-synaptic potential on the pyramidal cell induced by excitatory feedback, inhibitory feedback and external input, respectively. The post-synaptic potential of the pyramidal cell is then defined as vp = vp1vp2 + vp3. The sigmoid function, g(vm), characterizes internal firing rates as a function of the pre-synaptic (subscript m) membrane potential, defined by

g(v)=2e01+exp(r(vthv)), (2)

where r defines the slope of the sigmoid, vth is the mean firing threshold, and 2e0 is the maximum firing rate.

In order to achieve the model in [9, 10], it is first assumed that the following set of equalities holds on excitatory gains and time constants, αpe = αpi = αep = αupαe, ζpe = ζpi = ζep = ζupζe, αipαi, ζipζi. These assumptions imply that the internal mathematical models of excitatory and inhibitory neurons are the same; however, their influence on post-synaptic potential of the pyramidal cell are different. Furthermore, the same mathematical formulation is used to model the influence of input u and excitatory feedback vp1 on the pyramidal cell. Therefore, we can define a new variable that incorporates the influence of u and vp1, leading to

v1vp1+vp3,v2vp2,z1zp1+zp3,z2zp2.

Given the above definition, the post-synaptic potential of the pyramidal cell can be written as vp = v1v2. Furthermore, it is supposed that the co-activation of spiny stellate and inhibitory cells are proportional and mathematically described as,

v0vicpi=vecpe,z0zicpi=zecpe.

It is also assumed that the number of connections between the input and the pyramidal cells is equal to one, i.e. cup = 1. It should be pointed out that this assumption is not conservative mathematically since we consider u˜cupu as a new input for Eq (1). Considering all aforementioned assumptions, the tenth-order system in Eq (1) is reduced to the sixth-order state-space model,

v˙0=z0z˙0=αeζeg(v1v2)2ζez0ζe2v0v˙1=z1z˙1=αeζe(u+cepg(cpev0))2ζez1ζe2v1v˙2=z2z˙2=αiζicipg(cpiv0)2ζiz2ζi2v2. (3)

Eq 3 describes the reduced model of single neural mass model. In order to interconnect the reduced neural mass models and construct a network, it is assumed that the pyramidal unit also receives input from neighboring regions that is added to the external input u. In this case, the neural mass model network with N regions is described by [9, 10]

v˙0j=z0jz˙0j=αejζejg(v1jv2j)2ζejz0jζej2v0jv˙1j=z1jz˙1j=αejζej(uj+cepjg(cpejv0j)+l=1,ljNKj,lv3l)2ζejz1jζej2v1jv˙2j=z2jz˙2j=αijζijcipjg(cpijv0j)2ζijz2jζij2v2jv˙3j=z3jz˙3j=αejζdjg(v1jv2j)2ζdjz3jζdj2v3j, (4)

where superscript j = 1, …, N indexes the neural mass in region j. The parameters αej,αij,ζej,ζij,ζdj are considered known. The two state variables v3 and z3 are used to interconnect region j to the other regions in the network. The effect of external regions on local dynamics is parametrized by the coupling gain Kj,l ≥ 0 (mV−1s−1) and coupling outputs v3l [9, 10]. Note that Ki,i = 0, i = 1, …, n. A schematic diagram of a two-region network is depicted in Fig 1.

Fig 1. The schematic diagram of network of Jansen’s model and three underlying cases.

Fig 1

A. The schematic diagram of the neural mass model for two cortical regions described by Eq 4. B. Elements of a neural mass, showing the synaptic kernel on the left and the sigmoidal nonlinearity on the right.

The model (4) implies that each region j shows different behaviors depending on the region parameters, external inputs uj(t) (s−1) and coupling gains. The complexity of the model is increased dramatically for a network with a large number of regions. Even for a network with two regions, it is difficult to analyze the effects of variations of parameters and coupling gains. In this manuscript, we consider a network with N = 2 regions, region a and region b, and provide a rigorous analysis. The model parameters and their interpretation are given in Table 1 (also see [9]).

Table 1. The parameters of model (4), used in Jansen and Rit’s original model [9].

Parameter Description Value
αe, αi Average gain of excitatory (e) and inhibitory (i) synaptic gains αe = 3.25 mV, αi = 22 mV
1ζe, 1ζi, 1ζd Average time constant of post-synaptic potential. d is the connection between regions. ζe = 100 s−1, ζi = 50 s−1, ζd = 33 s−1
cpe, cep, cpi, cip Average number of synaptic contacts of excitatory and inhibitory connection cpe = c, cep = 0.8c, cpi = 0.25c, cip = 0.25c with c = 135
vth, e0, r Threshold, half of the maximum output, and slope of sigmoid function g(v) vth = 6 mV, e0 = 2.5 s−1, r = 0.56 mV−1

We now state the assumptions that are required for further analysis. The first assumption is that the local parameters of the two regions are identical, and changes in the network behavior result from a varying input. This assumption implies that these two regions belong to the same cortical area. For Sections 2.1 and 2.2, we will make a second assumption that the coupling gains between the two regions are symmetric; i.e., K1,2 = K2,1 = K. The second assumption is relaxed in Section 2.3. Although the assumptions limit the generality of the results, the networks shows very complicated behavior when the coupling gain is varied and valuable insights are gained. The assumptions are required to gain these insights and similar approaches have been used in previous studies [9, 15].

Three cases are analyzed (see Fig 1). In case I, the same input is applied to both regions. This structure can be seen as a network of two regions that are located near each other and receive common input. These two regions are involved in the same function; i.e., the same input and the same hierarchical level. In case II, we assume that only region a receives input, representing two regions that could be in same area with the same parameters, but with different levels of hierarchy. In case III, region a receives input and the feedback from region b is removed. In Section 2.2 and 2.3, we will point out that this change in the structure of the network induces interesting changes in the dynamics.

1.3 Equilibria

In order to start the bifurcation analysis, the first step is to find the equilibria of the network by setting the left hand side of (4) to zero for j = a, b. This leads to the following set of equations:

v0a=αeζeg(v1av2a),z0a=0,v1a=αeζe(ua+cepg(cpev0a)+Kabv6b),z1a=0,v2a=αiζicipg(cpiv0a),z2a=0,v3a=αeζdg(v1av2a),z3a=0. (5)
v0b=αeζeg(v1bv2b),z0b=0,v1b=αeζe(ub+cepg(cpev0b)+Kbav6a),z1b=0,v2b=αiζicipg(cpiv0b),z2b=0,v3b=αeζdg(v1bv2b),z3b=0. (6)

We define the EEG signal corresponding to region a and region b as yav1av2a and ybv1bv2b [9]. Now, from (5) and (6), we can write the equations describing the EEG at equilibrium as [25]

ya=αeζeua+αeζecepg(αeζecpeg(ya))αiζicipg(αeζecpig(ya))+αe2ζeζdKabg(yb),yb=αeζeub+αeζecepg(αeζecpeg(yb))αiζicipg(αeζecpig(yb))+αe2ζeζdKbag(ya). (7)

Since (7) is implicit in terms of ua, ub, Kab and Kba, a computational approach is utilized in which the values of ua, ub, Kab and Kba are considered to be fixed, and the values of ya and yb are obtained subsequently. Then, the equilibria of the network corresponding to those fixed values can be determined from (5) and (6). The goal of the bifurcation analysis is to analyze the behavior of the underlying network arising around equilibria as parameters of the network are varied.

2 Results

2.1 Case I: Bifurcation analysis with a common input

In case I, the applied inputs and interconnection gains are considered to be same for both regions, i.e., ua = ub = u and Kab = Kba = K. We consider u as the bifurcation parameter that changes continuously, and consider discrete interconnection gains K = 25, 50, 100, 150. Considering both the input u and the interconnection gain K as continuous bifurcation parameters provides a more comprehensive analysis of the underlying networks, but is beyond the scope of this paper.

We categorize the equilibria of the network into two groups. The first group contains the set of equilibria, called symmetric equilibria, that are equal; i.e., ya = yb = ys. This set of equilibria results from the symmetrical structure of network, which can be observed from both Fig 1 and Eq (7). The symmetry makes it possible to rewrite Eq (7) to

ys=αeζeu+αeζecepg(αeζecpeg(ys))αiζicipg(αeζecpig(ys))+αe2ζeζdKg(ys), (8)

which is used to compute the symmetric equilibria. The second group of equilibria correspond to the asymmetric solutions, which are unequal. The asymmetric equilibria are computed using Eq (7).

Note that both Eqs (7) and (8) are nonlinear, so it is not possible to find explicit expressions for ya and yb in terms of u and K. Therefore, we utilize a numerical approach to find the solutions by changing the value of ys ∈ (−3.5, 12) in Eq (8) and then calculating the value of the corresponding input u. The asymmetric equilibria are computed using the feature of the CL-MATCONT package [29], that exploits the continuity of solutions with respect to the variation of u.

2.1.1 Bifurcation analysis with weak coupling (K = 25)

Two separate bifurcation analyses were conducted corresponding to the symmetric and asymmetric solutions to the equilibria. The equilibria that correspond to the symmetric solution are shown in Fig 2A. The values of u for all bifurcation points for symmetric case are presented in Table 2. In all figures presented in this paper, the solid black lines represent the stable equilibria; i.e, all eigenvalues of the Jacobian matrix have negative real parts, and the black dashed lines show unstable equilibria. Fig 2A shows two subcritical Hopf bifurcations H2,1 and H2,2 that occur where the input, u = −14.46 or u = −21.43. For a single region neural mass model, there is only one corresponding subcritical Hopf bifurcation [20]. These two subcritical Hopf bifurcation lead to the presence of two limit cycles LC2,1 and LC2,2. The simulated EEG signals corresponding to each limit cycle are shown in Fig 2T1 (the initial conditions and the corresponding values of the input u for all times series are provided in Appendix B). Since the limit cycles are unstable, they repel nearby trajectories and, consequently, the trajectories are attracted by the stable equilibria.

Fig 2. Bifurcation diagram for the symmetric solution for case I with coupling gain K = 25.

Fig 2

The time series in Panels T1 − T3) show the EEG associated with each bifurcation using the same color. The solid black lines show stable fixed points, the solid colored lines show stable oscillatory behavior and the dashed lines show unstable fixed points and unstable oscillations. The initial conditions and the corresponding values of the input u for all times series are provided in Appendix B.

Table 2. The values of input u at bifurcation points in Fig 2.
Bifurcation H2,1 H2,2 H2,3 H2,4 H2,5 H2,6 SN2,1 SN2,2 & SN2,3 SN2,4 & SN2,5
Values of u -21.43 -14.46 71.56 93.4 298.6 313.4 112 125.7 135.4

Fig 2A also shows a saddle-node homoclinic bifurcation, indicated by SN2,1, when the input u = 110.5. The saddle-node homoclinic bifurcation leads to the appearance of two orbits. We point out that a Shlinkov saddle-node can have more than one homoclinic orbit simultaneously if the dimension of the underlying system (number of states) is strictly larger than 2. An example of Shlinkov saddle-node with a pair of the homoclinic orbits is reported in the modified Morioka-Simizu model [30]. More information can also be found in http://www.scholarpedia.org/article/Shilnikov_saddle-node_bifurcation. In our study, the dimension of the system is 16. LC2,3 and LC2,4 (see Appendix A for details of Shilnikov saddle-node homoclinic bifurcation detection) that generate epileptic-like spike and wave discharges, as seen in Fig 2T2. The two types of spike and wave discharges have the same frequency as each other, but different amplitudes. The orbit LC2,3, which is plotted in grey, terminates when the input u exceeds 125.7. This termination occurs at SN2,2 and SN2,3, which is due to a collision of the stable cycle LC2,3 with the unstable limit cycle LC2,1 originating from the subcritical Hopf bifurcation H2,1. Similarly, the orbit LC2,4 plotted in red, collides at SN2,4 and SN2,5 (u = 136.4) with the unstable limit cycle LC2,2 originating from the subcritical Hopf bifurcation H2,2.

A supercritical Hopf bifurcation H2,3 occurs when the input is increased above u = 71.56. The stable equilibrium point becomes unstable resulting from the complex eigenvalues of the Jacobian matrix crossing the imaginary axis. This Hopf bifurcation gives rise to a stable limit cycle LC2. Another two complex eigenvalues cross the imaginary axis when the input reaches u = 93.46 resulting in another supercritical Hopf bifurcation H2,4. It should be noted that the equilibrium point remains unstable since the Jacobian matrix has eigenvalues with positive real part. In multi-dimensional systems, Hopf bifurcation occurs if a pair of complex eigenvalues crosses the imaginary axis while the rest of eigenvalues can have positive or negative real parts. The type of bifurcation (supercritical or subcritical) is determined by computing the first Lyapunov coefficient (see [31, Chapter 5]). These two Hopf bifurcations lead to the appearance of two stable limit cycles LC2 and LC3. These two limit cycles disappear when the input exceeds 298.6 and 313.4. Fig 2T3 shows the alpha rhythm-like EEG for stable limit cycles with a frequency of approximately 10Hz. The two alpha-like oscillations have slightly different amplitudes and frequencies.

During continuation, two branch points BP1 and BP2 were detected on the symmetric equilibria curve. At these points, other branches of equilibria arise that correspond to the asymmetric solution, and are depicted in Fig 3A and 3B for region a and region b, respectively. Fig 3A1, 3A2 and 3A3 (Fig 3B1, 3B2 and 3B3) correspond to the lower, middle, and upper parts of the equilibria curve in Fig 3A (Fig 3B), respectively. The pair of equilibria for ya and yb are shown with the same color and linestyle. For example, if ya is an equilibrium point located on the blue solid-line in Fig 3A1, the corresponding equilibrium point yb is also located on the blue solid-line in Fig 3B3. Fig 3 shows that the equilibria of ya and yb are not necessarily identical even though the underlying network has symmetric structure. Consequently, different EEG time series can be observed at each region with a suitable initialization.

Fig 3. Equilibria curves for asymmetric solutions of case I with coupling gain K = 25.

Fig 3

A) and B) Second branch of equilibria for regions a and b, respectively. A1-A3) Magnified parts from panel in A) corresponding to the bottom, the middle and the upper parts. B1-B3) Magnified parts from panel in B) corresponding to the lower, the middle and the top parts. The black lines correspond to the symmetric solutions; the red, blue, green, cyan and magenta lines correspond to asymmetric solutions. The equilibria for ya and yb are shown with the same color and line style. For example, an equilibrium point with blue solid-line in Panel A1) corresponds to an equilibrium point with blue solid-line in Panel B3).

All bifurcations found for the asymmetric equilibria are plotted in Figs 46 for both regions. The values of u for all bifurcation points for asymmetric case are presented in Table 3. Panels A (A1 − A4) and B (B1 − B4) show the bifurcation structures for regions a and b, respectively. Simultaneous bifurcation points and corresponding limit cycles in both panels are color coded. During continuation, we found six subcritical Hopf bifurcations H4,1, H4,3, H4,4, H4,5, H4,6 and, H4,7 that are located in different parts of equilibria curve, and lead to the appearance of six unstable limit cycles (see Figs 5, 6A3, 6A4, 6B3 and 6B4). Two limit cycles LC4,1, LC4,4 (LC4,5, LC4,6), plotted in same color, collide via a fold bifurcation of limit cycles (or Limit Point of Cycle (LPC)) at u = 106 (see Fig 6A2 and 6B2), which is interesting from a technical perspective since it is a point where a limit cycle is born under other parameter variations.

Fig 4. Bifurcation diagrams of A) region a and B) region b arising from the asymmetric equilibria for case I with coupling gain K = 25.

Fig 4

The time series in Panels T1-T2) show the behaviors associated with the stable limit cycle arises from supercritical Hopf bifurcation H4,8. The magnified parts around bifurcation points are plotted in Figs 5 and 6. The initial conditions and the corresponding values of the input u for all times series are provided in Appendix B.

Fig 6. Magnified parts from bifurcation diagrams in Fig 4.

Fig 6

A1-A4) and B1-B4) show the magnified parts of Panel A) and Panel B) in Fig 4. Panels A1-A4) depict the magnified parts of the bifurcation diagram around H4,2, LPC, H4,3 and H4,7 − H4,8 respectively. Panels B1-B4) depict the magnified parts of the bifurcation diagram around H4,8, LPC, H4,7 and H4,3 − H4,2 respectively. In this figure, EQ(a)symmetric refers to the (a)symmetric equilibria.

Table 3. The values of input u at bifurcation points in Fig 4.
Bifurcation H4,1 H4,2 H4,3 H4,4 H4,5 H4,6 H4,7 H4,8
Values of u -12.27 88.93 87.43 -16.10 -16.10 -12.27 87.43 88.93
Fig 5. Magnified parts from bifurcation diagrams in Fig 4.

Fig 5

A1-A3) and B1-B3) show the magnified parts of Panel A) and Panel B). Panels A1-A3) depict the magnified parts of the bifurcation diagram around H4,1, H4,4, and H4,5 − H4,6 respectively. Panels B1-B3) depict the magnified parts of the bifurcation diagram around H4,6, H4,5, and H4,4 − H4,1 respectively. In this figure, EQ(a)symmetric refers to the (a)symmetric equilibria.

We also found two supercritical Hopf bifurcations for non-symmetric equilibria that are indicated by H4,2 and H4,8, and are located in different parts of equilibria curve. The supercritical Hopf bifurcations H4,8 and H4,2 occur at u = 88.93. As a result, two stable limit cycles appear, which generate alpha-like oscillation (10 Hz). The corresponding behavior for LC4,8 is show in Fig 4T1 and 4T2 (the initial conditions and the corresponding values of the input u for all times series are provided in Appendix B). However, similar behavior is generated by other stable limit cycle LC4,2 with different amplitude. The limit cycles LC4,8, LC4,7 (LC4,2, LC4,3), plotted in the same color, collides via LPC at u = 106 as shown in Fig 6A2 and 6B2.

By considering all limit cycles detected from the symmetric and asymmetric branches of equilibria, it is concluded that the network can generate alpha-like activity for the input ranges 87.43 ≤ u ≤ 106 and 71.56 ≤ u ≤ 313.4, that correspond to the asymmetric and the symmetric cases, respectively. This dynamical regime is vastly more complex than a single region model, which generates alpha activity for 89.83 ≤ u ≤ 315.70 from one stable limit cycle [20].

2.1.2 Bifurcation analysis with intermediate coupling (K = 50)

The bifurcation diagram for case I with coupling gain K = 50 is qualitatively similar to the case K = 25 in terms of types of limit cycles and shapes of equilibria branches. The differences between K = 25 and 50 are the points at which the bifurcations occur and the amplitudes of oscillations. Similar to the case K = 25, two orbits, resulting from a saddle-node homoclinic bifurcation coexist for 110.5 ≤ u ≤ 114.3 and 106.2 ≤ u ≤ 134.4. Two stable limit cycles emerge from supercritical Hopf bifurcations at u = 53.24 and u = 97.2 and vanish at u = 310.5 and u = 280.7, respectively. A similar situation to the case K = 25 is observed for the limit cycle corresponding to the second branch of equilibria. Due to these similarities, the bifurcation diagrams are not presented.

2.1.3 Bifurcation analysis with strong coupling (K = 100 and 150)

The symmetric solutions to the equilibria were computed and are plotted in Fig 7 for case I with strong inter-region coupling gain (K = 100). The values of u for all bifurcation points for symmetric case are presented in Table 4. Fig 7 shows two stable limit cycles LC7,4 and LC7,5 that originate from supercritical Hopf bifurcations H7,4(H7,5) and H7,6 respectively. The first limit cycle LC7,4 occurs for the input range 107.1 ≤ u ≤ 241.7. The limit cycle LC7,5 arises as a result of LPC with an unstable limit cycle at the indicated point LPC7,1, and terminates at u = 303.3. The frequency of oscillations from both LC7,4 and LC7,5 is approximately 10 Hz, corresponding to alpha-like activity as shown in Fig 7T2 and 7T3 (the initial conditions and the corresponding values of the input u for all times series are provided in Appendix B). Contrary to the network with weak coupling (K = 25), there is only one limit cycle LC7,2 that generates spike-wave-like discharges. The limit cycle LC7,2 arises from a saddle-node homoclinic bifurcation, denoted by SN7,1, and collides with an unstable limit cycle through LPC at the point indicated by LPC7,2. The frequency and amplitude of spikes for this case are approximately the same as with weak coupling.

Fig 7. Bifurcation diagrams arising from the first branch of equilibria in case I with coupling gain K = 100.

Fig 7

The time series in Panels T1-T5) show the simulated EEG for each bifurcation with the same color. The solid black lines show stable fixed points, the solid colored lines show stable oscillatory behavior and the dashed lines show unstable fixed points and unstable oscillations. The initial conditions and the corresponding values of the input u for all times series are provided in Appendix B.

Table 4. The values of input u at bifurcation points in Fig 7.
Bifurcation H7,1 H7,2 H7,3 H7,4 H7,5 H7,6 SN7,1
Values of u -46.74 -13.28 11.92 107.1 241.7 303.3 107.4

There are two subcritical Hopf bifurcations H7,1 and H7,2 that generate the unstable limit cycles LC7,1 and LC7,3 respectively. The limit cycle LC7,1 emerges when the input u = −46.74. We couldn’t identify how LC7,1 ends by increasing u as CL-MATCONT package was not able to proceed the continuation process further. The limit cycle LC7,3 begins at u = −13.28 and ends at u = 11.92 through Hopf bifurcation H7,3. The EEG time series in the bottom part of Fig 7 shows decaying oscillations that settle down to constant values corresponding to stable equilibria.

For coupling gain K = 150, the network has two branches of equilibria that correspond to the symmetric and asymmetric parts. The bifurcation diagram for the symmetric equilibria for K = 150 is plotted in Fig 8. The values of u for all bifurcation points for symmetric case are presented in Table 5. The initial conditions and the corresponding values of the input u for all times series are also provided in Appendix B. The diagram has a notable exception of the disappearance of the small unstable limit cycle LC7,3 which results from a subcritical Hopf bifurcation for K = 100. The reason is that, for the corresponding range of u, the Jacobian matrix for the system 4 has no complex eigenvalue with zero real part. There are also differences in the levels of the input at which other types of bifurcations arise. For the asymmetric case of equilibria, there are two unstable limit cycles, arising from subcritical Hopf bifurcations, that do not lead to any interesting behavior and are not discussed further.

Fig 8. Bifurcation diagrams arising from the first branch of equilibria in case I with coupling gain K = 150.

Fig 8

The time series in Panels T1-T4) show the simulated EEG for each bifurcation with the same color. The solid black lines show stable fixed points, the solid colored lines show stable oscillatory behavior and the dashed lines show unstable fixed points and unstable oscillations. The initial conditions and the corresponding values of the input u for all times series are provided in Appendix B.

Table 5. The values of input u at bifurcation points in Fig 8.
Bifurcation H8,1 H8,2 H8,3 H8,4 SN8,1
Values of u -62.21 128 190.7 294.4 104.4

2.2 Case II: Bifurcation analysis of two coupled neural mass models with a single input

In this section, the bifurcation analyses of the neural mass model network are presented where the input is applied only to region a (see Fig 1). Similar to Section 2.1, the first step of the bifurcation analysis is finding the equilibria of the overall system. We follow the procedure in Section 1.3, setting ub to zero. Additional notes on calculating the equilibria for this case are provided in Appendix C.

2.2.1 Bifurcation analysis with coupling gain K = 50

Fig 9 depicts three branches of equilibria and bifurcation diagrams for region a and region b. In the sequel, we refer to the equilibria in Fig 9A, 9D, 9B, 9E, 9C and 9F by the first, second, third branch of equilibria, respectively. Since the bifurcation diagrams in Fig 9C and 9F are complicated, their magnified parts are depicted in Figs 10 and 11. The values of u for all bifurcation points are presented in Table 6. These figures illustrate that the equilibria of region a are very similar between all three branches. However, the equilibria for region b have a more complex structure (see Appendix C for further explanation).

Fig 9. Equilibria and bifurcation diagrams for case II with coupling gain K = 50.

Fig 9

A), B), and C) are the first, second, and third branches of equilibria for region a. D), E), and F) are the first, second, and third branches of equilibria for region b. Panels T1-T10) show the EEG time series corresponding to the each part in the bifurcation diagrams. The solid black lines show stable fixed points, the solid colored lines show stable oscillatory behavior and the dashed lines show unstable fixed points and unstable oscillations. The initial conditions and the corresponding values of the input u for all times series are provided in Appendix B.

Fig 10. Magnified parts from the bifurcation diagram of the third branch of equilibria in Fig 9C and 9F.

Fig 10

Panels C1 and C2 show the magnified parts of bifurcation diagram in Fig 9C that are indicated by C1 and C2, respectively. Panels F1 and F2 show the magnified parts pf bifurcation diagram in Fig 9F that are indicated by F1 and F2, respectively.

Fig 11. Magnified parts from the bifurcation diagram of the third branch of equilibria in Fig 10C1.

Fig 11

Panels C1(a), C1(b), C1(c) and C1(d) show the magnified parts of bifurcation diagram in Fig 10C1 that are indicated by C1(a) and C1(b), C1(c) and C1(d), respectively.

Table 6. The values of input u at bifurcation points in Figs 9, 10 and 11.
Bifurcation H9,1 H9,2 H9,3 SN9,1 SN9,2
Values of u -12.5 89.43 315.3 113.3 136.1
Bifurcation H9,4 H9,5 H9,6 SS9,1
Values of u -19.34 82.55 308.7 106.1
Bifurcation H9,7 H9,8 H9,9 SN9,3
Values of u -25.7 75.98 302.9 100.9

There are two stable limit cycles LC9,3 (Fig 9A and 9D) and LC9,18 (Figs 9C, 9F and 10C1, 10C2, 10F1 and 10F2) on the first and the third branches of equilibria that exist between supercritical Hopf bifurcation points (H9,2, H9,3) and (H9,8, H9,9), respectively. These limit cycles exist for input values roughly between u = 83 and u = 300 (see Table 6 for the exact value of u). Similar to Case I, supercritical Hopf bifurcations lead to stable limit cycles which generates stable oscillations, depicted in Fig 9T3, 9T4, 9T9 and 9T10, that resemble alpha activity (the initial conditions and the corresponding values of the input u for all times series are provided in Appendix B). These two limit cycles generate different types of alpha activity with the same frequency at distinctly different amplitude ranges in region b. In order to study the behavior of the network near the stable limit cycles, we simulated the EEG signals with initial conditions close to the cycles and plotted the corresponding time series shown in the lower part of Fig 9. The time series associated with the stable limit cycles on the first and third branches verify that the limit cycles are stable.

We found several subcritical Hopf bifurcations on all branches of equilibria. The one for the first branch H9,1 results in the unstable limit cycle LC9,1. This limit cycle collides with the limit cycle LC9,2 via a saddle-node bifurcation at the point SN9,2. The limit cycle LC9,2 originates from a saddle-node homoclinic bifurcation at the point SN9,1. The stable limit cycle LC9,2 produces spike-wave-like signals with a frequency of approximately 3 Hz, which is observed in region a (Fig 9T1). However, the spike-wave-like signal does not appear in region b as shown in Fig 9T2. Instead, region b shows an EEG signal similar to delta-wave activity (Fig 9T2). The occurrence of delta wave activity is interesting considering the strong links between epileptic seizures and sleep [1].

The unstable limit cycle LC9,4 in Fig 9B and 9E originates from subcritical Hopf bifurcation H9,4, and appears to collide with the limit cycle LC9,5 at u = 129.4. At this point indicated by LPC9,1, LPC was detected. The limit cycle LC9,5 originates from a homoclinic bifurcation of a saddle-saddle (denoted by SS9,1 in Fig 9B and 9E) which was originally proposed by Shilnikov (see http://www.scholarpedia.org/article/Shilnikov_saddle-node_bifurcation). We observed that the trajectories initialized near the limit cycle LC9,4 converge to the equilibria on the first branch. Furthermore, the trajectories that initialized near the limit cycle LC9,5, depicted in Fig 9T5 and 9T6, converge to the LC9,2 on the first branch of equilibria. There are two subcritical Hopf bifurcations H9,5 and H9,6 for the second branch of equilibria that lead to the existence of the unstable limit cycle LC9,6. By initializing the system near to this limit cycle, the trajectories converge to the limit cycle LC9,3 as shown in Fig 9T7 and 9T8. Therefore, the analysis indicates that this second branch does not contribute to specific behaviors.

Fig 9C and 9F shows the bifurcation diagram for the third branch of equilibria that are magnified and labeled in Figs 10 and 11. In contrast to the bifurcation diagram for the first branch of equilibria, the unstable limit cycle LC9,7 (Figs 10C1, 10F1 and 11C1(a)), which arises from subcritical Hopf bifurcation H9,7, does not collide with the unstable limit cycle LC9,12 (Fig 10C1 and 10F1) resulted from a saddle-node homoclinic bifurcation SN9,3 (Figs 10C1, 10F1 and 11C1(a)). During continuation of the third limit cycle LC9,7, we detected LPC, which is plotted by a gray plus sign. At this point, the limit cycle LC9,7 collides with the limit cycle LC9,8 (see Fig 10C1, 10F1 and 10C1(c)). By proceeding the continuation, we detected another LPC point. We labeled the limit cycle after this point as LC9,9. We also noticed that the toolbox detected Neimark-Sacker bifurcation of limit cycles. Neimark-Sacker bifurcation of cycles is a co-dimension 1 bifurcation corresponds to the case when the multipliers are complex and simple and lie on the unit circle. (see [31] for more details). denoted by gray red circles, at two points; (i) the intersection of limit cycles LC9,9 and LC9,10 (Figs 10F1 and 11c1(d)) (ii) the intersection of limit cycles LC9,10 and LC9,11 (Fig 10C2 and 10F2). To study the simulated EEG corresponding to these limit cycles, the initial value was chosen near each limit cycle. We observed that trajectories converge to either the equilibria on the third branch or the equilibrium point on the first branch.

Near the saddle node point SN9,3 (Figs 10C1, 10F1 and 11C1(a)) on the third branch, we noticed that there exists a saddle-node homoclinic bifurcation, which results in an appearance of the limit cycle LC9,12 (Fig 10C1 and 10F1). By initializing the system close to this limit cycle, we observed that it produces unstable spikes in region a and an oscillation in region b. These spike-wave discharges have a frequency similar to that observed during seizures in clinical EEG recordings, until the activity of each region settles to the equilibrium point. During the continuation of this cycle, three LPCs and one Neimark-Sacker bifurcation of cycles are detected (see Figs 10C1, 10F1, 11c1(a), 11c1(b) and 11c1(c)). By selecting an initial condition near each limit cycle and simulating the EEG, we observed the solutions converge to the equilibria on either the first branch or the third branch.

2.2.2 Bifurcation analysis with coupling gain K = 250

By increasing the coupling gain to K = 250, two branches of equilibria for region b join up, which results in the appearance of a saddle node in the joint point (refer to Appendix C). As a consequence, the new saddle-node homoclinic bifurcation starts that leads to new behavior in the network, such as observing spikes in only one region or in both regions for all inputs larger than the value at which the saddle node arises. Fig 12 shows all equilibria branches and bifurcations that are detected in this case. In order to present this case, we split the first branch of equilibria from the saddle point and present them in different sub-figures (Fig 12A and 12B for equilibria of region a, and Fig 12D and 12E for equilibria of region b). The values of u for all bifurcation points for symmetric case are presented in Table 7.

Fig 12. Bifurcation diagrams for case II with coupling gain K = 250.

Fig 12

A) and B) are the bifurcation diagrams for the first branch of equilibria for region a, and C) is the bifurcation diagram for the second branch of equilibria for region a. D) and E) are the bifurcation diagrams for the first branch of equilibria for region b, and F) is the bifurcation diagram for the second branch of equilibria for region b. Panels T1-T10) show the EEG time series corresponding to the each part in the bifurcation diagrams. The solid black lines show stable fixed points, the solid colored lines show stable oscillatory behavior and the dashed lines show unstable fixed points and unstable oscillations. The initial conditions and the corresponding values of the input u for all times series are provided in Appendix B.

Table 7. The values of input u at bifurcation points in Figs 12 and 13.
Bifurcation H12,1 H12,2 H12,3 SN12,1 SN12,2
Values of u -15.99 82.59 308.7 111.6 133.3
Bifurcation H12,4 H12,5 H12,6 SS12,1 SN12,3
Values of u -39.86 59.82 293.2 77.62 613.7
Bifurcation H12,7 H12,8 H12,9 H12,10 SN12,4
Values of u -89.2 -63.13 267.2 330.1 48.49

Fig 12A, 12B, 12D and 12E show the bifurcation diagram from the first branch of equilibria. There are six Hopf bifurcations detected on this branch (H12,1-H12,6) and only two of them (H12,2,H12,3,) are supercritical. Fig 12A and 12D illustrate three limit cycles LC12,1−LC12,3 that arise from the bottom part of this branch. Similar to the case of K = 50, the unstable limit cycle LC12,1 collides with the limit cycle LC12,2 that appears from the saddle-node homoclinic bifurcation. The time series associated with the limit cycle LC12,2, depicted in Fig 12T1 and 12T2, verify that the limit cycle causes region a to produce spikes while region b generates delta activity (the initial conditions and the corresponding values of the input u for all times series are provided in Appendix B). Furthermore, the stable limit cycle LC12,3, results from supercritical Hopf bifurcation, provokes alpha activity in both regions as shown in Fig 12T3 and 12T4. The bifurcation analysis of the top part of the first equilibria branch, shown in Fig 12B and 12E, is similar to the second branch of equilibria of the previous case; the trajectories of the network initialized near the limit cycles LC12,5 − LC12,7 are either attracted by the stable limit cycles or attracted by the stable equilibria on the bottom part of the first equilibrium curves.

From a topological point of view, the differences between the two cases with coupling gains K = 50 and K = 250 emerge from limit cycles that arise from the third branch of equilibria and the appearance of a limit cycle from the saddle-node homoclinic bifurcation on the first branch. The bifurcation analysis shows that the limit cycle LC12,4 starts near the saddle-node homoclinic bifurcation on the first branch of equilibria, denoted by SN12,3 in Fig 12A, 12B, 12D and 12E for u = 613.7, and it exists for all values of input larger than u = 613.7, which means that the underlying network can generate spikes in both regions for large values of u in contrast to all previous cases in which spikes disappear for large values of u. The time series associated with the limit cycle LC12,4, shown in Fig 12T5 and 12T6, verify that this limit cycle generates spikes in both regions.

All limit cycles that emerge from the second branch of equilibria are depicted in Figs 12C, 12F and 13. There are four Hopf bifurcations (H12,7-H12,10) among which three are supercritical (H12,8-H12,10). All limit cycles LC12,9, LC12,16, LC12,17, originated from supercritical Hopf bifurcations, generate alpha activity with frequency 11 Hz as depicted in Fig 13T3 and 13T4 (the initial conditions and the corresponding values of the input u for all times series are provided in Appendix B), and Fig 12T7–12T10. The stable limit cycle LC12,16 starts at u = 267.2 from supercritical Hopf bifurcation and collides with LC12,15 through LPC bifurcation at u = 84.73. We also observed that the limit cycle LC12,15 collide with the limit cycle LC12,14 via LPC at u = 107.2. We were not able to proceed the continuation further to check the origin of the limit cycle LC12,14. The time responses in Fig 13T13–13T16 shows that the trajectories of the network near these limit cycles converge to the equilibria on the first branch. The stable limit cycle LC12,17 starts at u = 330.1 and exists for all values of input larger that u = 330.1. As a consequence, the network can also generate alpha activity in both regions for large values of u; however, in all previous cases, alpha activity was only observed for values of u in finite intervals.

Fig 13. Magnified parts from the bifurcation diagram of the third branch of equilibria in Fig 12C and 12F.

Fig 13

The panels C1) and F1) show the magnified parts of bifurcation diagram in Fig 12C and 12F that are indicated by C1 and F1, respectively. Panels C1(a)) and C1(b)) show the magnified parts of Panel C1). Panels T1-T16)) show the EEG time series corresponding to the each part in the bifurcation diagrams. The panels T17) and T18) show the EEG time series for the case in Remark 1. The initial conditions and the corresponding values of the input u for all times series are provided in Appendix B.

The stable limit cycle LC12,9 (see Fig 13) arises from supercritical Hopf bifurcation H12,6. However, it collides with the limit cycle LC12,10 via LPC as shown in Fig 13F1 and 13C1(a). By looking at these figures, it is possible to see how different bifurcations lead to different limit cycles. The times series associated with these limit cycles are shown in Fig 13T1, 13T2 and 13T5–13T12. We mention that Neimark-Sacker bifurcations of cycles (indicated by gray circle in Fig 13) and period-doubling bifurcations (indicated by gray hexagram in Fig 13) are detected during the continuation.

Remark 1 We initialized the model to the right from the saddle node SN12,4 in order to check the existence of a limit cycle. It seems that there exists a limit cycle which generates the output depicted in Fig 13T17 and 13T18. We couldn’t do the continuation from this point due to software limitations.

2.3 Case III: Bifurcation analysis of two coupled neural mass models with a single input and feed-forward structure

In this section, we present the bifurcation analysis of case III, which is graphically depicted in Fig 1. Similar to previous cases, we start by finding equilibria of the network by solving (7) with ub and Kba set to zero. We observe that equilibrium curves for region b are qualitatively similar to Case II. However, the equilibrium curves for region a are slightly different. Hence, we analyze the bifurcation diagram for the network with interconnection gains K = 50 and 250, and explain the important differences.

The bifurcation diagrams of the network with K = 50 are presented in Figs 14 and 15. The values of u for all bifurcation points are presented in Table 8. It can be seen that the bifurcation diagram of the first and second branches of equilibria are qualitatively similar to the case in Section 2.2.1. For the third branch of equilibria, there is a stable limit cycle LC14,7 (Fig 14C and 14F) that, similar to the previous cases, produces the alpha activity that is shown in Fig 14T5 and 14T6 (the initial conditions and the corresponding values of the input u for all times series are provided in Appendix B). There is an unstable limit cycle that emerges for u = −12.15 from supercritical bifurcation H14,7. This limit cycle collides with other limit cycles through LPC as can be seen in Fig 14C and 14F. By continuing along the curve, we detected several LPC points (indicated by gray plus sign), Neimark-Sacker bifurcations of limit cycles (indicated by gray circle). Since there are many of them and consequently many limit cycles, we haven’t labelled them. However, all limit cycles can be clearly seen in Fig 15. The simulated EEG for some stable limit cycles are plotted in Fig 15T1–15T6 (the initial conditions and the corresponding values of the input u for all times series are provided in Appendix B). We also observed that the simulated trajectory of the network for unstable limit cycles converges to either the branch of equilibria in Fig 14A and 14D or the limit cycle LC14,2. Furthermore, we found a limit cycle that appears from the saddle-node homoclinic bifurcation of equilibria at SN14,3. This orbit provokes spike-wave-like discharges in region a and periodic output that is alpha-like with some amplitude modulation, as plotted in Fig 15T5 and 15T6.

Fig 14. Bifurcation diagrams for case III with coupling gain K = 50.

Fig 14

A), B), and C) are the first, second, and third branches of equilibria for region a. D), E), and F) are the first, second, and third branches of equilibria for region b. Panels T1-T6) show the EEG time series corresponding to the each part in the bifurcation diagrams. The solid black lines show stable fixed points, the solid colored lines show stable oscillatory behavior and the dashed lines show unstable fixed points and unstable oscillations. The initial conditions and the corresponding values of the input u for all times series are provided in Appendix B.

Fig 15. Magnified parts from the bifurcation diagram of the third branch of equilibria in A) Fig 14C and 14B) B) Fig 14F.

Fig 15

Panels C1) and F1) show the magnified parts of bifurcation diagram in Fig 14C and 14F that are indicated by C1 and F1, respectively. Panels F2) show the magnified parts of Panel F1). Panel F3) show the magnified parts of Panel F2). Panels T1-T6)) show the EEG time series corresponding to the each part in the bifurcation diagrams. The initial conditions and the corresponding values of the input u for all times series are provided in Appendix B.

Table 8. The values of input u at bifurcation points in Figs 14 and 15.

Bifurcation H14,1 H14,2 H14,3 SN14,1 SN14,2
Values of u -12.15 89.83 315.7 113.6 136.4
Bifurcation H14,4 H14,5 H14,6 SS14,1
Values of u -12.15 89.83 315.7 113.6
Bifurcation H14,7 H14,8 H14,9 SN14,3
Values of u -12.15 89.83 315.7 113.6

The bifurcation diagrams for coupling gain K = 250 are plotted in Fig 16. The values of u for all bifurcation points are presented in Table 9. Similar to case II with coupling gain K = 250, there is a limit cycle LC16,4 that starts from a saddle-node homoclinic bifurcation SN16,3 on the first branch of equilibria for u = 631. As shown in Fig 16T5 and 16T6, region b and region a show spike-wave-like discharges with the frequency of 1.25Hz and constant behavior in the time domain, respectively, when the whole network evolves on the cycle (the initial conditions and the corresponding values of the input u for all times series are provided in Appendix B). The bifurcation diagram of the second branch of equilibria in Fig 16C and 16F includes a stable limit cycle LC16,10, results from a supercritical Hopf bifurcation, and generates alpha-like activity in both regions (Fig 16T9 and 16T10). The unstable limit cycle LC16,8 collides with the limit cycle LC16,9, resulting from the saddle-node homoclinic bifurcation, for u = 135.4. According to the simulated EEG in Fig 16T7 and 16T8, the limit cycle LC16,9 results in the appearance of spikes with the frequency of 3Hz in the region a and delta-like output in the region b.

Fig 16. Bifurcation diagrams for case III with coupling gain K = 250.

Fig 16

A), B), and C) are the first, second, and the third branches of equilibria for region a. D), E), and F) are the first, second, and the third branches of equilibria for region b. Panels T1-T10) show the EEG time series corresponding to the each part in the bifurcation diagrams. The solid black lines show stable fixed points, the solid colored lines show stable oscillatory behavior and the dashed lines show unstable fixed points and unstable oscillations. The initial conditions and the corresponding values of the input u for all times series are provided in Appendix B.

Table 9. The values of input u at bifurcation points in Fig 16.

Bifurcation H16,1 H16,2 H16,3 SN16,1 SN16,2
Values of u -12.15 89.83 315.7 113.6 136.4
Bifurcation H16,4 H16,5 H16,6 SS16,1 SN16,3
Values of u -12.15 89.83 315.7 113.6 629.5
Bifurcation H16,7 H16,8 H16,9 SN16,4 SN16,5
Values of u -12.15 89.83 315.7 113.6 135.4

2.4 Relationship to clinical data

We have presented a series of snapshot bifurcation diagrams to explore different behaviors that can be observed in interconnected neural mass models. In this section, we relate our analyses to clinical ECoG recorded from two electrode channels during seizures from a single patient with refractory temporal lobe epilepsy. Data was obtained from a previous clinical trial (see [32] for details, the current patient is subject 3. In the current estimation, two focal electrode channels were selected based on the signal energy at seizure onset. Electrodes were 5 mm in diameter, and the two channels were separated on the order of centimeters. The coupled Jansen and Rit model from this work has been theorized to describe EEG/MEG activity [11]; hence, is suitable for ECoG measured at this scale. State and parameter estimation were conducted on two 6 minute recordings (sampled at 400 Hz), each containing a different epileptic seizure. The estimation approach used a method of Gaussian belief propagation (see Appendix D for detail on the estimation method) to simultaneously track fast states (the membrane potentials of the population in the coupled neural mass model and their derivatives), the slowly varying bifurcation parameter u (representing the external input to each neural region), and a DC offset to compensate for drift introduced by changes in the input parameter (since the data had previously been amplified using a common average reference, removing most true DC content from the signal). We first estimated the parameter u from data using the assumed density filter. We then performed forward numerical integration of the model states using the estimated values for u and keeping all other values fixed. Simulation provides further insight into the predicted dynamics of the output ECoG based on alterations in input.

The estimation proceeded as follows, data were first pre-processed using a zero-phase bandpass (1-180 Hz) and notch filter (50Hz notch), and upsampled (lowpass interpolation) to 1200 Hz. Data were also scaled to reflect the dynamic range observed in the bifurcation analysis (approximately 0—12 mV). The estimation algorithm has three steps; initialization, prediction, and update. Initialization sets the estimation prior as a multivariate Gaussian probability density function (pdf) over the estimation states and parameters. The next step is to predict the posterior pdf by propagating the Gaussian prior through the non-linear, discretized neural mass equations. The update step then adjusts the predicted posterior based on the incoming measurement. Finally, the prior is reinitialized as a Gaussian distribution with the same mean and variance as the posterior, and the process is iterated for the next time step (dt=11200). In the case of a linear model, this estimation scheme is known as the Kalman filter [33]; however, here we are able to use a fast, semi-analytic solution to the belief propagation step to remove the linearity assumption. Unlike sampling based approximations, such as the unscented Kalman filter [34], our estimation method provides a precise solution for belief propagation. Nevertheless, several simplifying assumptions are used; model and measurement errors are described by additive, white Gaussian noise, and cortical dynamics are assumed to be Markovian, or memoryless. These assumptions are certainly not ideal for modeling epileptic dynamics; however, without this simplification there is no tractable solution for tracking parameters in real time. To our knowledge this algorithm reflects the current state-of-the-art for joint state and parameter estimation in the neural mass model [28], and the best available solution for relating measured ECoG to the hidden bifurcation parameter u.

The following sections relate the estimation results for the bifurcation parameter u in each of the three models (Case I, II, and III) for weak coupling (K = 50) to the dynamic snapshots that were presented in the preceding sections. The estimation is the statistically most likely evolution of the input parameter u given a distribution conditioned jointly on the model parameters and data (and subject to the assumptions outlined above). In addition to performing estimation, we also implemented a deterministic forward simulation of the coupled regions using the Runge-Kutte method on the discretized form of Eq 1. We first estimated the parameter u from data using the assumed density filter. We then performed forward numerical integration of the model states, using the estimated values for u and keeping all other parameter values fixed (according to Table 1). Simulation provides further insight into the predicted dynamics of the output ECoG based on alterations in input. All code used for estimation and simulation was implemented in MATLAB and Statistics Toolbox (release 2015a, The MathWorks Inc., MA, United States) and is available online from https://github.com/pkaroly/Bifurcation-Estimation.

2.4.1 Seizure one

Fig 17A and 17B show recorded ECoG from two channels for seizure one (data were sampled at 400 Hz and bandpass filtered between 1—180 Hz). For interconnected model in the Case I, the estimation results are plotted on the left wall panel of Fig 17C and 17D. These figures indicate that, during the early stage of the seizure, the estimated input u varies between 80 and 100 followed by a sudden increase to approximately 200. By comparing the estimated parameter to the bifurcation plot in the floor panel of Fig 17C and 17D, we see that, for the first range of the input, the system has two orbits which are associated with spike generation. However, the bifurcation diagrams show that by increasing the input, the system transitions to the limit cycle. There is no clear transition at the end of the seizure (red dashed line) as the model does not transition back to a fixed point within a 10s period following seizure termination. Consequently, if the estimated input is applied to the model in forward simulation (with all other parameters fixed), it will show alpha activity at the end of seizure, as we see in the right wall panel of Fig 17C and 17D. The discrepancy between the predicted output and actual ECoG results in a large estimation error. The filter covariance is proportional to prediction error, so the estimated parameters will eventually adjust to better reflect the data; however, in this case, adjustment is not fast enough to capture the transition out of the seizure. Therefore, this model configuration may not be suitable to capture the observed behavior for seizure one, where there was a clear transition in the ECoG waveform at seizure termination (see Fig 17A and 17B)).

Fig 17. Recorded ECoG from two channels for seizure one and the bifurcation diagrams.

Fig 17

Panels A) and B) are ECoG recordings of the same seizure (seizure one) on two different electrode channels. Recording was taken five minutes prior to seizure onset (red dashed line) and continued for 1 minute after offset (red dashed line). C) and D) show the bifurcation diagrams corresponding to case I, estimated input parameter u during the seizure (left wall panel) and the output ECoG after forward simulation based on the estimated input (right wall panel). Note that the plot only shows estimation from 10s before seizure onset to 10 s after seizure offset. E) and F) show the same plots as C) and D) but correspond to case II of the coupled neural mass model. Insets show the different waveforms (color-coded) that were found during forward simulation (right wall panel).

The estimation process yielded a similar range of inputs for cases II and III, suggesting that the transition between normal behavior and epileptic activity mainly results from the first branch of equilibria, since the bifurcation diagram associated to the first branch of equilibria for case II (Fig 9A and 9D) is the same as case III (Fig 14A and 14D). The estimation results in the left wall panel of Fig 17E and 17F show that, early in the seizure, the input varies between 80 and 90, then briefly reaches a peak around 200, approximately 40 s into the seizure. This input peak pushes the trajectory of the system into the limit cycle after some transient spiking possibly caused by the orbit originating from the saddle-node homoclinic bifurcation. The transition in region a also drives region b to transition into a limit cycle. This transition corresponds to the seizure reaching its peak amplitude on the ECoG in Channel A (Fig 17A). However, as the input drops to the range of 90 to 100, the system state is attracted once more to the cycle, and returns to epileptiform spiking activity in region a and amplitude modulated alpha activity in region b, before returning to a fixed point.

2.4.2 Seizure two

Fig 18A and 18B show recorded ECoG for seizure two. The estimation results for Case I (Fig 18C and 18D) for seizure two are very similar to the previous seizure. However, Case II (Fig 18E and 18F) shows some differences to seizure one. The estimation for Case II was the same of that for Case III. Here, for Case II, the input is higher (u > 110) early in the seizure and continues to vary around this level. Conversely, during seizure one, the peak was higher (u > 200), and occurred later in the seizure (at approximately 40s). Following the peak in seizure one, the input dropped approximately monotonically. These lower yet sustained input peaks during seizure two indicate that the states of the system experienced more transients near the homoclinic orbit. Consequently, in the simulated ECoG obtained from the estimated input u (right wall panels of Fig 18E and 18F), we see epileptic spiking during the seizure only in region a. This is consistent with bifurcation analysis in Fig 9A and 9D in which only region a shows spikes. The difference between the results for the two data sets suggest that during some seizures region b is driven into a limit cycle, but during other seizures this state change does not occur. Interestingly, seizure two occurred in the middle of the day (around 1pm), whereas the first seizure occurred at night (approximately 10pm), so it is possible the different mechanisms were related to different states of arousal, although many more seizures would be required to investigate this hypothesis.

Fig 18. Recorded ECoG from two channels for seizure two and the bifurcation diagrams.

Fig 18

Panels A) and B) are ECoG recordings of the same seizure (seizure two) on two different electrode channels. Recording was taken five minutes prior to seizure onset (red dashed line) and continued for 1 minute after offset (red dashed line). C) and D) show the bifurcation diagrams corresponding to case I, estimated input parameter u during the seizure (left wall panel), and the output ECoG after forward simulation based on the estimated input (right wall panel). Note that the plot only shows estimation from 10s before seizure onset to 10s after seizure offset. E) and F) show the same plots as C) and D) but correspond to case II of the coupled neural mass model. Insets show the different waveforms (color-coded) that were found during forward simulation (right wall panel).

3 Discussion

This paper presented a bifurcation analysis of a neural mass model for two cortical regions. The results detail the rich repertoire of dynamics that the network can generate and how the range of possible activity varies with changes in the external inputs and interconnectivity gains. The bifurcation plots extend previous analyses of single region neural mass models and show that the dynamics of the interconnected neural masses can generate a far broader range of oscillatory dynamics, including multiple alpha-like rhythms, transient bursting, spikes, and delta wave activity.

Interestingly, for all cases and all interconnectivity gains, the models were able to produce alpha-like oscillation. Furthermore, in all of the scenarios that were explored, the alpha-like rhythms occurred concurrently in both regions or not at all. Similar to earlier studies considering a single region model [13, 20], the alpha rhythms were always generated by stable limit cycles originated from supercritical Hopf bifurcations. A key difference for the multiple region model is the existence of multiple types of alpha-like rhythms, representing different limit cycles with various amplitudes ranges. It is also interesting to note that network of identical regions with symmetric coupling and balanced inputs can generate oscillations with different amplitudes across the regions. The idea of the coexistence of multiple types of a discrete number of alpha rhythms builds on existing studies and should be investigated experimentally [35].

Our analysis revealed interesting insights into the possible mechanisms of the generation of spike-wave discharges. In case I of the symmetrical network with weak inter-region coupling, our results are naturally similar to existing results for a single neural mass model [20]. However, further important insights can be gained when studying two regions. As the coupling gain is increased, we see a merger of the outer limit cycle, which is responsible for the alpha-like rhythm, with the pathological orbit that is responsible for the generation of spike-wave like discharges. This merger of the respective limit cycles represents one candidate explanation for the process of epileptogenesis. Although, it should also be pointed that there are other candidate models for seizure transitions. In this work, for all values of connectivity gains, the model can transient from fixed points to orbit and vise versa. These transitions may also be the responsible model for seizure.

For Case II with high interconnection gains, the underlying network was able to generate spikes for values of input larger than a specific value as seen in Fig 12. This new result shows the networks with this structure can transition to an epileptic form pattern of activity given a sufficiently strong input, as the orbit, resulted from saddle-node homoclinic bifurcation, is the only stable pattern of activity. This finding contrasts other cases when a perturbation from other stable cycles may also be required. This network was able to generate alpha activity for values of input larger than a specific value as seen in Fig 12. This is also a new observation which shows that this structure can exhibit alpha activity for sufficiently strong input.

In Case III (Fig 16), we alarmingly see the occurrence of spike-wave discharges in region b (associated with the limit cycle LC16,4) due to increases in input to region a. The spikes do not occur in region a. The reason why this is alarming is that region b was set to represent background activity. Region b simply experienced a flow on effect from changes in the input to region a and is otherwise normal. This scenario poses a problem for planning epilepsy related surgery. The analysis shows that the presence of focal spike-wave discharges is not a sufficient condition to locate the pathology. The ideal treatment target in this scenario would be to limit the input in region a, as removal of region b would not treat the root cause.

The interconnected neural mass models are able to produce delta wave-like activity in Cases II and III. Interestingly, we observed stable delta wave-like activity in one region (Figs 9T2, 12T2, 14T2 and 16T2), and spike-wave-like activity in the other region (Figs 9T1, 12T1, 14T1 and 16T1). Delta activity was defined based on the frequency of oscillation (between 0.5-4Hz), and having a lower amplitude than epileptiform activity. The generation of delta-like activity may be linked to epileptiform spike generation in this model. Since the delta wave is observed during sleep, these networks can be potentially utilized to model and form a deeper understanding of nocturnal seizures in which a part of brain exhibits seizure activity while other parts do not. Our estimation results in Section 2.4 also suggested there are multiple mechanisms of seizures, which may correspond to different alertness levels. A more rigorous investigation estimating mechanisms of seizures at different times of day is the focus of ongoing work.

The estimation results showed that the model in Case I might not be representative of brain during and after the seizure. The estimated input could steer the model from spike-wave-like activity and a stable limit cycle; however, it was not able to transition back to a resting state. As a consequence, the estimated input did not drive the system to return to the pre-ictal state at the end of seizure. In contrast, the forward simulation using the estimated input showed that Case II and III could generate non-identical spikes in both regions, and also transition between spike-like activity to the pre-seizure behavior after the end of the seizures. Note that although the transition from a fixed point to a limit cycle arising from a Hopf bifurcation is referred to as ‘alpha’ activity, this class of transition is also used to describe seizure onset [36, 37]. The estimation results showed that the transition from a fixed point to a limit cycle occurred during seizures. For Case I, the failure to transition out of the limit cycle suggests that the models in Case II and III more closely capture seizure dynamics than Case I. We can speculate from this that once a seizure has spread, either an asymmetric, or possible alteration of the existing connectivity pattern is required for its termination. This is consistent with the analysis of [38], who suggest that a distinct bifurcation is required for seizure termination, compared to seizure onset.

Our estimation approach was conservative, as we estimated the input with other parameters fixed. By estimating more parameters, it may be possible to obtain a more realistic approximation of the true behavior. However, with more free parameters, it becomes difficult or impossible to relate the estimated parameter trajectories to a bifurcation analysis. Therefore, such an extension is beyond the scope of the current work. Nevertheless, our estimation is a qualitative picture of dynamical state changes from recorded ECoG, which may provide insight into mechanisms of seizures. For instance, we found that during seizure one, both regions were driven into the limit cycle, whereas in the second seizure this was not the case. Once the system enters a limit cycle, the pathologic state may be harder to terminate, due to a hysteresis effect whereby lowering u does not immediately reverse the effects of the transient increase (as shown in Fig 17E and 17F). Identifying such differences in seizure mechanisms is important for targeting treatment.

Before closing our discussion, it should be mentioned that the computational model is a crude approximation of a real brain. Nevertheless, it is challenging to present a more comprehensive model that describes a wide range of brain activities. The authors caution the reader to interpret the results as possible behaviors that can be generated from two interconnected cortical regions, rather than behaviors that will occur. Also, we stress that the range of possible dynamics holds for the two region model. Further increasing the complexity of the model by adding neural populations or cortical regions will undoubtedly yield a more complicated bifurcation structure. Nevertheless, the work can be regarded as a contribution, demonstrating the flexibility of this neural mass modeling framework.

As future work, this analysis can be extended by using co-dimension 2 bifurcation analysis with respect to both the interconnection gain and another network parameter. From a technical perspective, it is also valuable to analyze the geometric property of the limit cycles LC12,4 and LC16,4 that are born from the saddle-node homoclinic bifurcation in the first branch of equilibria in Cases II and III as the limit cycles LC12,4 generates spikes in both regions while the limit cycles LC16,4 generates spikes in only region b.

A Detection of a saddle-node homoclinic bifurcation

A homoclinic orbit is a trajectory connecting a hyperbolic equilibrium (saddle node) to itself. There is no general method to find and identify a limit cycle; however, it is possible to compute it using the continuation procedure provided in the MATCONT package [29]. In order to check if the bifurcation is saddle-node homoclinic, the period of oscillation versus the bifurcation parameters is usually plotted (it is depicted for case I with connection gain 25 in Fig 19). As the bifurcation parameter u approaches the bifurcation point, the period of oscillation is eventually increased (diverges to infinity) which means that the cycle is born from this point.

Fig 19. Detecting a saddle-node homoclinic bifurcation.

Fig 19

The period of oscillation versus the bifurcation parameter p. The period eventually increases when the value of p approaches to the point at which saddle-node bifurcation occurs.

B Initial conditions for time series depicted in bifurcation diagrams

The following tables provide initial conditions and the values of inputs that have been used to generate time series in all bifurcation diagrams.

Table 10 shows the initial conditions and the values of input for time series depicted in Fig 2T1–2T3.

Table 10. The initial conditions and the values of input for time series depicted in Fig 2T1–2T3.

Limit Cycle [v0a,z0a,v1a,z1a,v2a,z2a,v3a,z3a,v0b,z0b,v1b,z1b,v2b,z2b,v3b,z3b] Input u
LC2,1 [0.08 -1.33 18.44 -10.83 13.35 10.36 0.28 -0.65 0.08 -1.33 18.44 -10.83 13.35 10.36 0.28 -0.65] 29.25
LC2,2 [0.08 0.93 16.95 36.44 9.89 -15.56 0.24 0.39 0.09 -1.13 18.39 -11.58 -13.12 6.40 0.28 -0.59] 29.17
LC2,3 [0.07 1.87 16.14 131.21 8.40 -48.23 0.21 0.51 0.09 -2.76 21.36 -10.78 17.48 -2.11 0.31 -1.51] 116.15
LC2,4 [0.08 -2.82 21.41 -11.24 17.68 -10.12 0.31 -1.55 0.08 -2.82 21.41 -11.24 17.68 -10.12 0.31 -1.55] 116.06
LC2,5 [0.10, -1.41, 24.21, -3.82, 18.32, -10.71, 0.35, -0.97, 0.12, 1.16, 24, 10.87, 14.91, 7.81, 0.32, 0.88] 198.7
LC2,6 [0.12 1.01 24.14 7.56 15.28 6.42 0.33 0.76 0.12 1.01 24.14 7.56 15.28 6.42 0.33 0.76] 201.65

Table 11 shows the initial conditions and the values of input for time series depicted in Fig 4T1 and 4T2

Table 11. The initial conditions and the values of input for time series depicted in Fig 4T1 and 4T2.

Limit Cycle [v0a,z0a,v1a,z1a,v2a,z2a,v3a,z3a,v0b,z0b,v1b,z1b,v2b,z2b,v3b,z3b] Input u
LC4,7 [0.09 -0.25 20.26 -2.47 13.77 -1.23 0.30 -0.17 0.01 0.0005 4.56 0.05 3.09 -0.0035 0.03 0.0002] 90.50

Table 12 shows the initial conditions and the values of input for time series depicted in Fig 7T1–7T5.

Table 12. The initial conditions and the values of input for time series depicted in Fig 7T1–7T5.

Limit Cycle [v0a,z0a,v1a,z1a,v2a,z2a,v3a,z3a,v0b,z0b,v1b,z1b,v2b,z2b,v3b,z3b] Input u
LC7,1 [0.07 1.10 15.37 61.67 8.60 -35.33 0.21 0.18 0.07 1.10 15.37 61.67 8.60 -35.33 0.21 0.18] 29.14
LC7,2 [0.04 -0.73 17.34 -294.26 14.21 -225.55 0.24 -2.56 0.02 0.02 0.38 7.09 44.32 3.43 9.27 0.062 0.41] 116.08
LC7,3 [0.09 0.37 17.83 9.76 11.13 -0.32 0.26 0.23 0.08 -0.38 18.14 -7.04 12.18 -1.03 0.27 -0.24] 5.86
LC7,4 [0.12 0.64 24.99 2.63 16.52 5.01 0.34 0.48 0.12 0.64 24.99 2.63 16.52 5.01 0.34 0.48] 198.90
LC7,5 [0.10 -1.58 25.14 -3.78 19.3 -11.45 0.35 -1.073 0.12 1.24 25.01 11.18 15.46 9.73 0.33 0.97] 201.94

Table 13 shows the initial conditions and the values of input for time series depicted in Fig 8T1–8T4.

Table 13. The initial conditions and the values of input for time series depicted in Fig 8T1–8T4.

Limit Cycle [v0a,z0a,v1a,z1a,v2a,z2a,v3a,z3a,v0b,z0b,v1b,z1b,v2b,z2b,v3b,z3b] Input u
LC8,1 [0.06 0.87 13.79 55.37 7.67 -38.17 0.19 -0.07 0.06 0.87 13.79 55.37 7.67 -38.17 0.19 -0.07] 29.01
LC8,2 [0.03 -0.81 16.47 -308.04 13.72 -220.95 0.23 -2.61 0.02 0.3 6.98 44.38 3.35 11.62 0.05 0.50] 102.07
LC8,3 [0.11 -0.37 24.28 0.87 17.25 -2.32 0.34 -0.26 0.11 -0.37 24.28 -0.87 17.25 -2.32 0.34 -0.26] 158.18
LC8,4 [0.11 -1.64 25.67 -3.79 19.82 -11.58 0.36 -1.11 0.12 1.26 25.61 11.01 15.83 10.92 0.33 0.99] 200.94

Table 14 shows the initial conditions and the values of input for time series depicted in Fig 9T1–9T10.

Table 14. The initial conditions and the values of input for time series depicted in Fig 9T1–9T10.

Limit Cycle [v0a,z0a,v1a,z1a,v2a,z2a,v3a,z3a,v0b,z0b,v1b,z1b,v2b,z2b,v3b,z3b] Input u
LC9,2 [0.04 -0.62 16.83 -277.72 13.59 -217.71 0.23 -2.47 0.002 0.001 1.15 -2.26 2.59 0.23 0.007 0.01] 119.02
LC9,3 [0.10 -1.31 23.99 -3.62 18.03 -9.30 0.34 -0.90 0.002 0.004 1.27 0.39 2.61 -0.004 0.007 0.0005] 200
LC9,5 [0.02 0.15 6.49 20.80 3.47 5.64 0.05 0.20 0.05 -0.002 10.58 0.07 6.05 0.28 0.15 0.008] 119.02
LC9,6 [0.10 -1.33 23.68 -3.74 17.78 -7.067 0.34 -0.89 0.05 0.004 10.19 0.18 5.79 -0.13 0.14 -0.0002] 183.92
LC9,18 [0.10 -1.33 23.79 -3.67 17.88 -7.13 0.34 -0.89 0.08 0.03 17.36 0.17 11.13 -1.69 0.26 -0.0008] 181.45

Table 15 shows the initial conditions and the values of input for time series depicted in Fig 12T1–12T10.

Table 15. The initial conditions and the values of input for time series depicted in Fig 12T1–12T10.

Limit Cycle [v0a,z0a,v1a,z1a,v2a,z2a,v3a,z3a,v0b,z0b,v1b,z1b,v2b,z2b,v3b,z3b] Input u
LC12,2 [0.04 -0.64 17.71 -270.42 14.23 -218.83 0.24 -2.44 0.006 0.03 3.17 -7.06 2.71 2.59 0.01 0.13] 119.04
LC12,3 [0.10 -1.32 24.26 -3.41 18.27 -9.15 0.34 -0.90 0.009 0.02 3.93 2.19 2.93 -0.11 0.02 0.007] 201.93
LC12,4 [0.15 -0.0001 38.26 0.12 27.75 0.06 0.45 0.0004 0.02 0.0061 6.34 0.97 3.67 0.36 0.06 0.01] 621.40
LC12,16 [0.11 -1.43 26.13 -4.71 19.99 -7.09 0.36 -0.94 0.09 0.47 20.02 -0.21 12.99 -33.89 0.28 -0.05] 192.06
LC12,17 [0.13 -0.14 32.56 -2.21 23.89 -17.65 0.41 -0.21 0.10 0.85 20.40 11.63 12.69 -8.20 0.29 0.49] 389.46

Table 16 shows the initial conditions and the values of input for time series depicted in Fig 13T1–13T18.

Table 16. The initial conditions and the values of input for time series depicted in Fig 13T1–13T18.

Limit Cycle [v0a,z0a,v1a,z1a,v2a,z2a,v3a,z3a,v0b,z0b,v1b,z1b,v2b,z2b,v3b,z3b] Input u
LC12,8 [0.07 -2.70 21.57 -27.52 18.01 -57.76 0.30 -1.84 0.09 0.19 19.57 11.39 12.67 13.02 0.28 0.28] 59.98
LC12,9 [0.08 0.08 16.99 0.28 10.80 -5.53 0.25 -0.01 0.09 -0.49 19.32 -6.04 13.26 -0.50 0.28 -0.31] −62.16
LC12,10 [0.07 0.13 15.63 0.45 9.70 -10.09 0.23 -0.04 0.08 -1.28 19.22 -14.52 14.03 -6.56 0.29 -0.83] −85.21
LC12,11 [0.07 0.09 14.70 0.44 9.006 -6.67 0.22 -0.03 0.08 -1.34 19.10 -15.88 14.002 -8.49 0.28 -0.88] −99.15
LC12,12 [0.04 0.02 10.12 0.83 5.74 -14.13 0.14 -0.01 0.08 -1.13 18.36 -17.69 13.19 -8.70 0.27 -0.75] −46.69
LC12,13 [0.01 0.02 4.73 2.97 3.11 -0.02 0.03 0.01 0.08 -0.70 17.33 -16.38 11.89 -5.06 0.26 -0.45] 37.04
LC12,14 [0.05 -1.68 22.09 -145.71 18.27 -191.73 0.259 -2.65 0.04 0.08 12.47 -63.82 7.99 -83.25 0.18 -1.10] 111
LC12,15 [0.07 -2.58 22.48 -39.38 18.67 -77.60 0.32 -2.15 0.05 0.57 15.51 -24.87 9.78 -101.38 0.22 -0.82] 95.75
Remark 1 [0.02 0.03 6.57 2.72 3.76 -0.54 0.06 0.001 0.08 -0.83 17.66 -17.09 12.30 -6.17 0.26 -0.54] 49.23

Table 17 shows the initial conditions and the values of input for time series depicted in Fig 14T1–14T6.

Table 17. The initial conditions and the values of input for time series depicted in Fig 14T1–14T6.

Limit Cycle [v0a,z0a,v1a,z1a,v2a,z2a,v3a,z3a,v0b,z0b,v1b,z1b,v2b,z2b,v3b,z3b] Input u
LC14,2 [0.04 -1.02 19.79 -220.68 16.01 -2.06.03 0.26 -2.43 0.002 0.004 1.16 -0.73 2.59 0.24 0.006 0.01] 128.08
LC14,3 [0.10 -1.31 24.09 -3.51 18.11 -9.20 0.34 -0.90 0.002 0.001 1.27 0.39 2.61 -0.004 0.007 0.0005] 203.29
LC14,7 [0.11 1.11 23.73 10.07 14.82 5.76 0.32 0.82 0.08 -0.03 17.37 -0.12 11.17 1.64 0.26 0.0002] 199.30

Table 18 shows the initial conditions and the values of input for time series depicted in Fig 15T1–15T6.

Table 18. The initial conditions and the values of input for time series depicted in Fig 15T1–15T6.

Limit Cycle [v0a,z0a,v1a,z1a,v2a,z2a,v3a,z3a,v0b,z0b,v1b,z1b,v2b,z2b,v3b,z3b] Input u
T1 [0.08 2.73 15.10 302.19 5.52 71.07 0.15 2.71 0.08 0.04 16.93 4.84 10.72 5.49 0.25 0.08] 137.23
T3 [0.03 0.29 8.21 43.51 4.14 8.95 0.08 0.42 0.08 0.21 16.67 11.40 10.32 8.27 0.24 0.22] 115.45
T5 [0.03 0.29 8.26 43.30 4.17 8.72 0.08 0.41 0.083 -0.04 16.83 -2.09 10.79 -2.26 0.25 -0.05] 114.22

Table 19 shows the initial conditions and the values of input for time series depicted in Fig 16T1–16T10.

Table 19. The initial conditions and the values of input for time series depicted in Fig 16T1 and 16T10.

Limit Cycle [v0a,z0a,v1a,z1a,v2a,z2a,v3a,z3a,v0b,z0b,v1b,z1b,v2b,z2b,v3b,z3b] Input u
LC16,2 [0.03 -0.62 16.61 -277.80 13.42 -216.96 0.23 -2.47 0.006 0.01 3.13 -9.38 2.72 2.56 0.01 0.12] 119
LC16,3 [0.10 -1.31 24.17 -3.42 18.18 -9.12 0.34 -0.89 0.008 0.01 3.92 2.17 2.92 -0.11 0.02 0.007] 205.87
LC16,4 [0.15 0 38.67 0 28.02 0 0.45 0 0.03 0.24 8.03 35.61 4.11 7.52 0.08 0.35] 650
LC16,11 [0.01 -0.25 6.95 -91.17 5.77 -84.90 0.12 -1.86 0.07 -0.02 17.91 -45.75 12.03 -65.50 0.26 -0.73] 119
LC16,12 [0.09 -0.82 23.93 -9.67 17.72 -65.88 0.33 -1.13 0.09 0.52 19.85 2.71 12.68 -14.09 0.28 0.19] 200.35

C Notes on equilibria for case II

As pointed out in Sections 1.3 and 2.2, the equilibria for the second case are obtained from (5), (6) and (7) with ub = 0. In this case, (7) can be written as follows (Kab = Kba = K):

ya=αeζecepg(αeζecpeg(ya))αiζicipg(αeζecpig(ya))+u˜ayb=αeζecepg(αeζecpeg(yb))αiζicipg(αeζecpig(yb))+u˜b, (9)

where

u˜a=αeζeua+αe2ζeζdKg(yb)u˜b=αe2ζeζdKg(ya). (10)

This implies that finding the equilibria of the whole network is equivalent to finding the equilibria of each single region when the input of each region are defined by (10).

We first claim that, the equilibria of region a are affected significantly by changing ua rather than changing the values of K while the equilibria of region b are affected significantly by variations of K. Since the sigmoid function satisfies g(⋅) ≤ 2e0, the following inequalities are obtained from (10):

u˜aαeζeua+2e0αe2ζaζdKu˜b2e0αe2ζaζdK. (11)

For typical values of e0, αe, ζa, and ζd (see Table 1), the value of 2e0αe2ζaζd is on the order of 10−2 and, consequently, the variation of 2e0αe2ζaζdK is much smaller than the variation of u even for large values of K. Hence, ya and, consequently, the equilibria of region a are not affected significantly by feedback from region b due to the small interaction term αe2ζeζdKg(yb); however, the equilibria of region b are significantly affected by the output of region a.

In order to find the equilibria, we used a numerical approach to find all values for ya and yb which satisfy (9) and (10) for different values of ua and K. To do so, we varied the value of yb ∈ (−20, 20) and calculated the value of ya from the second equation in (9), i.e. from solving the equation,

g(ya)=ζeζdKαe2(ybαeζecepg(αeζecpeg(yb))+αiζicipg(αeζecpig(yb)))ϒ(yb,K). (12)

By knowing the value of ya and yb, the associated value ua was obtained from the first equation in (9), which can be rewritten as

ua=ζeαe(αeζecepg(αeζecpeg(ya))αiζicipg(αeζecpig(ya))+αe2ζeζdKg(yb)ya). (13)

Since g(v) is a strictly increasing function and 0 ≤ g(v) ≤ 2e0, Eq (12) has a solution if and only if

0ϒ(yb,K)2e0. (14)

Among all values of yb ∈ (−20, 20), the acceptable ones are those that satisfy (14). As a consequence, some values in the interval yb ∈ (−20, 20) may not be equilibria. For typical values of e0, αe, ζa, and ζd (see Table 1), we plotted ϒ(yb, K) for yb ∈ (−30, 30) and different values of K in Fig 20. This figure indicate that the inequality (14) cannot be satisfied fur sufficiently large and small values of yb that means that there exist no equilibria for those values of yb. From the magnified part of the figure, it is observed that, for all values of K, there is no equilibrium point for yb ∈ (4.57, 6.07). Furthermore, the underlying network has equilibria for all values for yb ∈ (−1.9, 4.57) if K = 250, 300. However, this is not the case for K = 50, 100, 150, 200. This indicates that the second region has three branches of equilibria that do not intersect for K = 50, 100, 150, 200. This point can be seen from Fig 21. The lower and middle branches join up as the coupling gain is increased (for K = 250, 300), which leads to the appearance of a saddle-node in the bifurcation diagram of the system. Hence, for the second case, we studied the bifurcation diagram for interconnection gains K = 50, 250. In all bifurcation diagrams, the stability of equilibria has been determined by computing the eigenvalues of Jacobian matrix which is represented by

J=[J11J12J21J22] (15)

where Jjj=[Jjj1Jjj2] with

Jjj1=[0100ζej22ζejαejζejh(v1jv2j)00001αejζejcepjcpejh(cpejv0j)0ζej22ζej0000αijζijcipjcpijh(cpijv0j)000000000αejζdjh(v1jv2j)0],Jjj2=[0000αejζejh(v1jv2j)000000000000100ζij22ζij000001αejζdjh(v1jv2j)0ζdj22ζdj], (16)

and h(v)=2e0rexp(r(vthv))(1+exp(r(vthv)))2 for j = 1,2. Furthermore, the matrices Jjl for jl are defined as

Jjl=[000000000000000000000000000000αejζejKj,l000000000000000000000000000000000]. (17)

Fig 20. The values of ϒ(yb, K) for different values of coupling gain K.

Fig 20

Fig 21. Equilibria of second region for case II and for different values of coupling gain K.

Fig 21

In this figure, solid black lines show the equilibria regardless of their stability or instability. The three branches of equilibria for K = 50 are labeled according to Fig 9. The saddle-node for K = 250 is labeled according to Fig 12.

D Estimation method

D.1 Augmented model of a cortical region

The model of a cortical region Eq (1) can be written in the form

x˙=Ax+Bϕ(Cx), (18)

where xRNx is a state vector representing the postsynaptic membrane potentials generated by each population synapse and their time derivatives. There are two states per synapse and Nx = 2Ns is the total number of states, where for Ns synaptic connections in the models the state vector is of the form

x=[v1z1vNszNs].

The matrix A encodes the dynamics induced by the membrane time constants. For Ns synapses, A has the block diagonal structure

A=diag(Ψ1ΨNs),

where the nth synapse is described by

Ψn=[01ζn22ζn].

The matrix of synaptic gains from internal inputs, B, has the diagonal form

B=diag(0α10αNs),

The vector function ϕ(⋅) has the following form

ϕ(Cx)=[0g(c2,:x)0g(cNx2,:x)0u] (19)

The adjacency matrix, C, defines the connectivity structure of the model. It is a matrix of zeros or ones that specifies all the connections between the cell population types (excluding external inputs) that has the block structure

C=[0000c2,10c2,Nx100000cNx,10cNx,Nx10].

For example, if the PSPs from synapses 1 and 2 are summed and transformed by the sigmoid to give the input firing rate to synapse n, then row 2n of C with have the form

c2n,:=[10100000].

It is necessary to discretize the model to numerically integrate the equations and run simulations. The discrete time version of the model is

xt+1=Aδxt+Bδϕ(Cxt)+wt. (20)

The matrices Aδ and Bδ are discrete time versions of A and B, respectively, and are defined in [28]. For ease of notation, we shall abbreviate increments or decrements in time (by the integration time step) by t + 1 or t − 1, respectively. The additional term wt captures uncertainty in the neural mass model for estimation purposes (wtN(0,Q)RNx).

The neural mass model is mapped to electrophysiological measurements by the observation equation

yt=Hxt+vt, (21)

where HRNx×Ny is the observation matrix, vN(0,R)RNy is the observation noise, Nx is the number of states, and Ny is the number of observations.

D.2 Re-parametrization for model for inversion

To estimate the input within our framework, we assume that it is varying on a time scale much slower than the state variables (v and z). Following this assumption we can reduce the model dimension since

vp3=constant=u˜αeξeuξe2, (22)

in the steady state limit. A further modification for model inversion induces a new parameter, λ, to deal with DC offsets on the EEG signals due to electrode-tissue interactions. The offset parameter is added to the post-synaptic potential at the excitatory to pyramidal connection Eq (1),

v˙p1=zp1+λ, (23)

but removed from it where it feeds back to the system in the sigmoidal activation function. This way the system dynamics are unaffected by this addition, but the observation is offset by λ (since vp1 contributes to the EEG). The additional parameter enables us to estimate a slowly (with respect to the sate variables) changing DC offset in real data. We also modify the form of the activation function g(⋅) to

g(v)g˜(v)=12(erf(vv0ς)+1) (24)

where ς = 1.699/r. The function g˜(·) enables precise propagation of Gaussian distribution through time in the estimation method. It only differs from g(⋅) slightly at the turning points of the sigmoid and does not change the dynamics of the system significantly.

The modified vectorized activation function has the following form

ϕ˜(Cx)=[0g˜(c2,:x+u˜λ)0g˜(c4,:x+u˜λ)0g˜(cN˜x2,:x)] (25)

where N˜x=Nx2 (from the input modification).

Any neural mass model with an arbitrary number of populations can be written in the form described above, including the model of the two coupled regions that we employ in this paper. It is straight forward to construct the matrices A, B and C, therefore for the sake of conciseness, we leave the basic form of the state-space model here.

D.3 Augmentation for model for inversion

In order to perform online joint state and parameter estimation we augment the model and concatenate the inputs and measurement offsets to the state vector. To define to the augmented model we first define a vector of parameters as

θ=[uaubλaλb].

The trivial dynamics for the parameter are model as

θ˙=0 (26)

or in discrete time as

θt+1=θt. (27)

The state vector x and the parameter vector θ are concatenated to form the augmented state vector

ξ=[xTθT]. (28)

Our augmented state-space model is

ξt=Aθξt1+Bθϕ(Cθξt1)+wt1 (29)

where wtN(0,Q). The state vector ξRNξ×1 and matrices Aθ, Bθ, and Cθ are RNξ×Nξ and have the form

Aθ=[Aδ00I],Bθ=[B000],Cθ=[C000]. (30)

To make the next step a little easier we will simplify the notation by dropping the subscript θ on the system matrices and abbreviate the activation function giving

ξt=Aξt1+Bϕ(Cξt1)+wt1. (31)

D.4 A filter for the population model

The filter provides an estimate of the most likely sequences of states, ξ^t+, and the associated error covariances, P^t+, given (uncertain) knowledge of the biophysics and anatomy of the brain regions of interest combined with the noisy EEG measurements, yt. The method is based on the Kalman filter [33], but falls in the category of an assumed density filter (using a Gaussian prior). The optimal state estimates can be formally stated using the expectations

ξ^t+=E[ξt|y1,y2,,yt] (32)
P^t+=E[(ξtξ^t+)(ξtξ^t+)], (33)

which are known as the a posteriori state estimate and state estimate covariance, respectively. The a posteriori state estimate is computed by correcting the a priori state estimate, which is a prediction though our model and defined as [28]

ξ^t=E[ξt|y1,y2,,yt1]=E[Aξt1+Bϕ(ξt1)+wt]=Aξ^t1++Bϕ^t1, (34)

where the vectors (note the square root is element-wise and ∘ is the Hadamard product)

ϕ^t1=12(erf(βσ1/2)+1)βt=Cξ^t1+v0σt=2(diag(CPt1+C)+ς2). (35)

The a posteriori state estimate is calculated using a weighted difference between an uncertain prediction of the observations (EEG) and the actual noisy measurements

ξ^t+=ξ^t+Kt(ytHξ^t)EEGpredictionerror. (36)

The weighting to correct the a priori augmented state estimate, Kt, is known as the Kalman gain. The Kalman gain is computed from the confidence in a prediction of the augmented state and the noisy measurement model by

Kt=P^tH(HP^tH+κtR)1, (37)

where κt is an annealing parameter. The annealing schedule is

κt=κ0tatta1 (38)

and κ0 is a larger number. Following this schedule the annealing parameter will decrease from κ0 to 1 following a geometric series. When the annealing parameter is high, the Kalman gain is small and the measurements are not full utilized. The annealing has the effect of slowly introducing corrections from the measurements on initialization, avoiding taking large steps towards local minima when our initial uncertainty is high. The a priori state estimate error covariance is

P^t=E[(ξtξ^t)(ξtξ^t)]=E[(Aξt1+Bϕ(Cξt1)+wt1(Aξ^t1++Bϕ^t1))(·)]=AP^t1+A+BE[ϕ(ξt1)ϕ(ξt1)]B+QBϕ^t1ϕ^t1B+Φt1+Φt1, (39)

where

Φt1=AE[ξt1ϕ(Cξt1)]BAξ^t1+E[ϕ(Cξt1)]B=A(Pt1+C1×Λ)B (40)
Λ=(πσ)1/2exp(ββσ1). (41)

We can analytically calculate all the elements of P^t except for E[ϕ(ξt1)ϕ(ξt1)], which is know to have no analytic solution. Nevertheless, we can compute a precise solution (to error of 10−14) as explained in [39]. The elements, indexed by i and j, of the matrix resulting from evaluating the expectation are equivalent to the probabilities of the bivariate Gaussians

E[ϕ(Cξt1)ϕ(Cξt1)]ij=P(x>0,y>0), (42)

where (x,y)N(μ,Σ) and

μ=[(Cξ^t1+)i,(Cξ^t1+)j]Σ=[(diag(CP^t1+C)+ς2)i(CP^t1+C)ij(CP^t1+C)ij(diag(CP^t1+C)+ς2)j].

These probabilities can be computed easily in Matlab using, where each element is mvncdf (0, μ, Σ).

For a linear observation function, the a posteriori covariance is then updated by using the Kalman gain to provide the correction

P^t+=(IKtH)P^t. (43)

Practically, the actual state is not known so the Kalman filter must be initialized with the best guess for ξ^0+ and P^0+, which provides the a posteriori state estimate and state estimate covariance for time t = 0. The other parameters that must be initialized are Q and R.

D.5 Filter initialization

This section provides the parameter values that were initialized prior to implementing the assumed density filter. Values are also provided in the code (https://github.com/pkaroly/Bifurcation-Estimation)

To initialize ξ^0+ and P^0+ we used the empirical mean and covariance of the states based on a forward simulation of the model.

The model and measurement noise, Q and R are given by

Q={σv000000σz000000σv000000σz000000σu000000σλ} (44)
R={σy00σy} (45)

The terms σv and σz are the standard deviation of the model noise for the membrane potentials, v and derivatives, z. The terms σu and σλ correspond to the model noise of the input and DC offset. We did not explicitly include model uncertainty for the derivatives and input offset; however, we set σz and σλ to small positive numbers for numerical stability of the filter.

σv=1×105Vσz=1×108Vσu=1×105Vσλ=1×108V (46)

The term σy = 1 × 10−4 V is the standard deviation of the measurement noise.

The values of σv, σu and σy reflect the relative certainty in the model as opposed to the data. Practically, these values require some tuning to achieve filter stability, with a balance between perfectly tracking the recorded ECoG (overfitting), versus ignoring the data. For a more thorough discussion of the effects of tuned parameters on the estimation accuracy the reader is referred to [28].

Data Availability

The data is available on Github. https://github.com/pkaroly/Bifurcation-Estimation.

Funding Statement

The authors received no specific funding for this work.

References

  • 1. Badawy RAB, Freestone DR, Lai A, Cook MJ. Epilepsy: ever-changing states of cortical excitability. Neuroscience. 2012;222:89–99. doi: 10.1016/j.neuroscience.2012.07.015 [DOI] [PubMed] [Google Scholar]
  • 2. Kwan P, Brodie MJ. Early identification of refractory epilepsy. New England Journal of Medicine. 2000;342(5):314–319. doi: 10.1056/NEJM200002033420503 [DOI] [PubMed] [Google Scholar]
  • 3. Holliday SL, Brey RL. Memory problems after epilepsy surgery. Neurology. 2003;60(6):E3–E5. doi: 10.1212/WNL.60.6.E3 [DOI] [PubMed] [Google Scholar]
  • 4. Hodgkin AL, Huxley AF. A quantitative description of membrane current and its application to conduction and excitation in nerve. The Journal of Physiology. 1952;117(4):500 doi: 10.1113/jphysiol.1952.sp004764 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. FitzHugh R. Mathematical models of threshold phenomena in the nerve membrane. The Bulletin of Mathematical Biophysics. 1955;17(4):257–278. doi: 10.1007/BF02477753 [Google Scholar]
  • 6. Beurle RL. Properties of a mass of cells capable of regenerating pulses. Philosophical Transactions of the Royal Society of London Series B, Biological Sciences. 1956;240(669):55–94. doi: 10.1098/rstb.1956.0012 [Google Scholar]
  • 7. Wilson HR, Cowan JD. Excitatory and inhibitory interactions in localized populations of model neurons. Biophysical Journal. 1972;12(1):1–24. doi: 10.1016/S0006-3495(72)86068-5 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8. Lopes da Silva FH, Van Rotterdam A, Barts P, Van Heusden E, Burr W. Models of neuronal populations: the basic mechanisms of rhythmicity. Progress in Brain Research. 1976;45:281–308. doi: 10.1016/S0079-6123(08)60995-4 [DOI] [PubMed] [Google Scholar]
  • 9. Wendling F, Bellanger J, Bartolomei F, Chauvel P. Relevance of nonlinear lumped-parameter models in the analysis of depth-EEG epileptic signals. Biological Cybernetics. 2000;83(4):367–378. doi: 10.1007/s004220000160 [DOI] [PubMed] [Google Scholar]
  • 10. Jansen BH, Rit VG. Electroencephalogram and visual evoked potential generation in a mathematical model of coupled cortical columns. Biological Cybernetics. 1995;73(4):357–366. doi: 10.1007/BF00199471 [DOI] [PubMed] [Google Scholar]
  • 11. David O, Friston KJ. A neural mass model for MEG/EEG:: coupling and neuronal dynamics. NeuroImage. 2003;20(3):1743–1755. doi: 10.1016/j.neuroimage.2003.07.015 [DOI] [PubMed] [Google Scholar]
  • 12. David O, Kiebel SJ, Harrison LM, Mattout J, Kilner JM, Friston KJ. Dynamic causal modeling of evoked responses in EEG and MEG. NeuroImage. 2006;30(4):1255–1272. doi: 10.1016/j.neuroimage.2005.10.045 [DOI] [PubMed] [Google Scholar]
  • 13. Spiegler A, Kiebel SJ, Atay FM, Knösche TR. Bifurcation analysis of neural mass models: Impact of extrinsic inputs and dendritic time constants. NeuroImage. 2010;52(3):1041–1058. doi: 10.1016/j.neuroimage.2009.12.081 [DOI] [PubMed] [Google Scholar]
  • 14. Touboul J, Wendling F, Chauvel P, Faugeras O. Neural mass activity, bifurcations, and epilepsy. Neural Computation. 2011;23(12):3232–3286. doi: 10.1162/NECO_a_00206 [DOI] [PubMed] [Google Scholar]
  • 15. Terry JR, Benjamin O, Richardson MP. Seizure generation: the role of nodes and networks. Epilepsia. 2012;53(9):e166–e169. doi: 10.1111/j.1528-1167.2012.03560.x [DOI] [PubMed] [Google Scholar]
  • 16.Ahmadizadeh S, Nešić D, Grayden DB, Freestone DR. Analytic synchronization conditions for a network of Wilson and Cowan oscillators. In: 2015 54th IEEE Conference on Decision and Control (CDC). IEEE; 2015. p. 3104–3109.
  • 17. Ahmadizadeh S, Nešić D, Freestone DR, Grayden DB. On synchronization of networks of Wilson–Cowan oscillators with diffusive coupling. Automatica. 2016;71:169–178. doi: 10.1016/j.automatica.2016.04.030 [Google Scholar]
  • 18. Ahmadizadeh S, Shames I, Martin S, Nešić D. On eigenvalues of Laplacian matrix for a class of directed signed graphs. Linear Algebra and its Applications. 2017;523:281–306. doi: 10.1016/j.laa.2017.02.029 [Google Scholar]
  • 19.Ahmadizadeh S, Shames I, Martin S, Nešić D. Corrigendum to On eigenvalues of Laplacian matrix for a class of directed signed graphs [Linear Algebra Appl. 523 (2017) 281–306]. Linear Algebra and its Applications. 2017;530:541–557.
  • 20. Grimbert F, Faugeras O. Bifurcation analysis of Jansen’s neural mass model. Neural Computation. 2006;18(12):3052–3068. doi: 10.1162/neco.2006.18.12.3052 [DOI] [PubMed] [Google Scholar]
  • 21. Geng S, Zhou W, Zhao X, Yuan Q, Ma Z, Wang J. Bifurcation and oscillation in a time-delay neural mass model. Biological Cybernetics. 2014; p. 1–10. [DOI] [PubMed] [Google Scholar]
  • 22. Bettus G, Wendling F, Guye M, Valton L, Régis J, Chauvel P, et al. Enhanced EEG functional connectivity in mesial temporal lobe epilepsy. Epilepsy Research. 2008;81(1):58–68. doi: 10.1016/j.eplepsyres.2008.04.020 [DOI] [PubMed] [Google Scholar]
  • 23. Merrison-Hort R, Yousif N, Njap F, Hofmann UG, Burylko O, Borisyuk R. An interactive channel model of the basal ganglia: bifurcation analysis under healthy and parkinsonian conditions. The Journal of Mathematical Neuroscience. 2013;3(1):14 doi: 10.1186/2190-8567-3-14 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 24. Campbell S, Wang D. Synchronization and desynchronization in a network of locally coupled Wilson-Cowan oscillators. IEEE transactions on neural networks. 1996;7(3):541–554. doi: 10.1109/72.501714 [DOI] [PubMed] [Google Scholar]
  • 25. Huang G, Zhang D, Meng J, Zhu X. Interactions between two neural populations: A mechanism of chaos and oscillation in neural mass model. Neurocomputing. 2011;74(6):1026–1034. doi: 10.1016/j.neucom.2010.11.019 [Google Scholar]
  • 26.Jedynak M, Pons AJ, Garcia-Ojalvo J. Collective excitability in a mesoscopic neuronal model of epileptic activity. arXiv:170703812. 2017;. [DOI] [PubMed]
  • 27. Jedynak M. Coupling and stochasticity in mesoscopic brain dynamics. Universitat Politecnica de Catalunya; 2017. [Google Scholar]
  • 28. Freestone DR, Karoly PJ, Nešić D, Aram P, Cook MJ, Grayden DB. Estimation of effective connectivity via data-driven neural modeling. Frontiers in Neuroscience. 2014;8:383 doi: 10.3389/fnins.2014.00383 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 29.Govaerts W, Kuznetsov YA, De Witte V, Dhooge A, Meijer HGE, Mestrom W, et al. MATCONT and CL-MATCONT: Continuation toolboxes in MATLAB. Gent University and Utrech University, Tech Rep. 2011;.
  • 30. Shil’nikov AL. On bifurcations of the Lorenz attractor in the Shimizu-Morioka model. Physica D: Nonlinear Phenomena. 1993;62(1-4):338–346. doi: 10.1016/0167-2789(93)90292-9 [Google Scholar]
  • 31. Kuznetsov YA. Elements of Applied Bifurcation Theory. Springer; 2004. [Google Scholar]
  • 32. Cook MJ, O’Brien TJ, Berkovic SF, Murphy M, Morokoff A, Fabinyi G, et al. Prediction of seizure likelihood with a long-term, implanted seizure advisory system in patients with drug-resistant epilepsy: a first-in-man study. The Lancet Neurology. 2013;12(6):563–571. doi: 10.1016/S1474-4422(13)70075-9 [DOI] [PubMed] [Google Scholar]
  • 33. Kalman RE. A new approach to linear filtering and prediction problems. Journal of Basic Engineering. 1960;82(1):35–45. doi: 10.1115/1.3662552 [Google Scholar]
  • 34.Julier S, Uhlmann J. A New Extension of the Kalman Filter to Nonlinear Systems. In: The Proceedings of AeroSense: The 11th International Symposium on Aerospace/Defense Sensing, Simulation and Controls. SPIE; 1997.
  • 35. Freyer F, Roberts JA, Becker R, Robinson PA, Ritter P, Breakspear M. Biophysical mechanisms of multistability in resting-state cortical rhythms. The Journal of Neuroscience. 2011;31(17):6353–6361. doi: 10.1523/JNEUROSCI.6693-10.2011 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36. Wendling F, Bellanger JJ, Bartolomei F, Chauvel P. Relevance of nonlinear lumped-parameter models in the analysis of depth-EEG epileptic signals. Biological cybernetics. 2000;83(4):367–378. doi: 10.1007/s004220000160 [DOI] [PubMed] [Google Scholar]
  • 37. Breakspear M, Roberts J, Terry JR, Rodrigues S, Mahant N, Robinson P. A unifying explanation of primary generalized seizures through nonlinear brain modeling and bifurcation analysis. Cerebral Cortex. 2005;16(9):1296–1313. doi: 10.1093/cercor/bhj072 [DOI] [PubMed] [Google Scholar]
  • 38. Jirsa VK, Stacey WC, Quilichini PP, Ivanov AI, Bernard C. On the nature of seizure dynamics. Brain. 2014;137(8):2210–2230. doi: 10.1093/brain/awu133 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39. Genz A. Numerical computation of rectangular bivariate and trivariate normal and t probabilities. Statistics and Computing. 2004;14(3):251–260. doi: 10.1023/B:STCO.0000035304.20635.31 [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data is available on Github. https://github.com/pkaroly/Bifurcation-Estimation.


Articles from PLoS ONE are provided here courtesy of PLOS

RESOURCES