scieee AI-readable full text Open interactive document viewer

A computational and geometric approach to phase resetting curves and surfaces

Guillamon, Antoni; Huguet, Gemma

Abstract

"Vegeu el resum a l'inici del document del fitxer adjunt".

Full text

A COMPUTATIONAL AND GEOMETRIC APPROACH TO PHASE RESETTING CURVES AND SURFACES ANTONI GUILLAMON AND GEMMA HUGUET Abstract. This work arises from the purpose of relating time problems in biological systems with some known tools in dynamical systems. More precisely, how are the phase resetting curves (PRCs) around a limit cycle γof a vector field Xrelated to the fact that Xis the infinitesimal generator of a Lie symmetry ([Y, X] = µ Y ). We show how the time variables involved in the Lie symmetry provide a natural way (a kind of normal form) to express the vector field around γ, similar to action-angle variables for integrable systems. In addition, the knowledge of the orbits of Ygives a trivial way to compute the PRC, not only on γ, but also in a neighborhood of it, thus obtaining what we call phase resetting surfaces (PRSs). However, the aim of the paper is not only to state relationships among different concepts, but also to perform the effective computation of these symmetries. The numerical scheme is based on the theoretical ground of the so-called parameterization method to compute invariant manifolds (the orbits of Y) in a neighborhood of γ. Limit cycles in biological (more specifically, neuroscience) models encompass numerical problems that are often neglected or underestimated; we present a discussion about them and give general solutions whenever it is possible. Finally, we use all theoretical and numerical results to compute both the PRCs and PRSs and the isochronous sections of limit cycles for well-known biological models. In this part of the paper, we also explore how the PRCs evolve (in the parameter space) between different bifurcation values. 1. Introduction The behavior of coupled oscillators in biology and, more intensively, in neuroscience has been the subject of a great deal of recent interest and there is a wide literature on this topic (see [Izh07] for a survey), mainly because many oscillators can be described by their phase variable. Moreover, under generic conditions, the phase of the oscillation can be also defined outside the hyperbolic limit cycle via asymptotic phase. Thus, the stable manifold of a point x0on a limit cycle is the union of points having equal phases, and it is often referred to as the isochron of x0. To study synchronization, a useful measurable property of a neural oscillator is its phase resetting curve (PRC). The PRC is found by perturbing the oscillation with a brief stimulus at different times on its cycle and measuring the resulting phase-shift from the unperturbed system. It is a very useful tool to explain how the coupling between neurons can affect the phase and lead them to a synchronized or non-synchronized activity. Phase resetting curves (PRCs) constitute a powerful resource in time-control problems in biological processes. For instance, in the study of circadian rhythms, phase resetting curves are indicators for the experimentalists to know the peaks of the phase advancement and for the practitioners to administrate drugs (see for instance [CKWJ03], [DN94] or [PZG07] for different contexts); that is, to know the optimal phase advancement. 2000 Mathematics Subject Classification. 34C14, 34C20, 92-08; 37N25, 92B05. 1 2 ANTONI GUILLAMON AND GEMMA HUGUET Different methods are known to compute the PRCs, see [Izh07, Ch. 10] for a survey. One of the most effective is the so-called adjoint method, see [EK91] (also [BHM04] for a review). Recently, Govaerts and Sautois (see [GS06]) have developed a new algorithm to solve the adjoint method problem accompanied with the implementation of continuation methods to study PRCs along families of vector fields with a persistent limit cycle. Typically, solutions to the models of interest tend asymptotically to a limit cycle. However, one may be interested in computing the phase advancement in the transient state, when the dynamics has not relaxed back to the limit cycle. This occurs when the period of stimulation is too short and is favored by factors like a slow attraction to the limit cycle, a large stimulus amplitude, other external stimuli, random fluctuations, bursting-like stimuli, . . . Thus, the study of the phase advancement under a certain stimulus in a neighborhood of the limit cycle, not only on the limit cycle, is also interesting. Since the method that we develop in this manuscript gives a “natural” parameterization of an entire neighborhood of a limit cycle, and the way we obtain the phase resetting curves is independent on whether a point is on the limit cycle or not, we can extend the computation of the phase resetting curves to a neighborhood and obtain what we call phase resetting surfaces (PRS from now on); that is, we can evaluate the phase advancement even when the stimulus is performed out of the limit cycle. The restriction of our method to the limit cycle gives the numerical scheme also used in [GS06]. In the examples, we also include a discussion on the relationship between the excitability types and the types of the corresponding PRCs. This issue was introduced by Ermentrout in [Erm96]; models with strictly positive or mainly positive PRC are called usually “Type 1 PRC” or “Class 1”, whereas models whose PRC changes sign and present a negative regime (delay in the phase) are known as “Type 2 PRC” or “Class 2”. The PRC type have effects on the synchronization of an oscillator with a periodic pulse train. For instance, for Type 1 models, that is with a PRC mostly positive, they easily synchronize with fast inputs but they cannot synchronize with slower inputs. This is because they can advance the phase to catch up with faster inputs but they cannot delay the phase. This is not the case for Type 2 models because they can advance or delay the phase. We study, in parametric families, the evolution from one type to another. It can be observed how the negative parts of the PRC for a “Type 2 PRC” oscillator shrink as some bifurcation parameter evolves until it almost vanishes near to a “Type 1 excitability” value (that is, close to a frequency zero limit cycle bifurcation), corresponding also to a “Type I PRC” value, see Example 9.2 and (40) (Iapp = 10). We are more concerned with the observation and biological consequences of these changes between PRCs inside a family of vector fields, rather than carrying out a systematic computation of PRCs with respect to some parameter. As mentioned above, this job has been done in [GS06]. In the examples we also show (see Figs. 2 to 6) that, depending on the geometry of the isochrons, the shape of the phase resetting surface may be different from the shape of the phase resetting curve in such a way that systems with “Type I PRC” can present regions with negative PRS, thus allowing, away from the limit cycle, a delay of the phase which is not supposed for “Type I PRC” oscillators. The mathematical formalism that we use to obtain information about isochrons, PRCs and PRSs is based on Lie symmetries, see [Sab05] or [FGG07] for new applications to limit cycles. Indeed, given a vector field Xwith a limit cycle γ, it is proved the equivalence between the existence of a Lie symmetry [Y, X] = µ Y and the foliation of a neighborhood of γby isochrons (that is, with asymptotic phase well defined). Parallel, to this theory, Cabr´e-Fontich-de la Llave have developed COMPUTATION OF PRC AND PRS 3 a method to parameterize invariant manifolds around an invariant object, see for instance [CFL05] for the part related to limit cycles. This so-called parameterization method is much easier to implement than the computation of Lie symmetries. In this paper we relate the two approaches; in fact, we prove that the coordinate curves of the parameterization are exactly the orbits of the unknown vector field Y. The paper is organized as follows: in Section 2 we give the necessary background (on isochronous sections, Lie symmetries, parameterization method and phase resetting curves) to tackle the rest of the paper. In Section 3, we relate the Lie symmetries with the parameterization method. Sections 4 and 6 are devoted to develop the effective method to compute the isochrons and the phase resetting curves (and surfaces), using the parameterization method. For the purpose of comparison, in Section 5, we explain the adjoint method and prove that our result is also a solution of the adjoint equation. In Section 7, we take care of the details of the numerical implementation of the method, an aspect which is often overlooked although it is not trivial for slow-fast systems. We devote Section 8 to envision the application of our method to higher dimensions. We end the paper with some examples, in Section 9, and a final discussion (Section 10). 2. Background and statement of the problem In this section we go through the background about the main tools that will be related later on. In general, these tools are defined for vector fields in Rd, although for the purposes of this paper we will restrict to d= 2 from Section 3 on. 2.1. Isochronous sections of a limit cycle. Let us consider an autonomous system of ODEs (1) ˙x=X(x), x ∈U⊆Rd, d ≥2, having a periodic orbit γof period T, parameterized by θ=t/T as γ:T=R/Z−→ Rd (2) θ−→ γ(θ) in order to have period 1, that is γ(θ) = γ(θ+ 1). For the numerical purposes of this paper we will assume that Xis an analytic vector field and so, all the functions and manifolds that we will associate to it. Nevertheless, the theoretical background that we are quoting in this section is still valid for lower regularity vector fields. Definition 2.1. We say that a point q∈Ω⊂Rd, where Ωis an open domain containing the limit cycle γ, is in asymptotic phase with a point p∈γif lim t→+∞|Φt(q)−Φt(p)|= 0,or lim t→−∞|Φt(q)−Φt(p)|= 0, where Φtis the flow associated to the vector field X. The set of points having the same asymptotic phase is called isochron. Definition 2.2. We will say that a limit cycle γis isochronous if there exists an open neighborhood Ωcontaining γsuch that every point in Ωis in phase with a point on γ. Remark 2.3. Notice that the isochrons are mapped to isochrons by the flow Φt of the vector field X. Hence, they are ΦT-invariant, that is ΦT(q)belongs to the isochron of q. 4 ANTONI GUILLAMON AND GEMMA HUGUET This extends the notion of phase of oscillation to a neighborhood in the basin of attraction of the limit cycle. Hence, in a neighborhood Ω of the limit cycle γthere exists a unique scalar function ϑ: Ω ⊂Rd−→ T= [0,1)(3) x7−→ ϑ(x) such that lim t→+∞(−∞)|Φt(x)−γ(t+T ϑ(x))|= 0. The value ϑ(x) is the asymptotic phase of xand the isochrons are the level sets of ϑ(x), since it is constant on each isochron. 2.2. Isochrons, stable manifolds and Lie symmetries. From a seminal paper by Winfree ([Win75]) and the theoretical answers given by Guckenheimer in a subsequent paper ([Guc75]), it is known that phase sets or isochrons and stable manifolds of hyperbolic limit cycles have a common link: if the limit cycle is stable, then the isochrons are the leaves of the stable manifold, that is Ws(γ(θ)), for θ∈T. Remark 2.4. Notice that the case of a hyperbolic unstable limit cycle is equivalent to the stable case just reversing the time. However, when one works in dissipative systems it only makes sense to talk about attractors because the other invariant objects cannot be seen when one integrates forward the system. Hence, from now on, we will only mention the stable case. Not much is said about the computation of these isochrons probably perhaps they can often be reduced to the computation of stable manifolds, which have been thoroughly studied. New papers recovering the problem of the existence of isochrons for a generic non-hyperbolic limit cycle in the plane have appeared recently ([CL04, Sab05]). From Chicone and Liu’s work, [CL04], we know that a limit cycle γof a C2planar vector field is isochronous if and only if it is hyperbolic or it is a non-hyperbolic limit cycle satisfying π′′(p)6= 0 and τ′(p) = 0, where τis the time of the first return to a Poincar´e section Σ at p∈γand πis the corresponding Poincar´e map. Moreover, in [Sab05], Sabatini proves that a limit cycle γof a C2planar vector field Xis isochronous if and only if the vector field Xis an infinitesimal generator of another C2planar vector field Ytransversal to X; that is, if (4) [Y, X] = µ Y, for some C2function µ:R2−→ R, where [ ,] stands for the Lie bracket of the two vector fields. Moreover, it is stated that, in this case, the orbits of Ycrossing the limit cycle γare its isochrons because, by the Lie symmetry, the flow of Xsends orbits of Yto orbits of Y. Finally, Freire et al., see [FGG07], give a closed formula for the characteristic exponent of a limit cycle γof a planar C1vector field Xin terms of µin (4). More precisely, they prove that the characteristic exponent of γis given by (5) λ=ZT 0 µ(γ(t/T ))dt. Although the result of Sabatini is a nice geometrical characterization of isochronous limit cycles, the difficulty arises when trying to find µand Y. In this paper, we link this result with the parameterization method developed in [CFL05] to compute the two-dimensional stable manifold containing γ, and we implement it numerically to obtain local expansions of µand Y. COMPUTATION OF PRC AND PRS 5 2.3. The parameterization method. In this subsection we introduce the parameterization method described in [CFL05]. For limit cycles in planar systems, it consists of looking for a parameterization of the two-dimensional stable manifold in terms of the phase variable θon the limit cycle and another variable σwhich moves along the isochron/leave of the stable manifold and corresponds to the time of the orbits of the vector field Yin (4). Hence, we will be looking for a map K:T×U⊂T×R−→ R2 (6) (θ, σ)7−→ K(θ, σ), where Uis an open interval containing 0, and a scalar λsuch that they satisfy the equation (7) 1 T ∂ ∂θ +λσ T ∂ ∂σ K(θ, σ) = X(K(θ, σ)), where Tis the period of the limit cycle. On the computational side, in [CFL05], the authors provide a method to solve the invariance equation (7) that leads immediately to practical numerical algorithms. We have implemented it in several biological models (specially from neuroscience) in which the control of the phase advancements becomes crucial. In Section 6 we review the method and the algorithms to solve equation (7) and in Section 7 we discuss the numerical implementation. Similar implementations of this method have been performed in [HL06] for the computation of stable and unstable manifolds of invariant tori in quasi-periodic maps. 2.4. Phase response curves and surfaces. As mentioned in the Introduction, phase resetting curves are a key tool to study phase advancement in oscillators. Here we introduce the basic background. Let us consider an oscillator of the form (1) with a stable limit cycle γof period T(let us say, for instance, a periodically spiking neuron) which is stimulated at a phase θ=ts/T with an arbitrary perturbation. The effect of the perturbation is to produce a phase shift that can be an advance or a delay depending on the time of the stimulus tsrelative to the phase of the oscillation θ, leading to a change of the period. The representation of this phase shift is usually called Phase Response Curve or Phase Resetting Curve (PRC). They are typically defined as (8) ∆ϑ= (T−Tnew)/T where Tnew is the period for the perturbed limit cycle. In this paper we will focus on the particular case of infinitesimally small perturbations in duration and amplitude. In this case, the perturbation consists of a pulse that instantaneously displaces the trajectory away from the limit cycle in a certain direction by a certain amplitude. Mathematically, we consider (9) ˙x=X(x) + ǫδ(t−ts) where ǫ= (ǫ1,...,ǫd)∈Rdand δ(t) is the Dirac delta function. When |ǫ| ≪ 1, it is common in the theory of weakly coupled neural oscillators (Ermentrout and Kopell, 1990) to construct the so called infinitesimal Phase Resetting Curve (iPRC). Using the scalar function ϑgiven in (3) that associates to every point in a neighborhood of the limit cycle a phase in [0,1), it is easy to see that the iPRC for an instantaneous perturbation as in (9) is mathematically equivalent to ∆ϑ(x) = ǫ·∇ϑ(x) = ∂ϑ ∂x1 (x),..., ∂ϑ ∂xd (x) for x∈γ, see [Izh07, Ch. 10] for the details. 6 ANTONI GUILLAMON AND GEMMA HUGUET Note that the pulse in (9) can be in any direction in Rd. Usually, one studies the PRCs for the directions given by a vector basis of Rd. For instance, for the planar case (d= 2), we will consider the PRCs corresponding to ǫ= (1,0) and ǫ= (0,1) and we will refer to them as PRC1and PRC2, respectively. For models in neuroscience, one is usually interested only on the PRC for perturbations in the direction of the voltage, that is, ∂ϑ(x)/∂V , for x∈γ. Although in the literature the phase shift is only computed on the limit cycle, that is x∈γ, the isochrons allow to naturally extend it in a neighborhood of the limit cycle and introduce a new concept that we call Phase Resetting Surface (also PRS from now on). In general, PRS are not considered in the literature because the methods to obtain the PRCs are not easily extendable. The phase resetting surface tabulates the change in the phase produced by a perturbation as a function of the phase θand the distance σto the limit cycle computed on the isochron at which it is received. Notice that the PRC is just the section σ= 0 of the PRS. Hence, PRSs are a generalization of the PRCs for σ6= 0. This tool can be very useful if we want to stimulate the oscillator repeatedly, without needing to wait for the oscillator to relax back to the limit cycle attractor. This required time to relax back is specially inconvenient when the attraction to the limit cycle is too slow or the amplitude of the stimulus is too large. The classical method for computing PRCs was given by Ermentrout and Kopell in [EK91] and is commonly known as the Adjoint method. In Section 4 we describe a new alternative method that allows to compute not only the PRC but also the PRS, using the Lie symmetries formalism and the numerical scheme provided by the parameterization method. 3. Lie symmetries and normal forms around limit cycles In this section we establish a relation between the existence of a Lie symmetry and a 2-dimensional invariant manifold parameterized by the phase θand the variable σ for the limit cycle of a planar vector field. The main result is given by Theorem 3.1. Theorem 3.1. Let γbe a hyperbolic T-periodic orbit of a planar analytic vector field Xparameterized by θaccording to (2). Then, there exists a transversal vector field Yand a scalar function µ, both analytic, such that in a neighborhood Ωof the periodic orbit γ [Y, X] = µY, if and only if there exists a manifold Mwhich is invariant under the flow of Xand can be parameterized by an analytic map K:T×U⊂R→R2, satisfying (10) 1 T∂θ+Zσ 0 µ(K(θ, τ))dτ∂σK(θ, σ) = X◦K(θ, σ). Moreover, Y◦K=∂σK, or equivalently (11) K(θ, σ) = ψσ(γ(θ)), where ψσis the flow of the vector field Y. Proof : Let us look at the first implication. Let us consider K(θ, σ) = ψσ(γ(θ)), where ψσis the flow associated to the vector field Yand γ(θ) is the parameterization of the periodic orbit of the vector field X. Then, notice that ∂σ(X◦K(θ, σ)) = DX ◦K(θ, σ)∂σK(θ, σ) = (DX ◦K(θ, σ))(Y◦K(θ, σ)). COMPUTATION OF PRC AND PRS 7 Using the Lie symmetry DXY −DY X =µY , we have (12) ∂ ∂σ X◦K(θ, σ) = (DY ◦K(θ, σ))(X◦K(θ, σ)) + µ(K(θ, σ))(Y◦K(θ, σ)). Hence, X◦K(θ, σ) is a solution of the linear equation (12) with initial condition (13) X◦K(θ, 0) = γ(θ). Let Ψσbe the fundamental solution of the homogeneous equation (14) ∂ ∂σ X◦K(θ, σ) = (DY ◦K(θ, σ))(X◦K(θ, σ)), then, the variation of parameters formula tells us that the solution of (12) with initial condition (13) is given by X◦K(θ, s) = ΨσX(γ(θ)) + ΨσZσ 0 Ψ−1 sµ(K(θ, s))(Y◦K(θ, s))ds. Notice that Ψ−1 sY(K(θ, s)) is independent of s, that is ∂s(Ψ−1 sY(K(θ, s))) = −Ψ−1 s(DY ◦K(θ, s))ΨsΨ−1 s(Y◦K(θ, s)) + Ψ−1 s(DY ◦K(θ, s))(Y◦K(θ, s)) =−Ψ−1 s(DY ◦K(θ, s))(Y◦K(θ, s)) + Ψ−1 s(DY ◦K(θ, s))(Y◦K(θ, s)) = 0 then we can take Ψ−1 sY(K(θ, s)) = Ψ−1 σY(K(θ, σ)) and we are led with the following expression for X◦K(θ, σ), X◦K(θ, σ) = ΨσX(γ(θ)) + ΨσΨ−1 σY(K(θ, σ)) Zσ 0 µ(K(θ, s))ds. Finally, using that the parameterization Kis given by the orbits of the vector field Yon the limit cycle γ, see equation (11), we have ∂θK(θ, σ) = ∂θψσ(γ(θ)) = Dψσ(γ(θ))T X(γ(θ)) = TΨσX(γ(θ)), and the expression for X◦K(θ, σ) reads out X◦K(θ, σ) = 1 T∂θ+Zσ 0 µ(K(θ, τ))dτ∂σK(θ, σ), as we wanted to see. The implication the other way follows in the following way. Let Kbeing a parameterization of the stable manifold Msatisfying equation (10). Consider Y the vector field whose orbits for the points on the limit cycle γ(θ) are given by {K(θ, σ)|σ∈R}. Let σbe the integration time along the orbits of the vector field Y. Therefore, (15) Y◦K(θ, σ) = ∂σK(θ, σ). The fact that the curves {K(θ0, σ)|σ∈R}are transversal to the orbits of X implies also that Yis transversal to X. We next prove that Xis a normalizer of the vector field Y. From equation (10), taking derivatives with respect to σ, we get 1 T∂θ+Zσ 0 µ(K(θ, τ))dτ∂σ∂σK+ (µ◦K)∂σK= (DX ◦K)∂σK, 8 ANTONI GUILLAMON AND GEMMA HUGUET and using (15), we get 1 T∂θ+Zσ 0 µ(K(θ, τ))dτ∂σ(Y◦K) + (µ◦K)(Y◦K) = (DX ◦K)(Y◦K). By the chain rule, (DY ◦K)1 T∂θ+Zσ 0 µ(K(θ, τ))dτ∂σK+(µ◦K)(Y◦K) = (DX ◦K)(Y◦K), and again, by the invariance equation (10), we obtain (DX ◦K)(Y◦K)−(DY ◦K)(X◦K) = (µ◦K)(Y◦K) [Y, X] = µY, as we wanted to prove.  3.1. Simplifying the invariance equation (10).We would like to remark that there is a certain freedom for the choice of Yand µ. Thus, given a vector field Y and a scalar function µsuch that [Y, X] = µY , then for a non-vanishing smooth scalar function fit turns out that [f Y, X] = µ−∇fTX f(f Y ). Using this freedom, it will be convenient to choose µto be constant. From (5) we know that the characteristic exponent for the periodic orbit is given by λ=ZT 0 µdt =µT. Then, it is natural to choose µ=λ/T , where λis the characteristic exponent of the periodic orbit γ. Hence, the invariance equation for the parameterization of the invariant manifold Mis given by (7), that we recall here 1 T∂θ+λσ T∂σK(θ, σ) = X◦K(θ, σ). From equation (7) it is clear that M:= Range(K) is an invariant manifold for the flow of X. Moreover, the motion generated by the vector field Xon M expressed in the variables (θ, σ) parameterizing M, is given by ˙ θ= 1/T,(16) ˙σ=λσ/T. That is, the variable θrotates at a constant speed 1/T and the variable σmoves exponentially. Hence, Φt(K(θ0, σ0)) = K(θ0+t/T, σ0eλt/T ), where Φtis the flow of the vector field X. Therefore the orbit of a point K(θ0, σ), for any σ∈Ω, approaches exponentially fast to the orbit of the point K(θ0,0), which corresponds to the point γ(θ0) on the limit cycle. Hence, {K(θ0, σ)|σ∈Ω} ⊂ Ws γ(θ0), that is, the point K(θ0, σ) is contained in the isochron of γ(θ0). Moreover Ws γ=Sθ∈[0,1) Ws γ(θ). Since, in this particular case the invariant stable manifold for the periodic orbit γis 2-dimensional in R2, the parameterization in terms of the phase variable θthat gives the position on the limit cycle and σ, which is a variable that moves along a COMPUTATION OF PRC AND PRS 9 transversal direction and corresponds to the integration time along the orbits of the vector field Y, is also a parameterization of the phase space R2in a neighborhood of the limit cycle. The expression of the vector field Xin the variables (θ, σ) can be considered as the normal form for a planar vector field around a limit cycle, reminiscent of the action-angle variables for conservative systems. 4. Computation of Phase Resetting Curves and Surfaces The parameterization Kand the vector field Yjointly with the characteristic exponent λallow us to compute the isochrons and the Phase Resetting Curves and Surfaces (PRS). 4.1. Computing the Isochrons. We already mentioned that the orbit of the points given by K(θ0, σ), for any σ∈Uapproach exponentially fast the orbit of the point K(θ0,0) = γ(θ0). Therefore a parameterization of the isochron of the point γ(θ0) is given by the analytic map K(θ0,·): U⊂R−→ R2 σ7−→ K(θ0, σ). 4.2. Computing the PRS. We already mentioned in Section 2.4 that from the mathematical point of view, the change of phase due to a pulse stimulation at a point p=K(θ, σ) in a neighborhood Ω of the limit cycle γis given by ∇ϑ(p) = ∂ϑ ∂x(p),∂ϑ ∂y (p). In order to compute ∇ϑ(p) we consider the following argument: on the one hand, the isochrons are given by the level sets of the function ϑ:R2→R, introduced in (3), which associates a phase to each point in a neighborhood of the limit cycle. On the other hand, they are the orbits of a vector field Ysatisfying (4). Hence, it is clear that ∇ϑ(p) has the same direction as Y⊥(p), which corresponds to the vector orthogonal to Yon pgiven by Y(p) = Y(K(θ, σ)) = ∂σK(θ, σ). We only need to add some normalization. Notice that for a trajectory φt(p), p∈Ω where φtis the flow of the vector field X, we have dϑ dt (φt(p)) = 1/T, therefore dϑ dt (φt(p)) = ∇ϑ(φt(p)) ·d dtφt(p) = ∇ϑ(φt(p)) ·X(φt(p)) = 1/T. Using this normalization we have that for any p∈Ω, the PRC is given by (17) ∇ϑ(p) = Y⊥(p) T < Y ⊥(p), X(p)>, where < , > denotes the dot product. The PRC is just the PRS restricted to the points on the limit cycle, that is σ= 0, then for p=K(θ, 0) ∈γ ∇ϑ(K(θ, 0)) = Y⊥(K(θ, 0)) T < Y ⊥(K(θ, 0)), X(K(θ, 0)) >, 16 ANTONI GUILLAMON AND GEMMA HUGUET 7.4. Globalizing the manifold. In theory, the method presented here gives a parameterization of the whole manifold. However, we have seen that, numerically, given an error bound (10−10 −10−12), we can compute the isochron only up to a value σ=σ0(θ) for each θ. A standard way to extend local approximations obtained semi-analytically is to globalize them using the dynamics given by the vector field (see [Sim90]). Typically, given a point γ(θ0) on the limit cycle, one could take npoints parameterized by (θ0, σ) with σ∈(σ0(θ0)eλ, σ0(θ0)), on the corresponding isochron and then perform iterates of the inverse time-Tmap Φ−Tfor these points, where here Φtdenotes the flow of X. However, in many cases (included models in neuroscience in which we are specially interested) this method has the disadvantage that we get too many points close to γ(θ0) and just a few far from it. Moreover, some of them may escape very fast far from the limit cycle. This last shortcoming can be avoided using that isochrons, even if they are not invariant, they are preserved by the flow, that is isochrons are carried into isochrons. Hence, we can consider inverse time-T∆θmaps Φ−T∆θas well as, taking ∆θ= 1/n, n∈N,nlocal invariant manifolds corresponding to γ(θ0+j∆θ), for j= 0,...,n−1. Then, to globalize the isochron corresponding to γ(θ0) we obtain points {p0,...,pm} on it from points on the local approximation of other isochrons parameterized by (θ0+km∆θ, σm), such that (33) pm= Φ−kmT∆θ(K(θ0+km∆θ, σm)) with km∈N. The method to decide which σmand kmwe choose to compute each pmin order to get points on the globalized isochron less sparse, is based on a method given in [Sim90] (see also [KO98] for another alternative). For the sake of completeness, we explain the details of the method adapted to our purpose. We want to extend the local isochron for a phase θ0. We are going to approximate it by a sequence of points {p0,...,pm}on the isochron for which we will assume that they are at a distance smaller than some tolerance ∆s, that is kpm−pm−1k<∆s, and the angle between three consecutive points is bigger than a certain tolerance ∆α, (pm−1−pm−2)·(pm−pm−1)≥cos(∆α)kpm−1−pm−2kkpm−pm−1k. Assume that we have computed up to pmsatisfying the previous conditions and we have a current value of σmand ∆σmsuch that σm=σm−1+∆σmand a certain iterate ksuch that Φ−kT ∆θ(K(θ0+k∆θ, σm)) = pm. We want to predict the new σm+1 and therefore ∆σm+1, such that Φ−kT ∆θ(K(θ0+k∆θ, σm+ ∆σm+1)) = pm+1, satisfying that it is at a distance smaller than ∆sfrom pm. Then, we consider ∆σm+1 = min ∆s ∆sm ,∆α ∆αm ,1.5∆σm0.8 where ∆smis the distance between pm−1and pmand ∆αmthe angle between ¯v=pm−1−pm−2and ¯w=pm−pm−1. The factor 0.8 can be seen as a security factor. COMPUTATION OF PRC AND PRS 17 If σm+1 =σm+∆σm+1 falls into the allowed range for σ, that is σm+1 < σ0(θk), where θk=θ0+k∆θ, which means that we are in the range where the local approximation of the isochron for θkis good, we integrate for Φ−kT ∆θand we obtain pm+1. In this case we define km+1 =kaccording to (33). Otherwise, we keep dividing both σm+1 and ∆σm+1 by eλ∆θltimes until σm+1 ≤ σ0(θk+l). We say then that km+1 =k+land we compute pm+1 from (33). Typically, l= 1 but it can be greater. We replace kby k+ 1. If despite our choice of ∆σmthe point pm+1 obtained fails to satisfy one of the conditions, we can either consider a smaller ∆σm+1 (taking into account that the ∆σ’s cannot be smaller than a certain value ∆min) or keep the computed point and use an interpolation method for this part. Remark 7.3. We can globalize the PRS in parallel with the isochrons: we approximate them locally according to (20) and we globalize them integrating the system (21) backwards together with the vector field. 7.5. Software. The algorithms have been implemented in C language and have been run under the Linux environment. They have been applied to compute isochronous sections and PRCs of limit cycles for planar vector fields which appear in models of neuroscience and neurobiology. The program performs the following steps: (1) Computation of the limit cycle and its period, the monodromy matrix and the characteristic exponent. (2) Computation of the Fourier-Taylor expansions of the isochrons (3) Computation of the domain of convergence and the local approximation for the isochrons and the PRS (4) Globalization of the isochrons and the PRS. The figures are obtained using gnuplot and Matlab. 8. Isochronous sections, (un)stable manifolds and foliations in Rn Although computing isochronous sections of limit cycles in Rn, for n≥3, is beyond the scope of this paper, we would like to highlight the main differences with the planar case. The effective computation in higher dimensions is a goal for future work. The theoretical extension to higher dimensions can be derived in a straightforward manner, though the practical implementation encompasses a plethora of new challenges. Here, we give the theoretical ideas and concepts, together with comments concerning practical issues. Definition 8.1. Let us consider a smooth system of differential equations ˙x=X(x), x ∈Ω,Ω∈Rn, n ≥2, with a hyperbolic limit cycle γ:R7→ Rn. An isochronous section of γis a hypersurface Σof Rn(dimension n−1) such that x∈Σ⇔ϕT(x)∈Σ where ϕt(x)is a solution of Xsuch that ϕ0(x) = x, and Tis the period of the limit cycle γ. To extend the theoretical results, it is convenient to refer to integrable systems (see [Olv93]): Definition 8.2. Let Y1,...,Yrbe vector fields on a smooth manifold M. An integral submanifold of {Y1,...,Yr}is a submanifold N⊂Mwhose tangent space T N|xis spanned by the vectors {Y1|x,...,Yr|x}for each x∈N. The system of vector fields {Y1,...,Yr}is integrable if through every point x0∈Mis contained in an integral submanifold. 18 ANTONI GUILLAMON AND GEMMA HUGUET Thus, having a neighborhood Ω ⊂Rnof γfilled by isochrons is equivalent to having an integrable system of vector fields {Y1,...,Yr}, with r=n−1 defined in this neighborhood. One way to obtain these vector fields Yjis to impose (see [FGG07]) that [Yj, X] = µjYj, for j= 1,...,n−1. However, as Frobenius theorem shows, this requirement is not sufficient: the n−1 vector fields have to be in involution. We recall both the definition of involution and Frobenius theorem (see also [Olv93]): Definition 8.3. A system of vector fields {Y1,...,Yr}on Mis in involution if there exist smooth real-valued functions hk ij(x),x∈M,i,j,k= 1,···, r, such that for each i, j = 1,··· , r, [Yi, Yj] = r X k=1 hk ij ·Yk. Theorem 8.4 (Frobenius).Let Y1,...,Yrbe smooth vector fields on M. Then, the system {Y1,...,Yr}is integrable if and only if it is in involution. Summing up, adapting Frobenius theorem to our problem, we have: Theorem 8.5. Let us consider a smooth system of differential equations ˙x=X(x), x ∈Ω,Ω∈Rn, n ≥2, with a hyperbolic limit cycle γ:R7→ Rn. Suppose that there exist n−1non-trivial vector fields Y1, . . . , Yn−1in involution such that [Yj, X] = µjYjj= 1,...,n−1 for scalar functions µj:R7→ Rn,j= 1,...,n−1. Then, the isochronous sections are the maximal integral submanifolds of the integrable system of vector fields {Y1,...,Yn−1}. The integral submanifolds themselves are referred to as leaves of the foliation of Ω. When n > 2, it may happen that a limit cycle has both stable and unstable manifolds. Let ns= dim Ws(γ) and nu= dim Wu(γ). Using the parameterization method or other computational techniques, we can obtain both Ws(γ) and Wu(γ) numerically. In other words, we would be computing the leaves of the partial foliations given by the systems {Y1,...,Yns}(resp., {Yns+1,...,Yns+nu}), where Rγµj<0 (resp., > 0) if j= 1,...,ns(resp., j=ns+ 1,...,ns+nu). However, this does not give the whole foliation of the neighborhood. A more suitable formulation to characterize the isochronous leaves can be obtained by using differential geometry notation. For the sake of simplicity, we only give a sketch of it and we restrict ourselves to R2though it can be extended to Rn. Consider a vector field X:= P(x, y)∂ ∂ x +Q(x, y)∂ ∂ y and its associated 1-form ωX:= −Q(x, y)dx+P(x, y)dy. We recall that iXαdenotes the contraction (interior product) of a k-form αwith respect to Xwhich gives a (k−1)-form. In particular, any vector field and its associated 1-form are related by iXdx ∧dy =ωX. It is known from classical tensor calculus (see formula 1.62 in [Olv93]) that (34) i[X,Y ]ω=X(iYω)−iY(X(ω)), for any k-form ω. If we use that [Y, X] = µ Y and choose ω=ωY, the left-hand side of (34) becomes i[Y,X](ωY) = iµ Y (ωY) = µ iY(ωY). COMPUTATION OF PRC AND PRS 19 Using now that iY(ωY) = 0, we can write (34) as iY(X(ωY)) = 0 or, equivalently, (35) X(ωY) = λ(x, y)ωY, for some function λ. Thus, the problem of finding isochrons is equivalent to finding a 1-form ωYand a function λsatisfying (35). The leaves of ωYwill then be the isochronous sections of the limit cycle. 9. Examples In this section, we apply our method to representative examples, ranging from the most simple instances of Hopf and SNIC (saddle-node on an invariant curve) bifurcations and the classical van der Pol oscillator to more sophisticated neuronal models. Apart from obtaining isochrons, PRCs and PRSs, through these examples we want to illustrate different facts: (a) what are the clues to explain the transition from “Type 1” PRCs to “Type 2” PRCs; (b) the numerical problems that arise when dealing with slow-fast systems; and, (c) up to which degree PRSs show disagreement with PRCs in the same phase and how this can affect high frequency stimulation. We end the paper with a discussion on these facts in Section 10. We start with a direct application to the simplest vector fields that exhibit either a Hopf or a SNIC bifurcation, for which we can compute their limit cycle and the corresponding normalizing vector field analytically and we can also get an analytic expression for the PRC. Example 9.1. We consider a simple example of a supercritical Hopf bifurcation (36) ˙x=βx −y−x(x2+y2), ˙y=x+βy −y(x2+y2), which writes, in polar coordinates, as (˙r=r(β−r2), ˙ θ= 1. For β= 0, there is a supercritical Hopf bifurcation giving rise, for β > 0, to a stable limit cycle γof radius √βand period 1. We parameterize γby θin the following way: γ(θ) = (pβcos(θ),pβsin(θ)). It is not difficult to see that the vector field Y(x, y) = (x, y)and the function µ(x, y) = −2(x2+y2)satisfy the condition (4). Hence, taking into account that Y⊥= (−y, x)and < Y ⊥, X >=x2+y2, by equation (18) the phase shift for a point p= (x, y)∈Ωis given by ∇ϑ(p) = −y x2+y2,x x2+y2. Then, using the parameterization of the limit cycle, the PRC is just ∇ϑ(γ(θ)) = 1 β(−pβsin(θ),pβcos(θ)). That is, PRC1(θ) = −sin(θ)/√β, and P RC2(θ) = cos(θ)/√β. Example 9.2. The easiest way to obtain a saddle node on an invariant cycle bifurcation bifurcation is through (37) (˙r=r(β−r2), ˙ φ=m−sin(φ), 20 ANTONI GUILLAMON AND GEMMA HUGUET which, in cartesian coordinates, writes as    ˙x=βx −my −x(x2+y2) + y2 √x2+y2, ˙y=m x +βy −y(x2+y2)−xy √x2+y2. We assume that β > 0and m > 1. Therefore, there exists a unique and stable circular limit cycle γof radius √βthat we parameterize by a phase θsatisfying ˙ θ= 1/T ,θ∈[0,1) in the following way γ(θ) = (pβcos(Ω(θ)),pβsin(Ω(θ))), where Ωis the phase transformation between θand φ, given by the solution of the Cauchy problem 1 T dΩ dθ =m−sin(Ω(θ)); Ω(0) = 0. The explicit solution can be obtained analytically, (38) Ω(θ) = 2 arctan msin(T 2√m2−1θ) √m2−1 cos(T 2√m2−1θ) + sin(T 2√m2−1θ)!. Again, as in Example 9.1, the vector field Y(x, y) = (x, y)and the function µ(x, y) = −2(x2+y2)satisfy condition (4). Hence, taking into account that Y⊥= (−y, x)and < Y ⊥, X >=m(x2+y2)−ypx2+y2, by equation (18) PRCs are given by ∇ϑ(γ(θ)) = 1 β(m−sin(Ω(θ)))(−pβsin(Ω(θ)),pβcos(Ω(θ))). That is, PRC1(θ) = −sin(Ω(θ)) √β(m−sin(Ω(θ)), see Fig. 1, and PRC2(θ) = cos(Ω(θ)) √β(m−sin(Ω(θ)) . –10 –8 –6 –4 –2 00.2 0.4 0.6 0.8 1 θ Figure 1. PRC1for system (37) with m= 1.1, β= 1. Phase has been scaled to [0,1]. Observe the slightly positive bump when θ∈(0.9,1) approx. 9.1. Numerical examples. We present here an application of our models to a set of examples we found relevant either to illustrate the properties or because they are representative of classical models: 1. The Van der Pol oscillator: (39) ˙x=−y+x−x3, ˙y=x. COMPUTATION OF PRC AND PRS 21 2. A reduced Hodgkin-Huxley-like system, with sodium and potassium currents, and only one gating variable: (40) (˙ V=−1 Cm(gNam∞(V)(V−VNa) + gKn(V−VK) + gL(V−VL)−Iapp), ˙n=n∞(V)−n, where Vrepresents the membrane potential, nis a gating variable, the open-state probability functions are m∞(V) = 1 1 + exp(−(V−Vmax,m)/km), n∞(V) = 1 1 + exp(−(V−Vmax,n)/kn), and the parameters are Cm= 1.,gNa = 20.,VNa = 60.,gK= 10.,VK= −90.,gL= 8.,vL=−80.,Vmax,m =−20.,km= 15.,Vmax,n =−25., kn= 5. 3. The Selkov model (see [Sel68]), initially a model for self-oscillations in glycolysis, which has also been extensively used in models for circadian rhythms (see for instance [DN94] and [PZG07]). It is given by (41) ˙x= 1 −x y, ˙y=a y (x−(1 + b)/(1 + b y)), where the parameters are a, b ∈R. 4. The Morris-Lecar model (see [ML81]), initially conceived as a model for a barnacle giant muscle fiber, but well-studied in the neuroscience literature (after [RE98]) as a paradigm for the different bifurcations that give rise to limit cycles. The model is given by: (42) (˙ V=1 C(I−gL(V−VL)−gKω(V−VK)−gCam∞(V)(V−VCa)) , ˙w=φw∞(V)−w τw(V), where m∞(V) = 1 2(1 + tanh((V−V1)/V2)), w∞(V) = 1 2(1 + tanh((V−V3)/V4)),and τw(V) = (cosh((V−V3)/(2V4)))−1, and the parameters are VL=−60, VK=−84, VCa = 120, V1=−1.2, V2= 18, V3= 2, V4= 30, gL= 2, gK= 8.0, gCa = 4.4, C= 20 and φ= 0.04. All these examples share common characteristics with slight differences that will be remarked at the end of this section. Let us start, then, with the common features. 9.1.1. Common features: methods, parameter values and figure labelling. In all the cases, we are interested in studying the dynamics close to a hyperbolic limit γ of period Tthat surrounds an unstable critical point p∗. The zero phase point on γis the point which has a maximum value of the first component (xor Vdepending on the example). As in previous sections, we call λthe characteristic exponent of γ(so, the characteristic multiplier is eλ). The computation of the periodic orbits has been performed using a Newton method with a tolerance of 1.0e−15. In the neighborhood of γ, we have performed a Taylor expansion as in (31) up to order L and we have considered NFourier modes for the Kn. With them we obtain residuals for the Knas defined in (29), which are of order |Kn|tail. The local approximation 22 ANTONI GUILLAMON AND GEMMA HUGUET that we get for the isochrons defined in (32) is computed with an error smaller than Eloc, while the globalization of the manifold has been performed following (33) and using a Taylor method with a tolerance of order 1.0e−16. In the globalization (see definitions after (33)), we require a distance of order ∆s= 1.0e−2 between two consecutive points on the isochron and we fix ∆min = 1.0e−8 and ∆α= 0.3. Values for each example of all the parameters defined in the last paragraph are given in Table 1. All the results will be given with 4 significant digits although all the computations have been performed with double precision. Model Figure T≈λ≈L=N=Etail ∈Eloc = 1 2 6.663 −7.059 15 28(10−20,10−15) 10−12 2, I=10 3 7.074 −27.66 5 211 (10−17,10−12) 10−8 2, I=165 4 1.630 −3.384 10 29(10−19,10−14) 10−10 3 5 6.344 −4.909 15 29(10−16,10−14) 10−11 4 6 99.27 −9.122 5 210 (10−20,10−13) 10−8 Table 1. Parameter values for the different models: T=period of the orbit γ;λ=characteristic exponent associated to γ; L=order of the Taylor expansion; N=number of Fourier modes; |Ktail n|=residuals for the Kn;Eloc=maximum error when computing local approximation of isochrons. For each model, we present a figure (Figs. 2 to 6) with different panels. In order to compact notation, we label each panel with a different symbol: (Kn), (Iso), (PRC), (PRS) and (PRθ). In panels (K), the computed Kn, for some values of n, are shown. The fact that the orbits do not approach γuniformly in θhas the effect that for certain values of θ, as ngoes to infinity, the value of Kngoes to zero faster than for other values, see the slow-fast item in Section 10 for a discussion on this question. In panels (Iso) we plot the isochrons corresponding to the phases j/Nφ, for j= 0,...,Nφ−1, with Nφ= 16, typically. We show the local approximation (green) computed semi-analytically using the parameterization method and the globalized isochron (red) using the dynamics given by the vector field. We restrict the computation to a rectangular domain Rcontaining the limit cycle. In panels (PRC) we plot the PRC1(green) and the PRC2(blue) for an infinitesimally small perturbation in the directions (1,0) and (0,1), respectively, with a certain amplitude specified in each figure caption, jointly with the x(or V) component (red line) of the oscillator (scaled for a better reference). Notice that the PRC1, corresponding to the horizontal pulses, is just the section with σ= 0 of PRSs that are given in panels (PRC). In panels (PRS), we plot the PRS1in the variables θand σ, but only for positive values of σ, avoiding negative values for the sake of clearness. The positive values of σcorrespond to the points (x, y) in the external part of the limit cycle (depending on the orientation of the limit cycle, the sign of σdefined by the parameterization method out of the limit cycle can be also negative; in these figures we change σ7→ −σfor the sake of homogeneity). Indeed, in these panels we plot the phase shift for the points (x, y) in the outer neighborhood of the limit cycle displayed in panels (Iso). Since we restrict to the rectangular domain Rin the variables (x, y) (because they are the “real” phase space variables), when plotting the PRS in the variables (θ, σ), we come across with a non-regular domain. On the top of COMPUTATION OF PRC AND PRS 23 that, sometimes the discretization of local isochrons (∆s) used to globalize other isochrons undergoes the limit ∆min and cannot longer extend the isochron. This is why some isochrons do not reach the border of the rectangular domain R. Like the isochrons, the PRS1s are computed locally using semi-analytical methods and extended by integrating the system (21), see Section 7.4. Thus, the mesh is not completely regular, so we have used cubic interpolation with splines in order to show it in an regular grid on the plane (θ, σ). Although the PRSs contain the maximum information about phase advancement, sometimes they are not easy to visualize. Accordingly, we have decided, in some cases, to show sections of the PRSs with fixed phases (that is, θ=θ∗and parameterized by σ). Using this view, we can easily illustrate the differences in phase advancement between different points on the same isochron. These panels are labelled as (PRθ). Before entering into the discussion, we go through the non-common features of each example. Remark 9.3. For the Hodgkin-Huxley-like model (40), we have studied the system in two regimes: Iapp = 10 (close to a SNIC bifurcation which occurs at Iapp ≈ 4.513) and Iapp = 165 (closer to a Hopf bifurcation which occurs at Iapp ≈213.8). Bifurcation values are obtained through XPPAUT, see [Erm02]. For the case Iapp = 10, which is the case close to SNIC, the system presents a slow-fast dynamics that will accentuate some of the problems that we already mentioned in the previous example. In this case, we computed the Taylor expansion up to order L= 5, because, as we can appreciate in Fig. 3, for some values of θ, as nincreases the Kntend to zero much faster. Moreover, since the functions Knpresent very sharp spikes we need to consider up to 210 = 1024 or 211 = 2048 Fourier modes to get good approximations, that is with residuals smaller than a certain error. This implies solving linear systems with large matrices that are not very stable. Notice that this limit cycle is “strongly” hyperbolic and the backwards integration can be somehow very unstable. The system presents a fixed point at (−26.83,0.4093), which is computed using a Newton method with a tolerance of 1.0e−13. Once can appreciate in Fig. 3 that the isochrons computed semi-analytically (green ones, hardly noticeable) are shorter than in the Hopf case (Fig. 4). In this case, in order to have a long enough local approximation for the isochrons we reduced the accuracy of the computation down to 1.0e−08. For the case Iapp = 165, which is close to the Hopf bifurcation, in Fig. 4 one can observe that the slow-fast phenomenon that we mentioned above is softened. The system presents a hyperbolic fixed point for at (−21.00,0.6899), which has been computed numerically with an error smaller than 1.0e−13. Remark 9.4. The Selkov model (41) presents an Andronov-Hopf bifurcation for a= (1+ b)/b. We have studied here the case a= 3,b= 1. The unstable fixed point, that can be easily computed analytically, is located at (1,1). In this example, we have decided to allow ∆max = 1.0e−12 because far from the limit cycle points escape. Remark 9.5. For the Morris-Lecar model (42), we have considered the case Iapp = 91, which presents similar issues as the 2D Hodgin-Huxley model close to a SNIC considered above. 24 ANTONI GUILLAMON AND GEMMA HUGUET The system has a fixed point at (−26.26,0.1320), which is computed using a Newton method with a tolerance of 1.0e−13. It is to be noticed that equation (42) presents a subcritical Hopf bifurcation at Iapp ≈93.86; the unstable limit cycle goes “back” in the parameter space up to Iapp ≈ 88.29, where it coalesces with a stable limit cycle in a bifurcation of a semistable limit cycle that disappears for lower Iapp’s. The stable limit cycle, which comes from another bifurcation for some Iapp ≫93.86, is the one that we study. It can be checked that the period of this stable orbit is notably above of that of the unstable orbit, born at the subcritical Hopf bifurcation; thus, one may expect a more slow-fast dynamics, more similar to a limit cycle close to a SNIC bifurcation than to a Hopf bifurcation. Some of the shortcomings of the Hodgkin-Huxley close to a SNIC are reproduced also here: it is necessary to solve linear systems with large matrices that are not very stable; the limit cycle is “strongly” hyperbolic and the backwards integration can be somehow very unstable; to have a long enough local approximations for the isochrons we need to reduce the accuracy of the computation. Another specific observation is that the isochrons spiral around the unstable limit cycle in the interior of the stable one. This is not surprising since the two limit cycles have different periods and so, they cannot share the system of isochrons. Next short example illustrates analytically this fact. Example 9.6. Consider the C1system in polar coordinates X:= (˙r=r a(r), ˙ θ=b(r). Suppose that a(rj) = 0,a′(rj)6= 0 and b(rj)6= 0, for j= 1,2, with r16=r2, both positive. It is straightforward to see that {r=r1}and {r=r2}are hyperbolic limit cycles of Xwith alternate stability. From [FGG07], we can deduce that, for each limit cycle, the vector field Yj:= (˙r=r, ˙ θ= (b(r)−b(rj))/(a(r)) satisfies [Yj, X] = µ Yj, with µ(r) = r a′(r). Let us take now Y1. It is clear that, in general, ˙ θis not defined on r=r2since a(r2) = 0. However, if b(r2) = b(r1)(both limit cycles have the same period!), then ˙ θmay be extended on r=r2and thus, {r=r2}may be contained in the domain Ωwhere the isochrons of {r=r1}are defined. This is the case, for instance, when the system is rigid ( ˙ θ=constant), for which the isochrons are straight lines from the origin. In the case that b(r2)6=b(r1)(different periods like the numerical example illustrated in Fig. 6), ˙ θin Y1is not bounded close to {r=r2}and, then, the isochrons of {r=r1}spiral around. 10. Discussion An integrated way to study the dynamics around a limit cycle. We want to emphasize on the completeness of the method presented in this paper. We provide a way to reconcile different concepts, from Lie symmetries to phase resetting curves and surfaces, through the implementation of the parameterization method. Although computing PRSs has been presented as our last goal, along the way we COMPUTATION OF PRC AND PRS 25 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Kn θ Kn K1 K5 K10 K15 -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 y x Iso global isochron local isochron limit cycle -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Kn θ PRC V PRC1 PRC2 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 -0.2 -0.15 -0.1 -0.05 0 0.05 0.1 0.15 0.2 PRS1(θ,σ) PRS θ σ PRS1(θ,σ) 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5 PRS σ PR θ θ=0.625 θ=0.672 θ=0.781 Figure 2. The van der Pol oscillator. In the panel PRC, we show PRC1and P RC2with amplitude 1 and xscaled by a factor 0.1. See Section 9.1.1 for a general explanation about the contents of each panel. In panel (PRθ), notice the diversity of phase advancements that can be obtained in the same isochron (three isochrons are shown: θ= 0.625,0.672,0.781). have related all the different concepts involved in the parameterization of a neighborhood of a periodic orbit in R2: choice of “canonical co-ordinates” inspired by the Lie symmetry, computation of isochrons, PRCs and, finally, PRSs. We have established, as well, a link between different parts of the scientific literature that are not usually connected: theoretical and numerical methods for invariant objects, qualitative theory of (mostly planar) ordinary differential equations and theoretical (neuro)biology. We have also taken care of the numerical aspects involved in the method, which are not trivial and show up relationships among geometry, dynamics and numerical schemes. Concerning to the practical part of the effective computation, the above examples have shed light upon different biological and numerical issues that we would like to remark next. From “Type 1” to “Type 2” PRCs. As we mentioned in the Introduction, from [Erm96], PRCs are classified between models with strictly positive or mainly positive PRC (“Type 1” or “Class 1”), and models whose PRC changes sign (“Type 2” or “Class 2”). The “rule of thumb” proposed by Ermentrout is that Type 1 PRC correspond to models in which oscillations appear via saddle-node