Open Access
Issue
A&A
Volume 687, July 2024
Article Number A100
Number of page(s) 17
Section Stellar structure and evolution
DOI https://doi.org/10.1051/0004-6361/202348681
Published online 01 July 2024

© The Authors 2024

Licence Creative CommonsOpen Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article is published in open access under the Subscribe to Open model. Subscribe to A&A to support open access publication.

1. Introduction

Space-born experiments, such as the Convection, Rotation and planetary Transits (CoRoT; Baglin et al. 2006), Kepler (Borucki et al. 2010; Gilliland et al. 2010), and the Transiting Exoplanet Survey Satellite (TESS; Ricker et al. 2015) have fuelled the field of stellar structure and evolution by providing exquisite data sets on stellar pulsations that are explored via asteroseismology (Aerts et al. 2010; Cunha et al. 2007; Cunha 2018). One of the promising methods employed to infer details of the internal structure and dynamics of stars is based on the study of glitch signatures, that is, the signatures left on the frequencies or periods of the oscillations by regions of sharp structural variations. Here ‘sharp’ means that the characteristic scale of the structural variation is comparable to or smaller than the local wavelength of the waves to be studied (see Cunha 2020, for a review).

The potential of studying signatures of acoustic glitches associated with the base of the convective envelope and the helium ionisation zone has been recognised since the early days of helioseismology (e.g. Hill & Rosenwald 1986; Thompson 1988; Gough & Thompson 1988; Vorontsov 1988; Gough et al. 1990). In this context, numerous theoretical and observational studies have been published focussing on the Sun (e.g. Basu et al. 1994; Monteiro et al. 1994; Roxburgh & Vorontsov 1994; Christensen-Dalsgaard et al. 1995; Basu 1997; Monteiro et al. 2000; Monteiro & Thompson 2005; Houdek & Gough 2007; Roxburgh 2009; Christensen-Dalsgaard et al. 2011) and on other solar-like pulsators, including main-sequence (e.g. Roxburgh & Vorontsov 2001; Ballot et al. 2004; Basu et al. 2004; Lebreton & Goupil 2012; Mazumdar et al. 2014; Verma et al. 2014, 2017, 2019; Farnir et al. 2019; Deal et al. 2023) and red-giant stars (Miglio et al. 2010; Broomhall et al. 2014; Corsaro et al. 2015; Dréau et al. 2020; Saunders et al. 2023).

The potential of using acoustic modes to extract information on sharp structural variations located in stellar cores has also been discussed in the literature (e.g. Audard & Provost 1994; Roxburgh & Vorontsov 1999, 2001; Mazumdar et al. 2006; Cunha & Metcalfe 2007; Cunha & Brandão 2011; Lindsay et al. 2023), although the realisation of this potential proved more challenging, particularly for deep glitches such as those associated with small convective cores. A more promising approach to detect the seismic impact of these core structural variations is to look for glitch signatures in the periods or frequencies of gravity (g) or mixed modes, when these are available. The seismic signatures of such buoyancy glitches and the mode trapping they induce have also received the attention of numerous works, including works focussing on white dwarfs (e.g. Winget et al. 1981, 1991; Brassard et al. 1992; Benvenuto et al. 2002; Córsico et al. 2002), intermediate and massive main-sequence stars (e.g. Miglio et al. 2008; Degroote et al. 2010; Kurtz et al. 2014; Van Reeth et al. 2015; Cunha et al. 2019; Mombarg et al. 2022), subdwarf O and B (sdO, sdB) stars (e.g. Charpinet et al. 2000, 2002; Rodríguez-López et al. 2010; Østensen et al. 2014; Baran et al. 2017; Ghasemi et al. 2017; Uzundag et al. 2017), and red-giant stars (e.g. Mosser et al. 2015; Cunha et al. 2015, 2019; Jiang et al. 2022; Vrard et al. 2022). Recently, the theoretical problem has been addressed in a more general angle by considering the eigenvalue condition built up from a series of resonant cavities (Pinçon & Takata 2022).

Different methodologies can be considered for extracting information contained in glitch signatures. A common approach is to produce a set of stellar models by varying particular aspects of the stellar physics in an attempt to reproduce the glitch signature. An alternative approach of greater relevance to the present work is to develop an analytical description of the glitch signature that enables the extraction of the glitch properties (e.g. location and amplitude) directly from fitting the data, without having to recur to specific stellar models. This ‘model-independent’ approach was considered in the context of main-sequence g-mode pulsators by Miglio et al. (2008) under the assumption that the impact of the glitch on the pulsation periods can be treated as a small perturbation (i.e. using a variational approach), which is often not the case. When the glitch impact on the pulsation periods is not small, perturbations to the pulsation periods may be derived instead by matching the wave solutions on each side of the glitch. This approach was used by Cunha et al. (2015, 2019) to derive analytical expressions for the period spacings of g-mode and mixed-mode pulsators in the presence of buoyancy glitches with different shapes, namely, Dirac-δ-like, step-like, and Gaussian-like glitches. Following the same approach, Hatta (2023) has recently considered, in addition, the impact on the period spacings of g-mode pulsators of a buoyancy glitch with a ramp-like shape.

Period spacings can only be computed when modes of consecutive radial order are observed. However, often not all radial orders in a sequence are detected (e.g. Østensen et al. 2014), while enough information is still available to estimate the asymptotic period spacing. In these cases, one would expect that fitting the observed periods directly would be a good alternative, regardless of them being consecutive or not. This also has the advantage of avoiding approximations introduced in the analytical analysis presented in earlier works when relating the perturbation in the periods to the perturbations in the period spacings (cf. Eq. (34) in Christensen-Dalsgaard 2012). With this in mind, in the present work we revisit the step-like and Gaussian-like cases to provide explicit analytical expressions for the period perturbations that can be used when not all modes in a sequence of radial orders are observed, but an estimate of the asymptotic period spacing is still available.

Matching the wave solutions on each side of the glitch is relatively straightforward when the glitch can be assumed to be infinitely thin, for example when it is adequately modelled by a Dirac-δ function or a step function. However, the derivation becomes less accurate when the glitch has a non-negligible width. Matching across the glitch in this case requires an analytical representation of the eigenfunction inside the glitch, which, in turn, cannot be derived asymptotically because the scale of variation of the background there becomes comparable to the scale of the wave. Therefore, in the present work, we also explain how we performed additional tests to the expression provided earlier for the Gaussian-like glitch (Cunha et al. 2019) to quantify the impact of the assumptions that underlined its derivation.

We start by providing a general analytical expression for the period perturbations of pure g modes in Sect. 2. We then consider the case of a step-like glitch (Sect. 3), testing the perturbation to the periods against model data and verifying that the perturbation to the periods in the limit of a small amplitude glitch is identical to that derived with recourse to the variational principle, as expected. Next, we address the case of the Gaussian-like glitch, discussing the limits of the proposed periods’ perturbation when the glitch approaches the Dirac δ case and the case of a small glitch, and setting the accuracy limits of the expression based on artificial data produced to this effect. In Sect. 5 we discuss other cases, including the case of a buoyancy glitch described by a ramp function and the case of buoyancy glitches in stars exhibiting mixed modes. Finally, in Sect. 6 we draw the main conclusions from our work.

2. Perturbation to the periods

Internal gravity waves propagate in regions that are convectively stable with a phase speed that depends directly on the buoyancy frequency N. Asymptotically, at low degree (l) and high radial orders (n) the periods of gravity eigenmodes (hereafter g modes) are expected to be equally spaced with a period spacing given by (Tassoul 1980)

Δ P as = 2 π 2 ω g , $$ \begin{aligned} \Delta P_{\rm as}= \frac{2\pi ^2}{\omega _{g}}, \end{aligned} $$(1)

where, ωg is the buoyancy extent of the g-mode cavity given by

ω g = r 1 r 2 LN r d r , $$ \begin{aligned} \omega _{g}=\int _{r_1}^{r_2}\frac{\mathrm{LN}}{r}\mathrm{d} r, \end{aligned} $$(2)

L = l ( l + 1 ) $ L=\sqrt{l(l+1)} $, r is the distance from the stellar centre, and r1 and r2 are the inner and outer turning points, respectively, of the g mode propagation cavity.

When a glitch is located inside the g-mode cavity, the phase of the wave is perturbed, which in turn perturbs the eigenvalue condition and shifts the periods from the constant spacing predicted asymptotically. Under the Cowling approximation and using the variable Ψ = ( r 3 / g ρ f ) 1 / 2 δ p $ \Psi=~(r^3/g\rho \tilde f) ^{1/2}\delta p $, where δp is the Lagrangian pressure perturbation, ρ is the density, g is the gravitational acceleration, and f $ \tilde f $ is a function of frequency and of the equilibrium structure (the f-mode discriminant defined by Eq. (35) of Gough 2007), the wave equation resulting from the linear, adiabatic pulsation equations, for the case of a spherically symmetric equilibrium can be written in the standard form as

Ψ + K 2 Ψ = 0 . $$ \begin{aligned} {\Psi ^{\prime \prime }}+K^2\Psi =0. \end{aligned} $$(3)

Here a prime represents a differentiation with respect to r and, given our interest in pure g modes, we shall approximate the radial wavenumber K by

K 2 L 2 r 2 ( 1 N 2 ω 2 ) , $$ \begin{aligned} K^2\approx -\frac{L^2}{r^2}\left(1-\frac{N^2}{\omega ^2}\right), \end{aligned} $$(4)

with ω being the angular frequency of the mode.

Starting from Eq. (3) and following the asymptotic analysis by Gough et al. (1993), Cunha et al. (2019) showed that the perturbed eigenvalue condition in the presence of a buoyancy glitch takes the form,

sin ( r 1 r 2 K d r + π 2 + Φ ) = 0 , $$ \begin{aligned} \sin \left(\int _{r_1}^{r_2}K\mathrm{d} r+\frac{\pi }{2}+\Phi \right) = 0, \end{aligned} $$(5)

where Φ is the frequency-dependent phase perturbation induced by the glitch.

From Eq. (5), it follows that,

r 1 r 2 K ( ω ) d r = π ( n 1 2 ) Φ ( ω ) , $$ \begin{aligned} \int _{r_1}^{r_2}K(\omega )\mathrm{d} r=\pi \left(n-\frac{1}{2}\right)-\Phi (\omega ), \end{aligned} $$(6)

where n is an integer.

To derive the perturbation to the oscillation periods, with regards to a reference model with a buoyancy frequency N0, we start by noticing that in the reference model the eigenvalue condition implies that,

r 1 r 2 K 0 ( ω 0 ) d r = π ( n 1 2 ) , $$ \begin{aligned} \int _{r_1}^{r_2}K_0(\omega _0)\mathrm{d} r = \pi \left(n-\frac{1}{2}\right), \end{aligned} $$(7)

where ω0 is the unperturbed eigenfrequency, and thus,

r 1 r 2 K ( ω ) d r = r 1 r 2 K 0 ( ω 0 ) d r Φ ( ω ) . $$ \begin{aligned} \int _{r_1}^{r_2}K(\omega )\mathrm{d} r= \int _{r_1}^{r_2}K_0(\omega _0)\mathrm{d} r -\Phi \left(\omega \right). \end{aligned} $$(8)

Except near the turning points, K ≈ LN/rω and K0 ≈ LN0/rω0. Therefore one can write r 1 r 2 K (ω)dr=( r 1 r 2 LN /rωdr+α $ \int_{r_1}^{r_2}K(\omega){\rm d} r=(\int_{r_1}^{r_2}{\rm LN}/r\omega {\rm d} r+\alpha $) and r 1 r 2 K 0 ( ω 0 )dr=( r 1 r 2 L N 0 /r ω 0 dr+α $ \int_{r_1}^{r_2}K_0(\omega_0){\rm d} r=(\int_{r_1}^{r_2}LN_0/r\omega_0 {\rm d} r+\alpha $) where α = δ + δ $ \alpha=\delta+\tilde\delta $ is a phase that incorporates the effect of the approximation of the radial wavenumber near both turning points (δ and δ $ \tilde\delta $ being the contributions from the outer and inner turning points, respectively). Notice that we have taken the turning points and α to be the same in the perturbed and unperturbed models. This is justified by the fact that the buoyancy frequency is unperturbed near the turning points (or else, the perturbation would not be a glitch, because there the wavenumber tends to zero and the glitch condition would not be satisfied). Thus, the turning points and α in the perturbed and unperturbed cases may differ only due to the change in the eigenfrequency, which in all cases considered is small (in relative terms), even when the local perturbations to N inside the g-mode cavity are not.

Written in terms of the periods P = 2π/ω, it then follows from Eq. (8) that the perturbation to the periods with regards to the reference model is,

P = P 0 P 0 ( r 1 r 2 δ N d r r ) ( r 1 r 2 N d r r ) 1 ( r 1 r 2 LN 2 π d r r ) 1 Φ , $$ \begin{aligned} P=P_0-P_0\left(\int _{r_1}^{r_2}\delta N \frac{\mathrm{d} r}{r}\right)\left(\int _{r_1}^{r_2}N\frac{\mathrm{d} r}{r}\right)^{-1}-\left(\int _{r_1}^{r_2}\frac{LN}{2\pi }\frac{\mathrm{d} r}{r}\right)^{-1}\Phi , \end{aligned} $$(9)

where we introduced the perturbation to the buoyancy frequency with respect to a reference model, defined by δN = N − N0. Notice that this perturbation depends on the choice of reference model, which can take different forms. An example of such a reference model is given in Appendix A for the case of a step-like glitch.

From Eq. (9) one can identify two contributions to the perturbed period δP = P − P0: a smooth contribution expressed by the second term on the right hand side (rhs) of the equation, related to the change in the total integral of the buoyancy frequency within the g-mode cavity, and the contribution from the glitch-induced phase Φ.

Equation (9) can also be written in terms of the asymptotic period spacing, ΔPas, namely,

P = P 0 P 0 Δ P as π ( r 1 r 2 L δ N 2 π d r r ) Δ P as π Φ P s Δ P as π Φ , $$ \begin{aligned} P=P_0-P_0\frac{\Delta P_{\rm as}}{\pi }\left(\int _{r_1}^{r_2}\frac{L\delta N}{2\pi } \frac{\mathrm{d} r}{r}\right)-\frac{\Delta P_{\rm as}}{\pi }\Phi \equiv P_{\rm s}-\frac{\Delta P_{\rm as}}{\pi }\Phi , \end{aligned} $$(10)

where we have introduced Ps (on the rightmost side of the expression) representing the unperturbed periods (i.e. without the glitch effect) of a hypothetical model in which the integral of N/r within the g-mode cavity is the same as in the glitch model. Asymptotically, we can write Ps = Ps, min + kΔPas, for a series of natural numbers k, where Ps, min is the first of a series of equally spaced unperturbed periods. Rewriting Eq. (10), we then have,

P = P s , min + Δ P as ( k Φ π ) . $$ \begin{aligned} P= P_{\rm s,min}+\Delta P_{\rm as}\left(k-\frac{\Phi }{\pi }\right). \end{aligned} $$(11)

Therefore, Φ/π is directly related to the deviation of the periods from the exact asymptotic spacing and its impact is seen as a modulation in a period échelle diagram.

As the reference model is not a priori univocally defined, we shall consider the period perturbations with respect to Ps (δPs = P − Ps), rather than the δP defined above, unless otherwise stated. It is worth noting that when the asymptotic period spacing is the same in the glitch model and in the chosen reference model, Ps and P0 are also the same.

Finally, as the asymptotic period spacing depends on the mode degree, to fit modes of different degree simultaneously it is useful to rewrite the expression above in terms of the l-independent reduced period spacing ΔΠ = LΔPas. Defining the reduced period Π = LP one then finds that

Π = Π 0 Π 0 Δ Π as π ( r 1 r 2 δ N 2 π d r r ) Δ Π as π Φ Π s Δ Π as π Φ , $$ \begin{aligned} \Pi =\Pi _0-\Pi _0\frac{\Delta \Pi _{\rm as}}{\pi }\left(\int _{r_1}^{r_2}\frac{\delta N}{2\pi } \frac{\mathrm{d} r}{r}\right)-\frac{\Delta \Pi _{\rm as}}{\pi }\Phi \equiv \Pi _{\rm s}-\frac{\Delta \Pi _{\rm as}}{\pi }\Phi , \end{aligned} $$(12)

with Πs = LPs.

In what follows we shall consider the explicit form taken by the glitch phase, Φ, for different representations of the glitch. To that end, we define the buoyancy radius

ω g r = r 1 r LN r d r $$ \begin{aligned} \tilde{\omega }_{\rm g}^r=\int _{r_1}^{r}\frac{LN}{r}\mathrm{d} r \end{aligned} $$(13)

and the buoyancy depth

ω g r = r r 2 LN r d r , $$ \begin{aligned} \omega _{\rm g}^r=\int _{r}^{{r}_2}\frac{LN}{r}\mathrm{d} r, \end{aligned} $$(14)

and note that both these quantities are defined in terms of the buoyancy frequency N in the star or model under consideration and not in terms of the buoyancy frequency N0 of the reference model. This is of particular relevance in the case of finite-width glitches, such as a glitch represented by a Gaussian function. The location of glitches in the inner half of the g-mode cavity (i.e. for which ω g r / ω g < 0.5 $ \tilde\omega_{\mathrm{g}}^r/\omega_{\mathrm{g}} < 0.5 $) shall be expressed in terms of the buoyancy radius while the location of glitches in the outer half of the g-mode cavity shall be expressed in terms of the buoyancy depth.

3. Step-like glitch

Cunha et al. (2019) considered the case of a decreasing step-like glitch in the inner half of the g-mode cavity, defined by

N = { N in for r < r N out for r > r , $$ \begin{aligned} N=\left\{ \begin{array}{lll} N_{\rm in}&\mathrm{for}&r < r^\star \\ N_{\rm out}&\mathrm{for}&r > r^\star \\ \end{array} \right. , \end{aligned} $$(15)

with Nin > Nout, thus with N varying by the positive amount ΔN= N in | r r N out | r r + $ \Delta N= \left. N_{\rm in}\right|_{ r\rightarrow r^\star_-}-\left. N_{\rm out}\right|_ {r\rightarrow r^\star_+} $ at r = r (not to be confused with the perturbation with respect to the reference model, δN). According to the authors (and keeping their notation), the glitch-induced phase for this case is given by,

Φ st = arccot [ 2 A st sin ( 2 β 2 ) cot β 2 ] , $$ \begin{aligned} \Phi _{\rm st}=\mathrm{arccot}\left[-\frac{2}{A_{\rm st}\sin \left(2\tilde{\beta }_2\right)}-\cot \tilde{\beta }_2\right], \end{aligned} $$(16)

where the subscript “st” is used to indicate a step-like glitch. Here, β 2 = r 1 r K d r + π / 4 ω g 2 π P + π / 4 + δ $ \tilde\beta_2=\int_{r_1}^{r^\star}K\mathrm{d} r +\pi/4 \approx \frac{\tilde\omega_{\mathrm{g}}^\star}{2\pi} P+\pi/4+\tilde\delta $, and the superscript indicates that the corresponding quantity is evaluated at r = r. The glitch is thus characterised by the relative step amplitude Ast = [Nin/Nout]r − 1, and the buoyancy radius ω g $ \tilde\omega_{\mathrm{g}}^\star $ at the glitch location, with the expression including an additional fudge parameter δ $ \tilde\delta $ accounting for the approximation of the integral made near the inner turning point. While Cunha et al. (2019) considered a model with a decreasing step-like glitch, the authors did not make any assumption about the sign of ΔN when deriving Eq. (16). Therefore, this equation is also valid for an increasing step-like glitch for which ΔN < 0.

It should be noted that the expression for Φst is degenerate with respect to the transformation A st A ̂ st $ A_{\mathrm{st}}\rightarrow \hat A_{\mathrm{st}} $ and δ δ π / 2 $ \tilde\delta \rightarrow \tilde\delta-\pi/2 $, where A ̂ st = [ N out / N in ] r 1 $ \hat A_{\mathrm{st}}=[N_{\mathrm{out}}/N_{\mathrm{in}}]_{r^\star}-1 $. Given that Ast and A ̂ st $ \hat A_{\mathrm{st}} $ have opposite signs and are not identical in absolute value, care must be exerted in the interpretation of the retrieved amplitude. In the case of a decreasing step-like glitch with a fixed jump in N at the discontinuity, the positive amplitude retrieved from the fitting will be larger than the absolute value of the negative solution. This is because the former should be interpreted as Ast and the latter should be interpreted as A ̂ st $ \hat A_{\mathrm{st}} $ (the actual jump being the same, but expressed differently). The situation is reversed for an increasing step-like glitch. This difficulty can be avoided by setting a prior to the amplitude when fitting the data. By imposing that the amplitude must be positive the retrieved value is always interpreted as A st ± = [ N + / N ] r 1 $ A_{\mathrm{st}}^{\pm}=[N_{\mathrm{+}}/N_{\mathrm{-}}]_{r^\star}-1 $, where the subscripts + and − indicate the largest and the smallest of the two values of N at the discontinuity.

Finally, while the expression above was derived for a glitch located in the inner half of the g-mode cavity, by symmetry of the mathematical problem considered, it is clear that the case of a decreasing step-like glitch in the inner cavity corresponds to the case of an increasing step-like glitch in the outer cavity, and the case of an increasing step-like glitch in the inner cavity corresponds to the case of a decreasing step-like glitch in the outer cavity. Thus, to infer the properties of a glitch in the outer g-mode cavity one can also use expression (16), making the correspondence β 2 β 2 $ \tilde\beta_2 \rightarrow\beta_2 $, where β 2 = r r 2 K d r + π / 4 ω g 2 π P + π / 4 + δ $ \beta_2=\int_{r^\star}^{r_2}K\mathrm{d} r +\pi/4\approx \frac{\omega_{\mathrm{g}}^\star}{2\pi} P+\pi/4+\delta $.

Notice, however, that the phases δ $ \tilde\delta $ and δ depend on the details of K near the inner and outer turning points, respectively, and are not necessarily the same. Hence, despite the symmetry of the expression, the signatures of glitches located at equal values of ω g $ \omega_{\rm g}^\star $ and ω g $ \tilde\omega_{\mathrm{g}}^\star $ may differ.

3.1. Test on model data

Massive stars have convective cores that retreat as they evolve in the main sequence. The retreating core leaves behind a gradient in the hydrogen abundance that changes abruptly at the radius where the mixing region was once at its maximum. This abrupt change in the gradient of hydrogen abundance leads to a step-like discontinuity in the buoyancy frequency that is located inside the g-mode cavity, hence ideal to test our formulation (see, e.g. Fig. 1, left panels, of Cunha et al. 2019, for the chemical and buoyancy profiles in a massive star). To test the expression for the periods in the presence of a step-like glitch we, thus, fit Eq. (10) expressed in terms of the unperturbed periods Ps, to the periods computed for a model of a main-sequence, 6 M star. In order to compare with the results obtained by Cunha et al. (2019), we use the model and adiabatic pulsation periods computed in their work using the Aarhus STellar Evolution Code (ASTEC, Christensen-Dalsgaard 2008b) and the Aarhus adiabatic oscillation package (ADIPLS, Christensen-Dalsgaard 2008a), respectively.

The model data were fitted through a Markov Chain Monte Carlo method (MCMC) using the emcee python package, where the likelihood was assumed to be Gaussian, as stated in expression (17), where σ represents the jitter parameter.

L = ( 1 2 π σ 2 ) N exp [ 1 2 i N ( P i P A D I P L S , i σ ) 2 ] . $$ \begin{aligned} \mathcal{L} = \left(\frac{1}{\sqrt{2\pi \sigma ^2}}\right)^N \exp \left[-\frac{1}{2}\sum _i^N\left(\frac{P_i-P_{\mathrm{\small ADIPLS}, i}}{\sigma }\right)^2\right]. \end{aligned} $$(17)

As in previous works, we do not perturb the pulsation periods prior to performing the fit. Instead, we use the model periods as given and take σ as a free parameter. Hence, the adequacy of the fit is reflected in the ratio of the inferred value of σ, to a characteristic value of the periods.

Prior to the MCMC, the likelihood was maximised using a Nelder-Mead minimiser method on −log(ℒ). The resulting parameter space position was used to set the MCMC walkers’ initial position, adding to each a small (around 0.01% of each parameter’s value) random dislocation, allowing a better exploration of the parameter space near this region.

The construction of the fitted periods through Eq. (10) involves the resolution of a transcendental equation in the periods. This was achieved using the bisection method, iteratively for each period, with a margin of 10−8. The codomain of the arc-cotangent in Eq. (16) must be carefully selected in order to avoid discontinuities. For step function glitches the argument passes from +∞ to −∞, so the codomain was chosen to be [ − π/2, π/2]. With the discontinuities avoided all together, the determination of each period comes from finding the root of a monotonous function, which is doable by setting the search region as [Pi − 1, Pi − 1 + 2ΔPas]. The free parameters determined from the fit are Ps, min, corresponding to the first of the periods Ps, the asymptotic period spacing ΔPas, the jitter σ and the glitch parameters, namely, the amplitude Ast, position ω g $ \tilde\omega_g^\star $ and phase δ $ \tilde\delta $.

We generated Markov Chains with 50 walkers and 9000 iterations, with a burn-in of 1000 iterations. From these we extracted the maximum probability parameters as well as the probability distribution median parameters and their respective 68% confidence interval. The priors on the parameters were uniform within the intervals provided in Table B.1 and the respective marginalised distributions for the parameters are shown in Fig. B.1.

Figure 1, left panel, shows the periods of the ASTEC main-sequence model in the form of an échelle diagram, where the model periods (red symbols) are plotted against the residuals defined as follows:

res = ( P P s , min ) mod Δ P as ; if res > Δ P as / 2 then res = res Δ P as . $$ \begin{aligned}&\mathrm{res}=\left(P-P_{\rm s,min}\right)\mod \Delta P_{\rm as};\nonumber \\&\mathrm{if} \mathrm{res} > \Delta P_{\rm as}/2 \mathrm{then} \mathrm{res}=\mathrm{res}-\Delta P_{\rm as} . \end{aligned} $$(18)

thumbnail Fig. 1.

Period échelle diagrams representing the pulsations in the ASTEC models (red asteriscs) and the respective best fits derived from Eq. (10) (black lines). Left panel: main-sequence model and glitch phase given in Eq. (16). Right panel: RGB model and glitch phase given in Eq. (22). The vertical dashed-dotted black line marks res = 0.

The period perturbations δ P s = Δ P as π Φ st $ \delta P_{\mathrm{s}} = -\frac{\Delta P_{\mathrm{as}}}{\pi}\Phi_{\mathrm{st}} $ derived from fitting Eq. (10) to the model periods, with the glitch phase defined by Eq. (16), are also shown (black line). The parameters inferred from the fit are given in Table 1. Comparison with the results found by Cunha et al. (2019) from fitting the periods spacings shows agreement within 1-σ on the inferred glitch amplitude, glitch position, and period spacings. The phases also show a reasonable agreement (∼ 1.5-σ).

Table 1.

Parameters derived from the fit of the analytical expression for the step-like glitch (Eqs. (10) and (16)) to the periods derived from ADIPLS for the main-sequence model.

3.2. Limit of small glitch

In the case of a step-like glitch with amplitude much smaller than 1, the expression for the periods becomes,

P = P 0 P 0 Δ P as π ( r 1 r 2 L δ N 2 π d r r ) + Δ P as 2 π A st sin ( 2 β 2 ) , $$ \begin{aligned} P=P_0-P_0\frac{\Delta P_{\rm as}}{\pi }\left(\int _{r_1}^{r_2}\frac{L\delta N}{2\pi } \frac{\mathrm{d} r}{r}\right)+\frac{\Delta P_{\rm as}}{2\pi }A_{\rm st}\sin \left(2\tilde{\beta }_2\right), \end{aligned} $$(19)

In this small glitch limit Ast = [Nin/Nout]r − 1 ≈ −([Nout/Nin]r−1) ≈ [ΔN/N0]r.

Under these conditions, the expression for the period perturbation can also be derived by making use of the variational principle (e.g. Gough et al. 1993). The derivation is presented in Appendix A1, where our choice of reference model was made such that the smooth contribution to the period perturbation (second term on the rhs of Eq. (19)) varies with (δN/N)2, becoming negligible for small enough perturbations. Comparison of Eqs. (A.12) and (19), confirms that the two derivations provide the same result in this limit, as expected.

4. Gaussian-like glitch

In the case of the Gaussian-like glitch, Cunha et al. (2019) modelled the glitch in N, taking

Δ N N 0 A G 2 π Δ g exp ( ( ω g r ω g ) 2 2 Δ g 2 ) . $$ \begin{aligned} \frac{\Delta N}{N_0}\approx \frac{A_{\rm G}}{\sqrt{2\pi }\Delta _{\rm g}}\exp {\left(-\frac{(\omega _{\rm g}^r-\omega _{\rm g}^{\star })^2}{2\Delta _{\rm g}^2}\right)}. \end{aligned} $$(20)

Given the inherent difficulty in modelling the eigenfunction through the perturbation (cf. discussion in Sect. 1), it is important to recall that the analysis was performed under the rough assumption that inside the glitch the eigenfunction has the form

Ψ K 0 1 / 2 sin ( K d r + π 4 ) , $$ \begin{aligned} \Psi \propto K_0^{-1/2}\sin \left(\int K\mathrm{d} r+\frac{\pi }{4}\right), \end{aligned} $$(21)

and that an ad hoc adjustment was made to the exponential function defining the decay of the glitch signature, so as to recover the decay found when using the variational principle to treat the small glitch limit. The glitch-induced phase proposed by the authors under the above conditions is given by

Φ G = arccot [ 1 A G f ω Δ g sin 2 β 2 cot β 2 ] , $$ \begin{aligned} \Phi _{\rm G}=\mathrm{arccot}\left[\frac{1}{A_{\rm G}{ f}_{\omega }^{\Delta _{\rm g}}\sin ^2\beta _2}-\cot \beta _2\right], \end{aligned} $$(22)

where, f ω Δ g = ω 1 exp(2 Δ g 2 ω 2 ) $ f_{\omega}^{\Delta_{\rm g}}=\omega^{-1}{\exp}(-2\Delta_g^2\omega^{-2}) $.

4.1. Tests on model data

To test the expression for the periods in the presence of a Gaussian-like glitch and compare with the fits to the period spacings performed by Cunha et al. (2019), we follow again their example and fit Eq. (10) to the pure g-mode periods computed by the authors for a 1 M red giant branch (RGB) model. The model was computed with the evolution code ASTEC (Christensen-Dalsgaard 2008b) and the pure g-mode pulsations were computed by artificially disregarding the p-mode cavity with the ASTER code (see Cunha et al. 2015, 2019, for details). Here, the glitch (illustrated in their Fig. 1, right panel) results from the strong chemical gradient that is built at the first dredged-up and that crosses the g-mode cavity during the luminosity bump.

The same procedure as the one described in Sect. 3.1 was used. For a Gaussian-like glitch there is an additional free parameter, as we must fit as well the width Δg. The argument of the arc-cotangent for Gaussian glitches crosses 0, instead of jumping from +∞ to −∞. Thus the codomain was chosen to be [0,π] to avoid a discontinuity in this region.

The stellar model used to test the Gaussian-like glitch signature has a denser period spectra than the main-sequence model used to test the step-like glitch signature. As a consequence, the data set to be fitted was larger in the Gaussian-like glitch case and not as many iterations were needed. We ran the MCMC for 4000 iterations with a burn-in of 1000, since the distributions took longer to converge to their stationary state. As before, 50 walkers were used to explore the parameter space. The priors on the parameters were uniform within the intervals provided in Table B.1 and the respective marginalised distributions for the parameters are shown in Fig. B.2.

The right panel of Fig. 1 shows the pure g-mode periods of the ASTEC RGB model in the form of and échelle diagram, where the model periods (red symbols) are plotted against the residuals computed as in Sect. 3.1. The period perturbations derived from the fit of Eqs. (10) and (22) to the model periods are also shown (black line). Unlike in the case of the step-like glitch, here the perturbation is generally negative (in the case of the fit it is always negative and in the case of the model data it takes small positive values with a maximum of ∼3 × 10−5 h only at very few points). The reason is that ΦG includes a smooth, frequency-dependent component (more easily identified in the expression for the small glitch limit given in Eq. (28)) that contributes negatively to the period perturbation δPs.

The parameters inferred from the fit are given in Table 2. Comparison with the results found by Cunha et al. (2019) from fitting the period spacings shows agreement within 1-σ on the inferred glitch amplitude, glitch width, and period spacings. The phases and glitch positions also show a reasonable agreement (∼ 2-σ). Nevertheless, in this case a large difference is seen when comparing the glitch properties inferred from the fittings of the analytical expression and from the model buoyancy frequency (with the amplitude from the fit being more than 1.5 times larger than that derived from the buoyancy frequency). This discrepancy, also found by Cunha et al. (2019) when fitting the period spacings, will be discussed further in Sect. 4.4.

Table 2.

Parameters derived from the fit of the analytical expression for the Gaussian-like glitch (Eqs. (10) and (22)) to the period spacing derived from ASTER for the RGB model.

4.2. Dirac δ limit

To verify that the phase for the Gaussian-like glitch reproduces the expected form in the limit of a Dirac δ, we consider Eq. (22) in that limit and compare with the phase derived by Cunha et al. (2015). Recalling that

lim Δ g 0 + 1 2 π Δ g exp ( ( ω g r ω g ) 2 2 Δ g 2 ) = δ ( ω g r ω g ) , $$ \begin{aligned} \lim _{\Delta _g\rightarrow 0^+}\frac{1}{\sqrt{2\pi }\Delta _{\rm g}}\exp {\left(-\frac{(\omega _{\rm g}^r-\omega _{\rm g}^{\star })^2}{2\Delta _{\rm g}^2}\right)} = \delta (\omega _{\rm g}^r-\omega _{\rm g}^{\star }), \end{aligned} $$(23)

we find that the glitch-induced phase tends to

Φ G , lim = arccot [ 1 A G ω 1 sin 2 β 2 cot β 2 ] , $$ \begin{aligned} \Phi _{\rm G,lim}=\mathrm{arccot}\left[\frac{1}{A_{\rm G}\omega ^{-1}\sin ^2\beta _2}-\cot \beta _2\right], \end{aligned} $$(24)

in the limit when the glitch tends to a Dirac δ in the variable ω g r $ \omega_{\rm g}^r $.

In Cunha et al. (2015), the authors defined the glitch in N2(r) as,

Δ N 2 N 0 2 A δ ( r r ) . $$ \begin{aligned} \frac{\Delta N^2}{N_0^2}\approx A\delta (r-r^\star ). \end{aligned} $$(25)

By integrating the wave Eq. (3) once across the glitch, the authors found the discontinuity in the radial derivative of the eigenfunction to be given by (see their Eq. (11))

[ Ψ out Ψ in ] r = lim Δ r 0 r Δ r r + Δ r Δ K 2 Ψ d r = lim Δ r 0 r Δ r r + Δ r K 0 2 A δ ( r r ) Ψ d r . $$ \begin{aligned} \left[\Psi _{\rm out}^\prime -\Psi _{\rm in}^\prime \right]_{r^\star }&=-\lim _{\Delta r\rightarrow 0}\int _{r^\star -\Delta r}^{r^\star +\Delta r}\Delta K ^2\Psi \mathrm{d} r \nonumber \\&=-\lim _{\Delta r\rightarrow 0}\int _{r^\star -\Delta r}^{r^\star +\Delta r}K_0 ^2A\delta \left(r-r^\star \right)\Psi \mathrm{d} r. \end{aligned} $$(26)

Considering the same discontinuity in the case of the Gaussian-like glitch (Cunha et al. 2019, see their Appendix A1) and taking the Dirac δ limit, one has, in terms of the variable ω g r $ \omega_g^r $,

[ Ψ out Ψ in ] r = lim Δ ω g r 0 ω g Δ ω g r ω g + Δ ω g r ω 1 Δ K Ψ d ω g r = lim Δ ω g r 0 ω g Δ ω g r ω g + Δ ω g r ω 1 K 0 A G δ ( ω g r ω g r ) Ψ d ω g r , $$ \begin{aligned} \left[\Psi _{\rm out}^\prime -\Psi _{\rm in}^\prime \right]_{r^\star }&= -\lim _{\Delta \omega _g^r\rightarrow 0}\int _{\omega _g^\star -\Delta \omega _g^r}^{\omega _g^\star +\Delta \omega _g^r}{\omega }^{-1}\Delta K \Psi {\mathrm{d}\omega _g^r} \nonumber \\&=-\lim _{\Delta \omega _g^r\rightarrow 0}\int _{\omega _g^\star -\Delta \omega _g^r}^{\omega _g^\star +\Delta \omega _g^r}{\omega }^{-1}K_0 A_G\delta (\omega _g^r-\omega _g^{r^\star })\Psi \mathrm{d}\omega _g^r, \end{aligned} $$(27)

where we have used Eq. (23) to convert from the Gaussian perturbation to the corresponding Dirac δ limit. We thus find A G =(L N 0 / r ) $ A_G=(LN_0^\star/r^\star) $ in the Dirac δ limit. Substituting in Eq. (24), we confirm that the Gaussian glitch-induced phase is the same as that derived by Cunha et al. (2015) (cf. their Eq. (16)) in the Dirac δ limit.

4.3. Limit of small glitch

When ΔN/N0 ≪ 1 everywhere, AG/ω ≪ 1 (since Δg < ∼ω for a glitch to exist). In that case,

Φ G arctan [ A G f ω Δ g sin 2 β 2 ] 1 2 A G f ω Δ g [ 1 cos ( 2 β 2 ) ] , $$ \begin{aligned} \Phi _{\rm G}\sim \arctan \left[{A_{\rm G}{ f}_{\omega }^{\Delta _{\rm g}}\sin ^2\beta _2}\right]\sim \frac{1}{2}A_{\rm G}{ f}_{\omega }^{\Delta _{\rm g}}\left[1-\cos \left(2\beta _2\right)\right], \end{aligned} $$(28)

Defining the reference model as that with an otherwise equal buoyancy frequency, without the Gaussian perturbation, we have that δN/N0 = ΔN/N0. Accordingly, the period perturbations are derived from Eq. (10) to be,

P = P 0 P 0 Δ P as 2 π 2 A G Δ P as 2 π A G f ω Δ g [ 1 cos ( 2 β 2 ) ] . $$ \begin{aligned} P=P_0-P_0\frac{\Delta P_{\rm as}}{2\pi ^2}{A_G}-\frac{\Delta P_{\rm as}}{2\pi }{A_{G}}{ f}_\omega ^{\Delta _g}\left[1-\cos \left(2\beta _2\right)\right]. \end{aligned} $$(29)

Under this limit of a small perturbation to the buoyancy frequency, the perturbation to the periods induced by a Gaussian-like glitch can be derived with recourse to the variational principle. The derivation is presented in Appendix A with the period perturbations given by Eq. (A.14). Comparison with Eq. (29) shows that the sinusoidal part of the glitch-induced period perturbation is a factor of two smaller in the case derived by matching the eigenfunctions through the approach followed by Cunha et al. (2019). Moreover, the smooth component resulting from this derivation has also an additional term compared to the variational approach, which is generally not negligible. In practice, the difference in the smooth component will have no impact when inferring the glitch properties by fitting the periods or period spacings (at most, it will introduce small differences in the inferred unperturbed periods that are of no physical interest since they refer to a hypothetical unperturbed model). However, the factor of two in the sinusoidal component will be translated into a factor of two in the inferred amplitude of the glitch, which will be two times larger when fitting the expression derived through the approach followed by Cunha et al. (2019), compared with fitting with the expression derived from the variational principle. Changing ΦG such that the perturbation to the periods satisfies that derived through the variational principle in the limit of a small glitch is not an option because we verified that the expression for ΦG satisfies the correct limit when the glitch approaches a Dirac δ and the inherent difficulty of fitting the eigenfunctions at the perturbation disappears (Sect. 4.2). Instead, in Sect. 4.4 we explore the accuracy of the analytical expression for ΦG in intermediate cases, simulating glitches of different amplitudes and widths, and estimating the error incurred on the inferred glitch parameters.

4.4. Tests to the accuracy of the Gaussian-like glitch inferences

The results from Sect. 4.3 illustrate well the anticipated difficulty in deriving an expression for the glitch-induced signature that is valid across the parameter space that one would like to explore, in the case of a Gaussian-like glitch. It is thus important to test the accuracy of the proposed expression on control data before using it to fit real data. To that end, we simulated a series of Gaussian-like glitches, starting from the buoyancy frequency of our 1M red giant model. Specifically, we started by building a glitchless reference model by either removing or smoothing the features in N that produce visible period spacing variations on scales smaller than the frequency range analysed (i.e. [25,67] μHz). Two features were identified: (1) the glitch in N associated to the steep chemical gradient left by the first dredge-up, which was removed by fitting a second order polynomial across the glitch region; (2) a series of significant short-scale variations in the second derivative of N (of numerical origin) taking place in the H-burning shell, which were suppressed by applying a boxcar average to N (with a width of ∼1/50 of the shell) in the region of the H-burning shell. The buoyancy frequency of the original ASTEC model (dashed black line) around the glitch is compared with that of the glitchless reference (black dotted line) in Fig. 2.

thumbnail Fig. 2.

Buoyancy frequency for the original ASTEC model (dashed black line), the glitchless reference model (dotted black line), and model 5, built by adding to the glitchless reference model a glitch with properties similar to that of the original ASTEC model.

Next we artificially added one Gaussian glitch at a time to the glitchless reference model, to generate a set of six models, each with a single glitch. The parameters of the added glitches were first defined based on the buoyancy depth of the reference model. As N is modified by the addition of the glitch, we then recomputed the buoyancy depth based on the new N and fitted a Gaussian function to the glitch to extract the true glitch parameters that are to be compared with the values inferred from fitting the analytical expression. The parameters of the six artificial glitches were chosen to explore different regimes, namely: (1) three glitches with similar widths and different amplitudes were simulated to investigate the impact of increasing amplitude; (2) two glitches with similar amplitude and different small widths were simulated to verify the impact of approaching the Dirac δ limit; (3) one glitch with a small amplitude was also simulated to test the results when approaching the small glitch limit. This series of glitches is illustrated in Fig. 3 and the respective properties are provided in Table 3. We note that one of these (model 5) has properties similar to those of the original ASTEC model and is shown in red in Fig. 2 and all panels of Fig. 3, for comparison.

thumbnail Fig. 3.

Buoyancy frequency for the glitch-simulated models near the glitch position. In all panels, the continuous red line shows the case of model 5, corresponding to a glitch with properties similar to the original ASTEC model. Additionally, the black lines are as follows. Top panel: models 1 (dotted line) and 2 (dashed line). Middle panel: models 3 (dotted line) and 4 (dashed line). Bottom panel: model 6.

Table 3.

Properties of the simulated glitches used in Sect. 4.4.

The pure g-mode periods of the simulated glitch models were computed with the code ASTER and the respective period spacings were fitted with the analytical expression proposed by Cunha et al. (2019) (their Eq. (15)) following the procedure described in that paper. In the case of the smallest glitch (model 6) the fit required adding a smooth component to the analytical expression describing the period spacings, which we modelled as a linear function, Sm = a0 + a1ω, where a0 and a1 are constants. We thus added the smooth component to the fit of the period spacings of all simulated glitch models for consistency, although no significant impact was found in any of the other cases.

The best fits to the period spacings for all six simulated glitch models are shown in Fig. 4, with the residuals shown in the bottom part of each panel. Comparison of the model period spacings (in black) with the best fits (in red) shows that the analytical expression proposed by Cunha et al. (2019) (their Eq. (15)) for the Gaussian-like glitch signature reproduces well the period spacings computed with ASTER in all cases (with all deviations smaller than 0.3%). Inspection of the blue curve in the bottom panel also shows that for the smallest glitch (Model ID 6 in Table 3) a smooth component needs to be added to the analytical expression in order to achieve a good fit. With the addition of the smooth component, the fit is indeed improved significantly, as seen by the model shown in red in the same panel.

thumbnail Fig. 4.

Period spacings from ASTER for the simulated Gaussian-like glitches listed in Table 3 (black line and plus symbols) and respective best analytical-model fits (dashed red line). The residuals (ASTER – best fit) are also shown for each case. Top: models 1 and 2. Middle: models 3, 4 and 5. Bottom: model 6. The fits in red included a linear smooth component. The dashed blue line in the bottom panel shows the fit without the inclusion of a smooth component. For all other models the fits with and without the inclusion of the smooth component would be indistinguishable in these figures.

In the top panel of Fig. 4 we can also see how the signature of the glitch changes as the glitch becomes narrow. The two glitch models shown correspond to the buoyancy frequency profiles in black seen in the top panel of Fig. 3. As we approach the Dirac δ limit we have seen that the glitch signature becomes independent of the glitch width (cf. Eq. (24)). This is reflected in the results seen in the top panel of Fig. 4, as the glitch signatures for the two cases are almost indistinguishable (there are two black and two red lines plotted in this panel). Notice that the residuals between the model data (in black) and the fits (in red) for the two cases, also shown in the bottom part of the top panel, are also hardly distinguishable.

Likewise, we fitted the ASTER periods for the six simulated models with Eq. (10), using the glitch phase defined by Eq. (22), adding a second order smooth component to mimic the impact of the first order smooth component added to the analytical expression for the period spacings. Figure 5 shows the ratios between the inferred and true glitch properties both for the case of the fit to the period spacings and for case of the fit to the periods.

thumbnail Fig. 5.

Ratios between the inferred and true glitch parameters. Buoyancy radius (left), glitch width (middle), glitch amplitude (right). A comparison is shown of the values inferred from the fits to the period spacings (black) and to the periods (red). Note that the symbols have been displaced horizontally for a better visualisation. The horizontal dashed-dotted black line represents a ratio equal to 1.

Inspection of the inferred glitch parameters show that these are not accurate, in the sense that the error bars associated with the inferences are small compared to the distance to the true values of the glitch properties. Thus, while the proposed analytical expressions for the signature on the periods and period spacings of the Gaussian-like glitch reproduce well the model data, they produce systematic errors in the inferred glitch properties. This was to be expected given the difficulties associated with the derivation of the analytical expression in this case (cf. Sect. 4). Nevertheless, the tests with artificial glitch models performed here allow us to understand the extent of the systematic errors so that these can be considered in applications to real data. According to the results, the parameter that is most affected, namely the amplitude of the glitch, can still be recovered within a factor of two for all cases tested. In fact, we verify that the maximum error of a factor of two occurs for the smallest amplitude glitch, as already anticipated through the inspection of that limit in Sect. 4.3. On the other hand, we see that the inferred amplitude becomes closer to the true value when the glitch becomes narrower, as expected from the Dirac δ limit discussed in Sect. 4.2. Regarding the glitch width, the largest errors occur for the narrower glitch (model ID 1 in Table 3), where the glitch-induced signature becomes less sensitive on this parameter. For this case we notice also a significant difference in the width inferences made by fitting the periods and the period spacings, and an increase in the error bars, compared to those obtained for the other glitch models. Finally, we see that the position of the glitch is determined within 10% of the true value in all cases considered.

5. Mixed modes

For completeness, in this section we discuss the expression for the frequency perturbations resulting from the impact of buoyancy glitches on mixed modes. The perturbation to the mixed-mode period spacings induced by a buoyancy glitch was first considered for the case of a glitch represented by a Dirac-δ function (Cunha et al. 2015) and later for a Gaussian-like glitch (Cunha et al. 2019). Following on these works, Vrard et al. (2022) provided an expression for the frequency perturbation of dipole modes, namely,

ν = ν a , n + Δ ν π arctan { q tan [ π ( 1 ν Δ P as ϵ g ) + Φ ] } , $$ \begin{aligned} \nu =\nu _{\mathrm{a},n}+\frac{\Delta \nu }{\pi }\arctan \left\{ q\tan \left[\pi \left(\frac{1}{\nu \Delta P_{\mathrm{as}}}-\epsilon _{\rm g}\right)+\Phi \right]\right\} , \end{aligned} $$(30)

where νa, n represents the frequency of the pure acoustic dipole mode of (pressure) radial order n that would exist in the absent of mode coupling, Δν is the large frequency separation, q is the coupling factor and ϵg is the gravity phase offset. This expression assumes that the integral of N/r within the g-mode cavity is the same in the glitch and glitchless (reference) models. The impact of the glitch is incorporated in glitch phase Φ, as before.

Explicit forms for Φ were derived by Cunha et al. (2015) and Cunha et al. (2019) for the Dirac-δ and Gaussian-like glitch, respectively. In both cases the authors assumed that the glitch was located in the outer half of the g-mode cavity. However, from the point of view of the solutions within the g-mode cavity, we can think of this case as being similar to the one of pure g modes, with the exception that the boundary conditions applied beyond the two turning points are no longer the same, as a result of the coupling outwardly from the cavity. In other words, the presence of the p-mode cavity outwards from the g-mode cavity breaks the symmetry of the problem with respect to the solution inside the g-mode cavity. It is thus worth considering how the glitch phase is modified when considering a glitch in the inner half of the g-mode cavity. That analysis is presented in Appendix C.

In all cases the functional form of Φ for mixed modes is found to be unchanged with respect to that derived in the analysis for the pure g modes, that is, it is given by Eqs. (16), (22), and (24), for the step-like, Gaussian-like, and Dirac-δ glitch, respectively. However, while the definition of β 2 $ \tilde\beta_2 $, used in the case of a glitch in the inner half of the g-mode cavity, remains the same as in the pure g-mode case, the definition of β2 used in the case of a glitch in the outer half of the g-mode cavity differs from that derived in the pure g-mode case, as found in the previous works (Cunha et al. 2015, 2019). In particular, when employing any of the expressions for the phase Φ for mixed modes with a glitch in the outer half of the g-mode cavity, one must make the substitution β 2 β 2 , φ ω g 2 π P + π / 4 + δ + φ $ \beta_2\rightarrow\beta_{2,\varphi} \approx \frac{\omega_{\mathrm{g}}^\star}{2\pi} P+\pi/4+\delta +\varphi $, where φ is the coupling phase defined by

φ arctan [ q tan [ π ( ν ν a , n ) / Δ ν ] ] . $$ \begin{aligned} \varphi \approx {\arctan }\left[\frac{q}{\tan \left[\pi \left(\nu -\nu _{\mathrm{a},n}\right)/\Delta \nu \right]}\right]. \end{aligned} $$(31)

As a result of the inclusion (exclusion) of φ in the arguments of the sinusoidal functions entering the definition of Φ in the case of glitches in the outer (inner) half of the g-mode cavity, different glitch signatures on the frequencies of mixed modes are expected depending on which case is considered. A thorough discussion on this symmetry breaking will be presented in a separate work.

Finally, we emphasise also the non-additive nature of the effects of the glitch and coupling on the frequencies, as already discussed in Cunha et al. (2019) (their Sect. 2). This requires that the two effects are considered simultaneously, by fitting with expression (30). While streching of the periods can be performed (Mosser et al. 2015; Ong & Gehan 2023), caution must be exerted on the interpretation of the results from that streching, particularly if the frequencies are observed only near the frequency of maximum coupling.

Fits of expression (30) to Kepler data on a sample of helium core-burning stars with a glitch located in the inner half of the g-mode cavity have recently been presented by Vrard et al. (2022), enabling the first characterisation of core glitches in these stars.

6. Conclusions

In this work we provided and tested on model data analytical expressions for the perturbations induced by a glitch located in the g-mode cavity of a star on pure g-mode periods and mixed-mode frequencies. This complements the work published previously on the period-spacings perturbations (Cunha et al. 2015, 2019) and will be particularly useful when fitting data for which the observed periods are not sequential in radial order (where the computation of the period spacings is not accessible for all radial orders, but an estimate of the asymptotic period spacing is still available).

Using model data, we have also tested the accuracy of the analytical expression proposed for the seismic signature of Gaussian-like glitches, where drastic approximations had to be made in the derivation due to the finite width of the glitch. We found that the analytical expression for the periods and period-spacings perturbations becomes insensitive to the glitch width when the glitch approached the Dirac-δ limit. In that case, the recovery of the glitch width becomes less accurate. Nevertheless, for all cases studied here, we found that the parameter that is most affect, namely the glitch amplitude, can still be recovered from the fitting within a factor of two.

Finally, comparing the glitch-induced phases for step-like and Gaussian-like glitches, we see that glitch signatures have different dependencies on period (see Fig. 1), according to their shapes. This introduces an additional uncertainty in the interpretation of the glitch amplitude (and width), particularly when the range of observed periods does not cover a significant number of cycles of the glitch signature. Therefore, we are forced to conclude that the glitch position is generally the most robust of the inferred glitch parameters, similar to what is found in studies of acoustic glitches (e.g. Mazumdar et al. 2014).


1

This limit was also considered in Miglio et al. (2008). However, the authors were only concerned with the periodic component of the perturbation and the phase of the periodic component they present differs from the one derived here by π/2.

Acknowledgments

The authors would like to thank the anonymous referee for the interesting discussion and suggestions made during the refereeing process. This work has been supported by Fundação para a Ciência e Tecnologia FCT-MCTES, Portugal, through national funds by these grants UIDB/04434/2020 (DOI: 10.54499/UIDB/04434/2020), UIDP/04434/2020.FCT (DOI: 10.54499/UIDP/04434/2020) and 2022.03993.PTDC (DOI:10.54499/2022.03993.PTDC). MC is funded by FCT-MCTES by the contract with reference CEECIND/02619/2017.

References

  1. Aerts, C., Christensen-Dalsgaard, J., & Kurtz, D. W. 2010, Asteroseismology (Springer) [Google Scholar]
  2. Audard, N., & Provost, J. 1994, A&A, 282, 73 [NASA ADS] [Google Scholar]
  3. Baglin, A., Auvergne, M., Barge, P., et al. 2006, ESA Spec. Publ., 1306, 33 [Google Scholar]
  4. Ballot, J., Turck-Chièze, S., & García, R. A. 2004, A&A, 423, 1051 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  5. Baran, A. S., Reed, M. D., Østensen, R. H., Telting, J. H., & Jeffery, C. S. 2017, A&A, 597, A95 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  6. Basu, S. 1997, MNRAS, 288, 572 [NASA ADS] [Google Scholar]
  7. Basu, S., Antia, H. M., & Narasimha, D. 1994, MNRAS, 267, 209 [NASA ADS] [CrossRef] [Google Scholar]
  8. Basu, S., Mazumdar, A., Antia, H. M., & Demarque, P. 2004, MNRAS, 350, 277 [NASA ADS] [CrossRef] [Google Scholar]
  9. Benvenuto, O. G., Córsico, A. H., Althaus, L. G., & Serenelli, A. M. 2002, MNRAS, 335, 480 [NASA ADS] [CrossRef] [Google Scholar]
  10. Borucki, W. J., Koch, D., Basri, G., et al. 2010, Science, 327, 977 [Google Scholar]
  11. Brassard, P., Fontaine, G., Wesemael, F., & Hansen, C. J. 1992, ApJS, 80, 369 [NASA ADS] [CrossRef] [Google Scholar]
  12. Broomhall, A.-M., Miglio, A., Montalbán, J., et al. 2014, MNRAS, 440, 1828 [NASA ADS] [CrossRef] [Google Scholar]
  13. Charpinet, S., Fontaine, G., Brassard, P., & Dorman, B. 2000, ApJS, 131, 223 [Google Scholar]
  14. Charpinet, S., Fontaine, G., Brassard, P., & Dorman, B. 2002, ApJS, 139, 487 [Google Scholar]
  15. Christensen-Dalsgaard, J. 2008a, Ap&SS, 316, 113 [Google Scholar]
  16. Christensen-Dalsgaard, J. 2008b, Ap&SS, 316, 13 [Google Scholar]
  17. Christensen-Dalsgaard, J. 2012, ASP Conf. Ser., 462, 503 [Google Scholar]
  18. Christensen-Dalsgaard, J., Monteiro, M. J. P. F. G., & Thompson, M. J. 1995, MNRAS, 276, 283 [NASA ADS] [Google Scholar]
  19. Christensen-Dalsgaard, J., Monteiro, M. J. P. F. G., Rempel, M., & Thompson, M. J. 2011, MNRAS, 414, 1158 [CrossRef] [Google Scholar]
  20. Corsaro, E., De Ridder, J., & García, R. A. 2015, A&A, 578, A76 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  21. Córsico, A. H., Althaus, L. G., Benvenuto, O. G., & Serenelli, A. M. 2002, A&A, 387, 531 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  22. Cunha, M. S. 2018, in Asteroseismology and Exoplanets: Listening to the Stars and Searching for New Worlds, eds. T. L. Campante, N. C. Santos, & M. J. P. F. G. Monteiro, Astrophys. Space Sci. Proc., 49, 27 [NASA ADS] [CrossRef] [Google Scholar]
  23. Cunha, M. S. 2020, in Dynamics of the Sun and Stars; Honoring the Life and Work of Michael J. Thompson, eds. M. J. P. F. G. Monteiro, R. A. García, J. Christensen-Dalsgaard, & S. W. McIntosh, Astrophys. Space Sci. Proc., 57, 185 [NASA ADS] [CrossRef] [Google Scholar]
  24. Cunha, M. S., & Brandão, I. M. 2011, A&A, 529, A10 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  25. Cunha, M. S., & Metcalfe, T. S. 2007, ApJ, 666, 413 [NASA ADS] [CrossRef] [Google Scholar]
  26. Cunha, M. S., Aerts, C., Christensen-Dalsgaard, J., et al. 2007, A&Arv, 14, 217 [NASA ADS] [CrossRef] [Google Scholar]
  27. Cunha, M. S., Stello, D., Avelino, P. P., Christensen-Dalsgaard, J., & Townsend, R. H. D. 2015, ApJ, 805, 127 [NASA ADS] [CrossRef] [Google Scholar]
  28. Cunha, M. S., Avelino, P. P., Christensen-Dalsgaard, J., et al. 2019, MNRAS, 490, 909 [Google Scholar]
  29. Deal, M., Goupil, M. J., Cunha, M. S., et al. 2023, A&A, 673, A49 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  30. Degroote, P., Aerts, C., Baglin, A., et al. 2010, Nature, 464, 259 [Google Scholar]
  31. Dréau, G., Cunha, M. S., Vrard, M., & Avelino, P. P. 2020, MNRAS, 497, 1008 [CrossRef] [Google Scholar]
  32. Farnir, M., Dupret, M. A., Salmon, S. J. A. J., Noels, A., & Buldgen, G. 2019, A&A, 622, A98 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  33. Ghasemi, H., Moravveji, E., Aerts, C., Safari, H., & Vučković, M. 2017, MNRAS, 465, 1518 [Google Scholar]
  34. Gilliland, R. L., Brown, T. M., Christensen-Dalsgaard, J., et al. 2010, PASP, 122, 131 [Google Scholar]
  35. Gough, D. O. 1990, in Progress of Seismology of the Sun and Stars, eds. Y. Osaki, & H. Shibahashi (Berlin: Springer Verlag), Lecture Notes in Physics, 367, 283 [Google Scholar]
  36. Gough, D. O. 1993, in Astrophysical Fluid Dynamics - Les Houches, eds. J. P. Zahn, & J. Zinn-Justin, 399 [Google Scholar]
  37. Gough, D. O. 2007, Astron. Nachr., 328, 273 [NASA ADS] [CrossRef] [Google Scholar]
  38. Gough, D. O., & Thompson, M. J. 1988, in Advances in Helio- and Asteroseismology, eds. J. Christensen-Dalsgaard, & S. Frandsen, IAU Symp., 123, 155 [NASA ADS] [CrossRef] [Google Scholar]
  39. Hatta, Y. 2023, ApJ, 950, 165 [NASA ADS] [CrossRef] [Google Scholar]
  40. Hill, H. A., & Rosenwald, R. D. 1986, Ap&SS, 126, 335 [NASA ADS] [CrossRef] [Google Scholar]
  41. Houdek, G., & Gough, D. O. 2007, MNRAS, 375, 861 [CrossRef] [Google Scholar]
  42. Jiang, C., Cunha, M., Christensen-Dalsgaard, J., Zhang, Q. S., & Gizon, L. 2022, MNRAS, 515, 3853 [NASA ADS] [CrossRef] [Google Scholar]
  43. Kurtz, D. W., Saio, H., Takata, M., et al. 2014, MNRAS, 444, 102 [Google Scholar]
  44. Lebreton, Y., & Goupil, M. J. 2012, A&A, 544, L13 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  45. Lindsay, C. J., Ong, J. M. J., & Basu, S. 2023, ApJ, 950, 19 [CrossRef] [Google Scholar]
  46. Mazumdar, A., Basu, S., Collier, B. L., & Demarque, P. 2006, MNRAS, 372, 949 [NASA ADS] [CrossRef] [Google Scholar]
  47. Mazumdar, A., Monteiro, M. J. P. F. G., Ballot, J., et al. 2014, ApJ, 782, 18 [NASA ADS] [CrossRef] [Google Scholar]
  48. Miglio, A., Montalbán, J., Noels, A., & Eggenberger, P. 2008, MNRAS, 386, 1487 [Google Scholar]
  49. Miglio, A., Montalbán, J., Carrier, F., et al. 2010, A&A, 520, L6 [CrossRef] [EDP Sciences] [Google Scholar]
  50. Mombarg, J. S. G., Dotter, A., Rieutord, M., et al. 2022, ApJ, 925, 154 [NASA ADS] [CrossRef] [Google Scholar]
  51. Monteiro, M. J. P. F. G., & Thompson, M. J. 2005, MNRAS, 361, 1187 [NASA ADS] [CrossRef] [Google Scholar]
  52. Monteiro, M. J. P. F. G., Christensen-Dalsgaard, J., & Thompson, M. J. 1994, A&A, 283, 247 [NASA ADS] [Google Scholar]
  53. Monteiro, M. J. P. F. G., Christensen-Dalsgaard, J., & Thompson, M. J. 2000, MNRAS, 316, 165 [NASA ADS] [CrossRef] [Google Scholar]
  54. Mosser, B., Vrard, M., Belkacem, K., Deheuvels, S., & Goupil, M. J. 2015, A&A, 584, A50 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  55. Ong, J. M. J., & Gehan, C. 2023, ApJ, 946, 92 [CrossRef] [Google Scholar]
  56. Østensen, R. H., Telting, J. H., Reed, M. D., et al. 2014, A&A, 569, A15 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  57. Pinçon, C.& Takata, M. 2022, A&A, 661, A139 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  58. Ricker, G. R., Winn, J. N., Vanderspek, R., et al. 2015, J. Astron. Telesc. Instrum. Syst., 1, 014003 [Google Scholar]
  59. Rodríguez-López, C., Moya, A., Garrido, R., et al. 2010, MNRAS, 403, 1983 [CrossRef] [Google Scholar]
  60. Roxburgh, I. W. 2009, A&A, 493, 185 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  61. Roxburgh, I. W., & Vorontsov, S. V. 1994, MNRAS, 268, 880 [NASA ADS] [CrossRef] [Google Scholar]
  62. Roxburgh, I. W., & Vorontsov, S. V. 1999, ASP Conf. Ser., 173, 257 [NASA ADS] [Google Scholar]
  63. Roxburgh, I. W., & Vorontsov, S. V. 2001, MNRAS, 322, 85 [NASA ADS] [CrossRef] [Google Scholar]
  64. Saunders, D. P., Ong, J. M. J., & Basu, S. 2023, ApJ, 947, 22 [CrossRef] [Google Scholar]
  65. Takata, M. 2016, PASJ, 68, 109 [NASA ADS] [CrossRef] [Google Scholar]
  66. Tassoul, M. 1980, ApJS, 43, 469 [Google Scholar]
  67. Thompson, M. J. 1988, ESA Spec. Publ., 286, 321 [NASA ADS] [Google Scholar]
  68. Unno, W., Osaki, Y., Ando, H., Saio, H., & Shibahashi, H. 1989, Nonradial Oscillations of Stars (Tokyo: University of Tokyo Press) [Google Scholar]
  69. Uzundag, M., Baran, A. S., Østensen, R. H., et al. 2017, MNRAS, 472, 700 [CrossRef] [Google Scholar]
  70. Van Reeth, T., Tkachenko, A., Aerts, C., et al. 2015, ApJS, 218, 27 [Google Scholar]
  71. Verma, K., Faria, J. P., Antia, H. M., et al. 2014, ApJ, 790, 138 [Google Scholar]
  72. Verma, K., Raodeo, K., Antia, H. M., et al. 2017, ApJ, 837, 47 [NASA ADS] [CrossRef] [Google Scholar]
  73. Verma, K., Raodeo, K., Basu, S., et al. 2019, MNRAS, 483, 4678 [Google Scholar]
  74. Vorontsov, S. V. 1988, in Advances in Helio- and Asteroseismology, eds. J. Christensen-Dalsgaard, & S. Frandsen, IAU Symp., 123, 151 [NASA ADS] [CrossRef] [Google Scholar]
  75. Vrard, M., Cunha, M. S., Bossini, D., et al. 2022, Nat. Commun., 13, 7553 [CrossRef] [Google Scholar]
  76. Winget, D. E., van Horn, H. M., & Hansen, C. J. 1981, ApJ, 245, L33 [NASA ADS] [CrossRef] [Google Scholar]
  77. Winget, D. E., Nather, R. E., Clemens, J. C., et al. 1991, ApJ, 378, 326 [NASA ADS] [CrossRef] [Google Scholar]

Appendix A: Variational principle

Our starting point is the wave equation A1 of Appendix A of Cunha et al. (2019) written in terms of the variable Ψ = ( r 3 / g ρ f ) 1 / 2 δ p $ \Psi=~(r^3/g\rho \tilde f) ^{1/2}\delta p $ (cf. section 2). The equation resulting from the linear, adiabatic pulsation equations for the case of a spherically symmetric equilibrium under the Cowling approximation, is then

Ψ + K 2 Ψ = 0 , $$ \begin{aligned} {\Psi ^{\prime \prime }}+K^2\Psi =0, \end{aligned} $$(A.1)

where a prime represents a differentiation with respect to r and we shall approximate the radial wavenumber K as in equation (4), given our interest in pure g modes.

Multiplying equation (A.1) by the complex conjugate Ψ, integrating once by parts between the turning points r1 and r2 and rearranging, we find the following integral equation for the periods:

P 2 = r 1 r 2 ( Ψ ) 2 d r + r 1 r 2 L 2 r 2 Ψ 2 d r [ Ψ Ψ ] r 1 r 2 r 1 r 2 L 2 N 2 4 π 2 r 2 Ψ 2 d r F I . $$ \begin{aligned} P^2=\frac{\int _{r_1}^{r_2}(\Psi ^\prime )^2\mathrm{d} r+\int _{r_1}^{r_2}\frac{L^2}{r^2}\Psi ^2\mathrm{d} r-\left[\Psi ^\prime \Psi ^\dagger \right]_{r_1}^{r_2}}{\int _{r_1}^{r_2}\frac{L^2N^2}{4\pi ^2 r^2}\Psi ^2\mathrm{d} r}\equiv \frac{F}{I}. \end{aligned} $$(A.2)

Next we consider a small localised perturbation to a reference model characterised by N0, such that no change is induced to the turning points. Small perturbations to the periods induced by the change to the reference model are given by

δ P 2 δ F P 2 δ I I 0 . $$ \begin{aligned} \delta P^2 \approx \frac{\delta F-P^2\delta I}{I_0}. \end{aligned} $$(A.3)

To first order, the perturbation of the eigenfunctions do not contribute to the perturbation of the periods. Thus δF = 0 and we find

δ P P 2 δ I I 0 = P 2 r 1 r 2 L 2 δ N 2 4 π 2 r 2 Ψ 0 2 d r r 1 r 2 L 2 N 0 2 4 π 2 r 2 Ψ 0 2 d r , $$ \begin{aligned} \delta P\approx -\frac{P}{2}\frac{\delta I}{I_0}=-\frac{P}{2}\frac{\int _{r_1}^{r_2}\frac{L^2\delta N^2}{4\pi ^2r^2}{\Psi _0^2\mathrm{d} r}}{\int _{r_1}^{r_2}\frac{L^2 N_0^2}{4\pi ^2r^2}{\Psi _0^2\mathrm{d} r}}, \end{aligned} $$(A.4)

where Ψ0 is the solution in the reference model and is asymptotically given by Gough et al. (1993),

Ψ 0 Ψ 0 K 0 1 / 2 sin ( r 1 r K 0 d r + π 4 ) , $$ \begin{aligned} \Psi _{0} \sim \tilde{\Psi }_{0} K_{0}^{-1/2} \sin \left(\int _{r_1}^r K_{0}\mathrm{d} r + \frac{\pi }{4}\right), \end{aligned} $$(A.5)

and Ψ 0 $ \tilde\Psi_0 $ is a constant. The integral in the denominator of equation (A.4) can be readily calculated. Taking K0 ≈ LN0/rω in the amplitude of the eigenfuntion Ψ0, we find

I 0 ω 4 π 2 Ψ 0 2 0 ω g , 0 sin 2 ( ω g , 0 r ω + π 4 + δ ) d ω g , 0 r ω 8 π 2 Ψ 0 2 ω g , 0 . $$ \begin{aligned} I_0\approx \frac{\omega }{4\pi ^2}\tilde{\Psi }_0^2\int _{0}^{\tilde{\omega }_{\rm g,0}}\sin ^2\left(\frac{\tilde{\omega }_{\rm g,0}^r}{\omega }+\frac{\pi }{4}+\tilde{\delta }\right)\mathrm{d}\tilde{\omega }_{\rm g,0}^r\approx \frac{\omega }{8\pi ^2}\tilde{\Psi }_0^2\omega _{\rm g,0}. \end{aligned} $$(A.6)

A.1. Small step-like glitch

To proceed with the calculation of δP we need first to define the reference model and the glitch shape. Here we consider the case of a decreasing step-like glitch in the inner half of the g-mode cavity and define the reference model such that to first order in δN/N0 there is no smooth contribution to the period perturbations. Specifically, we define a linearly varying N0 around the glitch given by

N 0 = N in + Δ N Δ ω g ( ω g a ω g r ) , $$ \begin{aligned} N_0=N_{\rm in}+\frac{\Delta N}{\Delta \omega _{\rm g}}\left(\tilde{\omega }_{\rm g}^\mathrm{a}-\tilde{\omega }_{\rm g}^\mathrm{r}\right), \end{aligned} $$(A.7)

where Δ ω g = ω g b ω g a $ \Delta\omega_{\mathrm{g}}=\tilde\omega_{\mathrm{g}}^{\mathrm{b}}-\tilde\omega_{\mathrm{g}}^{\mathrm{a}} $ and ΔN = Nin − Nout. Here, ω g a $ \tilde\omega_{\mathrm{g}}^{\mathrm{a}} $ and ω g b $ \tilde\omega_{\mathrm{g}}^{\mathrm{b}} $ are equidistant from ω g $ \tilde\omega_{\mathrm{g}}^{\star} $ and we assume the transition of N0 to Nin and Nout on each side of ω g $ \tilde\omega_{\mathrm{g}}^{\star} $ occurs on a scale much greater than the local characteristic scale of the wave, ensuring that Δωg ≫ ω. Also, any variations of N within the interval Δωg in addition to the jump at ω g $ \tilde\omega_{\mathrm{g}}^\star $ are ignored, by comparison with the variation at the glitch. A schematic view of N0 is shown in Fig. A.1.

thumbnail Fig. A.1.

Schematic view of the buoyancy frequency in the reference model around the glitch (N0, in red) in comparison to that in the model with the glitch (N, in black). Quantities are shown in arbitrary units.

While this is clearly a simplified reference model, in particular because its first derivative is discontinuous at the points ω g a $ \tilde\omega_{\mathrm{g}}^{\mathrm{a}} $ and ω g b $ \tilde\omega_{\mathrm{g}}^{\mathrm{b}} $ where it merges into N, it suffices our purpose, as the dominant feature in the perturbation δN defined from this reference model is still the glitch in N. It is clear from symmetry, that in this case

0 ω g δ N d ω g , 0 r = r 1 r 2 L N 0 δ N d r r = 0 . $$ \begin{aligned} \int _{0}^{\tilde{\omega }_{\rm g}}\delta N\mathrm{d}\tilde{\omega }_{\rm g,0}^r= \int _{r_1}^{r_2}LN_0\delta N\frac{\mathrm{d} r}{r}=0. \end{aligned} $$(A.8)

Noting that N0 varies by a maximum of 𝒪(ΔN) about N 0 $ N_0^\star $ within the interval where δN differs from zero, we find that the smooth component in equation (19) scales with (δN/N)2, as per our choice of the reference model.

With the reference model defined as above one then finds

δ N N 0 Δ N N 0 [ H ( ω g r ω g r ) + ω g a ω g r Δ ω g ] , $$ \begin{aligned} \frac{\delta N}{N_0}\approx -\frac{\Delta N^\star }{N_0^\star }\left[\mathcal{H} \left(\tilde{\omega }_{\rm g}^{r}-\tilde{\omega }_{\rm g}^{r^\star }\right)+\frac{\tilde{\omega }_{\rm g}^{a}-\tilde{\omega }_{\rm g}^{r}}{\Delta \omega _{\rm g}}\right], \end{aligned} $$(A.9)

in the region where δN is non-zero, where ℋ is the Heaviside function.

Finally, with δN in hand, we can calculate the integral on the numerator of equation (A.4) and the respective δP. Specifically,

δ I = ω 2 π 2 Ψ 0 2 ω g , 0 a ω g , 0 b δ N N 0 sin 2 ( ω g , 0 r ω + π 4 + δ ) d ω g , 0 r . $$ \begin{aligned} \delta I=\frac{\omega }{2\pi ^2}\tilde{\Psi }_0^2\int _{\tilde{\omega }_{\rm g,0}^\mathrm{a}}^{\tilde{\omega }_{\rm g,0}^\mathrm{b}}\frac{\delta N}{N_0}\sin ^2\left(\frac{\tilde{\omega }_{\rm g,0}^r}{\omega }+\frac{\pi }{4}+\tilde{\delta }\right)\mathrm{d}\tilde{\omega }_{\rm g,0}^r. \end{aligned} $$(A.10)

Integrating once by parts and noting that d/d ω g r =d/d ω g,0 r (1+O(δN/ N 0 )) $ {\rm d}/{\rm d} \omega_{\rm g}^r={\rm d}/{\rm d} \omega_{\rm g,0}^r(1+\mathcal{O}(\delta N/N_0)) $ and Δωg = Δωg, 0(1 + 𝒪(δN/N0)), we find

δ I ω 2 8 π 2 Ψ 0 2 [ Δ N N 0 ] r [ 1 ω Δ ω g sin ( Δ ω g ω ) ] sin ( 2 β 2 ) . $$ \begin{aligned} \delta I\approx -\frac{\omega ^2}{8\pi ^2}\tilde{\Psi }_0^2\left[\frac{\Delta N}{N_0}\right]_{r^\star }\left[1-\frac{\omega }{\Delta \omega _{\rm g}}\sin \left(\frac{\Delta \omega _{\rm g}}{\omega }\right)\right]\sin \left(2\tilde{\beta }_2\right). \end{aligned} $$(A.11)

Recalling that Δωg ≫ ω and that ωg = 2π2Pas, we then find, to first order in δN/N0, that

δ P Δ P as 2 π [ Δ N N 0 ] r sin ( 2 β 2 ) , $$ \begin{aligned} \delta P\approx \frac{\Delta P_{\rm as}}{2\pi }\left[\frac{\Delta N}{N_0}\right]_{r^\star }\sin \left(2\tilde{\beta }_2\right), \end{aligned} $$(A.12)

which is equivalent to equation (19) for the case of a zero smooth contribution, as expected.

A.2. Small Gaussian-like glitch

In the case of a Gaussian-like glitch, the reference model is defined by the buoyancy frequency in the absence of the Gaussian perturbation. Thus, the perturbation relative to that reference is simply

δ N N 0 = Δ N N 0 A G 2 π Δ g exp ( ( ω g r ω g ) 2 2 Δ g 2 ) . $$ \begin{aligned} \frac{\delta N}{N_0}=\frac{\Delta N}{N_0}\approx \frac{A_{\rm G}}{\sqrt{2\pi }\Delta _{\rm g}}\exp {\left(-\frac{(\omega _{\rm g}^r-\omega _{\rm g}^{\star })^2}{2\Delta _{\rm g}^2}\right)}. \end{aligned} $$(A.13)

Substituting in equation (A.10) and combining with equation (A.6), one finds, from equation( A.4),

δ P P 0 Δ P as 2 π 2 A G + Δ P as π A G f ω Δ g cos ( 2 β 2 ) , $$ \begin{aligned} \delta P\approx -P_0\frac{\Delta P_{\rm as}}{2\pi ^2}A_G+\frac{\Delta P_{\rm as}}{\pi }A_G{ f}_\omega ^{\Delta _g}\cos \left(2\beta _2\right), \end{aligned} $$(A.14)

where we neglected the difference between ωg, 0 and ωg in the definition of β2, as this difference is ∼𝒪(δN/N0).

Appendix B: Marginalised distributions

Here we provide the priors (Table B.1) and marginalised distributions for the fits of equation (10) to the model data, considering the step-like glitch (Fig. B.1) and Gaussian-like glitch (Fig. B.2).

thumbnail Fig. B.1.

Marginalised distributions for the parameters considered in the fit to model data of the expression for the step-like glitch (equation (10) with Φ defined by equation (16)).

thumbnail Fig. B.2.

Marginalised distributions for the parameters considered in the fit to model data of the expression for the Gaussian-like glitch (equation (10) with Φ defined by equation (22)).

Table B.1.

Lower and upper limits of the uniform prior distributions applied in the fit of equation (10) to model data, for the cases of a step-like glitch (equation (16)) and Gaussian-like glitch (equation (22)).

Appendix C: Glitch phase Φ for mixed modes

Here we discuss how the glitch phase Φ is modified when considering mixed modes instead of pure gravity modes. To establish the eigenvalue condition in the presence of a glitch, Cunha et al. (2015) and Cunha et al. (2019) started from equation (A.1), considering the asymptotic solutions on either side of the glitch. When studying the impact on pure g modes (i.e. in the absence of mode coupling), well inside the g-mode cavity, the solutions inwards and outwards from the glitch location are, respectively,

Ψ in Ψ in K in 1 / 2 sin ( r 1 r K in d r + π 4 ) , $$ \begin{aligned} \Psi _{\rm in} \sim \tilde{\Psi }_{\rm in} K_{\rm in}^{-1/2} \sin \left(\int _{r_1}^r K_{\rm in}\mathrm{d} r + \frac{\pi }{4}\right), \end{aligned} $$(C.1)

and

Ψ out Ψ out K out 1 / 2 sin ( r r 2 K out d r + π 4 ) , $$ \begin{aligned} \Psi _{\rm out} \sim \tilde{\Psi }_{\rm out} K_{\rm out}^{-1/2} \sin \left(\int _r^{r_2} K_{\rm out}\mathrm{d} r + \frac{\pi }{4}\right), \end{aligned} $$(C.2)

where Ψ in $ \tilde\Psi_{\mathrm{in}} $ and Ψ out $ \tilde\Psi_{\mathrm{out}} $ are constants and Kin and Kout refer again to K computed inwards and outwards from the glitch location, respectively.

In the case of mixed modes, the solution outwards from the glitch position is modified due to mode coupling. That can be accounted for by introducing a coupling phase φ in equation (C.2) that accounts for the impact of the coupling. In that case (Cunha et al. 2019),

Ψ out Ψ out K out 1 / 2 sin ( r r 2 K out d r + π 4 + φ ) , $$ \begin{aligned} \Psi _{\rm out} \sim \tilde{\Psi }_{\rm out} K_{\rm out}^{-1/2} \sin \left(\int _r^{r_2} K_{\rm out}\mathrm{d} r + \frac{\pi }{4}+\varphi \right), \end{aligned} $$(C.3)

where the frequency dependent coupling phase is given by

φ = atan [ q tan [ ( ω ω a , n ) / ω p ] ] , $$ \begin{aligned} \varphi =\mathrm{atan}\left[\frac{q}{\tan \left[\left(\omega -\omega _{\mathrm{a},n}\right)/\omega _{\rm p}\right]}\right], \end{aligned} $$(C.4)

with

ω p = ( r 3 r 4 c 1 d r ) 1 2 Δ ν . $$ \begin{aligned} \omega _{\rm p}=\left(\int _{r_3}^{r_4}c^{-1}\mathrm{d} r\right)^{-1}\approx 2\Delta \nu . \end{aligned} $$(C.5)

Here, r3 and r4 are the turning points of the p-mode cavity and q is the coupling coefficient (Unno et al. 1989; Takata 2016). Also, ωa, n is the angular frequency of what would be the pure acoustic mode of (pressure) radial order n, in the absence of mode coupling. Based on the asymptotic solutions and the conditions obeyed by them across the glitch, the authors derived eigenvalue conditions appropriate for each case under study.

To proceed, we consider the case of a decreasing step-like buoyancy glitch as an example. It is straightforward to show that the conclusions remain the same for other shapes of the buoyancy glitch, by performing a similar analysis.

The eigenvalue condition derived by Cunha et al. (2019) for a decreasing step-like buoyancy glitch dropping by Ast = Nin/Nout − 1 at rin the absence of coupling is

sin ( r 1 r 2 K d r + π 2 ) = A st sin ( r r 2 K out d r + π 4 ) cos ( r 1 r K in d r + π 4 ) . $$ \begin{aligned} \sin \left(\int _{r_1}^{r_2}K\mathrm{d} r+\frac{\pi }{2}\right)=&\nonumber \\ -A_{\rm st} \sin \left(\int _{r^\star }^{r_2}K_{\rm out}\mathrm{d} r+\frac{\pi }{4}\right)\cos \left(\int _{r_1}^{r^\star }K_{\rm in}\mathrm{d} r+\frac{\pi }{4}\right). \end{aligned} $$(C.6)

Following the same analysis, but replacing equation (C.2) by equation (C.3), it follows that the eigenvalue condition becomes

sin ( r 1 r 2 K d r + π 2 + φ ) = A st sin ( r r 2 K out d r + π 4 + φ ) cos ( r 1 r K in d r + π 4 ) . $$ \begin{aligned} \sin \left(\int _{r_1}^{r_2}K\mathrm{d} r+\frac{\pi }{2}+\varphi \right)=&\nonumber \\ -A_{\rm st} \sin \left(\int _{r^\star }^{r_2}K_{\rm out}\mathrm{d} r+\frac{\pi }{4}+\varphi \right)\cos \left(\int _{r_1}^{r^\star }K_{\rm in}\mathrm{d} r+\frac{\pi }{4}\right). \end{aligned} $$(C.7)

We now consider separately the cases of a glitch in the inner half and the outer half of the g-mode cavity. For a glitch in the inner half of the g-mode cavity one has

r r 2 K out d r + π 4 + φ = r 1 r 2 K d r + π 2 + φ r 1 r K in d r π 4 , $$ \begin{aligned} \int _{r^\star }^{r_2} K_{\rm out}\mathrm{d} r+\frac{\pi }{4} +\varphi = \int _{r_1}^{r_2} K\mathrm{d} r+\frac{\pi }{2}+\varphi -\int _{r_1}^{r^\star } K_{\rm in}\mathrm{d} r-\frac{\pi }{4}, \end{aligned} $$(C.8)

and substituting in Eq. (C.7) one finds

sin ( r 1 r 2 K d r + π 2 + Φ + φ ) = 0 , $$ \begin{aligned} \sin \left(\int _{r_1}^{r_2}K\mathrm{d} r+\frac{\pi }{2}+\Phi +\varphi \right) = 0, \end{aligned} $$(C.9)

where Φ, and a new quantity, B, are defined by the following system of equations,

{ B cos Φ = 1 + A st cos 2 ( r 1 r K in d r + π 4 ) , B sin Φ = 1 2 A s t cos ( 2 r 1 r K in d r ) . $$ \begin{aligned} \left\{ \begin{array}{lll} B\cos \Phi &=& 1+A_{\rm st}\cos ^2\left(\int _{r_1}^{r^\star } K_{\rm in}\mathrm{d} r+\frac{\pi }{4}\right), \\ \\ B\sin \Phi &=& -\frac{1}{2}A_{~\mathrm st}\cos \left(2\int _{r_1}^{r^\star } K_{\rm in}\mathrm{d} r\right). \end{array} \right. \end{aligned} $$(C.10)

By comparing with equation (16), we thus conclude that in the case of a glitch located in the inner half of the g-mode cavity, the glitch phase Φ entering the perturbation to the mixed-mode frequencies is the same as that derived for the pure g modes.

For a glitch in the outer half of the g-mode cavity one has instead

r 1 r K in d r + π 4 = r 1 r 2 K d r + π 2 + φ r r 2 K out d r π 4 φ . $$ \begin{aligned} \int _{r_1}^{r^\star } K_{\rm in}\mathrm{d} r+\frac{\pi }{4} = \int _{r_1}^{r_2} K\mathrm{d} r+\frac{\pi }{2}+\varphi -\int _{r^\star }^{r_2} K_{\rm out}\mathrm{d} r-\frac{\pi }{4}-\varphi . \end{aligned} $$(C.11)

Substituting in equation (C.7), we find again equation (C.9), but with the glitch phase now defined by the system of equations

{ B cos Φ = 1 + A st sin 2 ( r r 2 K out d r + π 4 + φ ) , B sin Φ = 1 2 A s t cos ( 2 r r 2 K out d r + 2 φ ) . $$ \begin{aligned} \left\{ \begin{array}{lll} B\cos \Phi &=& 1+A_{\rm st}\sin ^2\left(\int _{r^\star }^{r_2} K_{\rm out}\mathrm{d} r+\frac{\pi }{4}+\varphi \right), \\ \\ B\sin \Phi &=& \frac{1}{2}A_{~\mathrm st}\cos \left(2\int _{r^\star }^{r_2} K_{\rm out}\mathrm{d} r+2\varphi \right). \end{array} \right. \end{aligned} $$(C.12)

In this case the glitch phase can be written as,

Φ = arccot [ 2 A st cos ( 2 r r 2 K out d r + 2 φ ) + tan ( r r 2 K out d r + π 4 + φ ) ] . $$ \begin{aligned} \Phi =\mathrm{arccot}\left[\frac{2}{A_{\rm st}\cos {\left(2\int _{r^\star }^{r_2} K_{\rm out}\mathrm{d} r+2\varphi \right)}}\right. \nonumber \\+\left.\tan \left(\int _{r^\star }^{r_2} K_{\rm out}\mathrm{d} r+\frac{\pi }{4}+\varphi \right)\right]. \end{aligned} $$(C.13)

To see how the glitch phase is modified for the mixed modes in this case, one can compare equation (C.13) to equation (16). Recalling that ΔN = Nin − Nou, we rewrite Ast = Nin/Nou − 1 = ΔN/(Nin − ΔN). Using Ast expressed in terms of ΔN in equation (C.13) and noting that tan(θ)+cot(θ) = 1/(sin(θ)cos(θ)) for any θ, equation (C.13) can be rewritten as

Φ = arccot [ 2 A ̂ st cos ( 2 r r 2 K out d r + 2 φ ) cot ( r r 2 K out d r + π 4 + φ ) ] . $$ \begin{aligned} \Phi =\mathrm{arccot}\left[-\frac{2}{\hat{A}_{\rm st}\cos {\left(2\int _{r^\star }^{r_2} K_{\rm out}\mathrm{d} r+2\varphi \right)}}\right.\nonumber \\ -\left.\cot \left(\int _{r^\star }^{r_2} K_{\rm out}\mathrm{d} r+\frac{\pi }{4}+\varphi \right)\right]. \end{aligned} $$(C.14)

Equation (C.14) has the same functional form as equation (16), and we note that the appearance of A ̂ st $ \hat A_{\mathrm{st}} $ instead of Ast was anticipated given that by symmetry a decreasing step-like glitch in the outer cavity should imprint the same signature on pure g modes as an increasing step-like glitch in the inner g-mode cavity, with an associated positive amplitude defined by A ̂ st $ \hat A_{\mathrm{st}} $. Nevertheless, there is a second important difference that we can identify when comparing the two results. In the case of the mixed modes and a glitch located in the outer half of the g-mode cavity, the arguments of the sinusoidal functions change, incorporating, in addition, the coupling phase, φ. This means that the coupling between the two cavities will impact the glitch phase when the glitch is located in the outer half of the cavity. To recover the same expression for Φ as in the pure g-mode case, one must now include the coupling phase φ in the definition of β2.

All Tables

Table 1.

Parameters derived from the fit of the analytical expression for the step-like glitch (Eqs. (10) and (16)) to the periods derived from ADIPLS for the main-sequence model.

Table 2.

Parameters derived from the fit of the analytical expression for the Gaussian-like glitch (Eqs. (10) and (22)) to the period spacing derived from ASTER for the RGB model.

Table 3.

Properties of the simulated glitches used in Sect. 4.4.

Table B.1.

Lower and upper limits of the uniform prior distributions applied in the fit of equation (10) to model data, for the cases of a step-like glitch (equation (16)) and Gaussian-like glitch (equation (22)).

All Figures

thumbnail Fig. 1.

Period échelle diagrams representing the pulsations in the ASTEC models (red asteriscs) and the respective best fits derived from Eq. (10) (black lines). Left panel: main-sequence model and glitch phase given in Eq. (16). Right panel: RGB model and glitch phase given in Eq. (22). The vertical dashed-dotted black line marks res = 0.

In the text
thumbnail Fig. 2.

Buoyancy frequency for the original ASTEC model (dashed black line), the glitchless reference model (dotted black line), and model 5, built by adding to the glitchless reference model a glitch with properties similar to that of the original ASTEC model.

In the text
thumbnail Fig. 3.

Buoyancy frequency for the glitch-simulated models near the glitch position. In all panels, the continuous red line shows the case of model 5, corresponding to a glitch with properties similar to the original ASTEC model. Additionally, the black lines are as follows. Top panel: models 1 (dotted line) and 2 (dashed line). Middle panel: models 3 (dotted line) and 4 (dashed line). Bottom panel: model 6.

In the text
thumbnail Fig. 4.

Period spacings from ASTER for the simulated Gaussian-like glitches listed in Table 3 (black line and plus symbols) and respective best analytical-model fits (dashed red line). The residuals (ASTER – best fit) are also shown for each case. Top: models 1 and 2. Middle: models 3, 4 and 5. Bottom: model 6. The fits in red included a linear smooth component. The dashed blue line in the bottom panel shows the fit without the inclusion of a smooth component. For all other models the fits with and without the inclusion of the smooth component would be indistinguishable in these figures.

In the text
thumbnail Fig. 5.

Ratios between the inferred and true glitch parameters. Buoyancy radius (left), glitch width (middle), glitch amplitude (right). A comparison is shown of the values inferred from the fits to the period spacings (black) and to the periods (red). Note that the symbols have been displaced horizontally for a better visualisation. The horizontal dashed-dotted black line represents a ratio equal to 1.

In the text
thumbnail Fig. A.1.

Schematic view of the buoyancy frequency in the reference model around the glitch (N0, in red) in comparison to that in the model with the glitch (N, in black). Quantities are shown in arbitrary units.

In the text
thumbnail Fig. B.1.

Marginalised distributions for the parameters considered in the fit to model data of the expression for the step-like glitch (equation (10) with Φ defined by equation (16)).

In the text
thumbnail Fig. B.2.

Marginalised distributions for the parameters considered in the fit to model data of the expression for the Gaussian-like glitch (equation (10) with Φ defined by equation (22)).

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.