{'fraction_non_alphanumeric': 0.03218059558117195, 'fraction_numerical': 0.018912103746397693, 'mean_word_length': 4.597110215053763, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Period spacings of gravity modes in rapidly rotating magnetic stars I. Axisymmetric fossil field with poloidal and toroidal components

Context. Stellar magnetic fields are one of the candidates often invoked to explain the missing transport of angular momentum observed in the models of stellar interiors. However, the properties of an internal magnetic field and the consequences of its presence on stellar evolution are largely unknown. Aims. We study the effect of an axisymmetric internal magnetic field on the frequency of gravity modes in rapidly rotating stars to check whether gravity modes can be used to detect and probe such a field. Methods. Rotation is taken into account using the traditional approximation of rotation and the effect of the magnetic field is computed using a perturbative approach. As a proof of concept, we compute frequency shifts due to a mixed (i.e. with both poloidal and toroidal components) fossil magnetic field for a representative model of a known magnetic, rapidly rotating, slowly pulsating B-type star, namely HD 43317. Results. We find that frequency shifts induced by the magnetic field scale with the square of its amplitude. A magnetic field with a near-core strength of order 150 kG (which is consistent with the observed surface field strength of order 1 kG) leads to signatures that are detectable in period spacings for high-radial-order gravity modes. Conclusions. The predicted frequency shifts can be used to constrain internal magnetic fields and offers the potential for a significant step forward in our interpretation of the observed structure of gravity-mode period spacing patterns in rapidly rotating stars.


Introduction
Thanks to high-precision space photometry with missions such as CoRoT (Baglin et al. 2006), Kepler (Borucki et al. 2010), K2 (Howell et al. 2014), and now TESS (Ricker et al. 2015), the study of stellar pulsations has rapidly developed over the last 15 years. It has provided important new information on the internal structure of stars through seismic modelling (see Aerts et al. 2019, for a recent review). In parallel, the observational study of magnetism in stars, e.g. through spectropolarimetry from ground-based facilities, has provided major results on surface magnetic fields and rotation (e.g. Donati & Landstreet 2009;Neiner et al. 2015;Wade et al. 2016). Studying both physical processes (pulsations and magnetism) at the same time offers further opportunities. However, this new combined technique, called magneto-asteroseismology, requires the identification of diagnostic tools.
As a first step, in Prat et al. (2019) (hereafter Paper I), we investigated the effect of an axisymmetric mixed (with both poloidal and toroidal components) magnetic field on gravitoinertial modes computed in the traditional approximation of rotation (TAR; e.g. Lee & Saio 1997;Townsend 2003;Bouabid et al. 2013). Theoretical and numerical studies have shown that the stability of fossil magnetic fields requires such a mixed configuration (e.g. Tayler 1980;Braithwaite & Spruit 2004;Braithwaite 2008;Duez et al. 2010a). We found that a dipolar field with a near-core strength of order 100 kG, corresponding to a few kG at the surface as typically observed in approximately 10% of hot stars (Shultz et al. 2019), shifts the frequencies of gravity modes and modifies the period spacing patterns, which allow us to probe near-core mixing and rotation (Van Reeth et al. 2015a,b;Ouazzani et al. 2017;Christophe et al. 2018), in a way that should be detectable in current observations. However, spectropolarimetric surveys show that most stars with a fossil magnetic field have a tilted magnetic axis with respect to the rotation axis (e.g. Grunhut & Neiner 2015). This obliquity may affect the frequency shifts induced by the magnetic field. Therefore, in the present paper, we address the effect of an oblique mixed magnetic field on the frequency of gravitoinertial modes.

Frequency shifts
In the present work we consider a magnetic field that is weak enough such that the effect of the unperturbed Lorentz force on the hydrostatic equilibrium state is negligible (e.g. Duez et al. 2010b). We use the perturbation theory for rotating stars presented in Paper I to compute the frequency shifts induced by the perturbed Lorentz force where µ 0 is the vacuum permeability, B is the large-scale magnetic field, and δB are the fluctuations of the magnetic field due to the oscillation displacement. Those are given in the adiabatic case by the induction equation where ξ 0 is the unperturbed displacement of the mode. The frequency shifts induced by the magnetic field read where ρ is the density of the background model, ω 0 is the unperturbed angular frequency of the mode in the corotating frame, Ω is the rotation vector, the scalar product is defined by and the asterisk ( * ) denotes the complex conjugate.
In the TAR, the horizontal component of the rotation vector is neglected (Ω Ω cos θe r ), and unperturbed eigenmodes for gravito-inertial waves are given in spherical coordinates (r, θ, ϕ) by where m is the azimuthal order, e r , e θ , and e ϕ are radial, latitudinal, and azimuthal unit vectors, and H r , H θ , and H ϕ are radial, latitudinal, and azimuthal Hough functions, respectively (Hough 1898;Lee & Saio 1997;Townsend 2003). Their precise definitions are given in Paper I.
In the present study we consider the magnetic field as a small pertubation of a rapidly rotating system. Thus, the oscillation axis can be approximated as the rotation axis. In the magnetic frame, which is inclined by an angle β with respect to the rotation axis as illustrated in Fig. 1, the magnetic field reads where B 0 is the strength of the magnetic field, b r , b θ , and b ϕ are radial functions, detailed in Paper I, that model realistic stable fossil configurations (Duez et al. 2010a), and the spherical coordinates in the magnetic frame (e r , e θ , e ϕ ) are (r, θ , ϕ ). In the corotating frame, this leads to where is axisymmetric (with the axis aligned with the polar axis), and is fully oblique (with the axis in the equatorial plane).
Because of the dependence of B eq on ϕ, when computing ξ 0 , δF L /ρ , the integral over ϕ cancels out mixed terms in B pol and B eq , thus leading to where δF pol L and δF eq L are the perturbed Lorentz forces based on B pol and B eq only, respectively. For high-radial-order modes, the eigenfunctions are rapidly oscillating in the radial direction, and the dominant terms in the full expansion given in Appendix A yield where R is the stellar radius, with x = r/R, and ν = 2Ω/ω 0 is the spin factor. Equation (11) shows that the magnetic frequency shifts scale with the square of the field strength, as in the axisymmetric case. In addition, Eq.(13) implies that the dependence on β of the frequency shifts induced by the magnetic field is of the form

Application to HD 43317
Similarly to Paper I, we now compute the new frequency shifts for a representative stellar model of HD 43317, which is a rapidly rotating, magnetic, slowly pulsating B-type star exhibiting g modes (Buysschaert et al. 2018). The adopted model has a mass of 5.8 M , a radius of 3.39 R , an effective temperature of 17822 K, a solar-like metallicity, and a central hydrogen mass fraction of 0.54, which corresponds to an age of 28.4 Myr. The identified g-mode frequencies of HD 43317 range from 0.69162 d −1 to 5.00466 d −1 . The rotation period of the star is P rot = 0.897673 (4)   33% of the Keplerian angular velocity. Its mostly dipolar surface magnetic field has a strength of 1312±332 G and an obliquity angle of 81 ± 6 • (Buysschaert et al. 2018). However, we investigate here how the frequency shifts vary with the obliquity. Therefore, we consider the latter as a variable of the problem hereafter. For non-axisymmetric modes, it is important to distinguish between the frequency in the corotating frame ω and the frequency in the inertial frame ω i , where For non-axisymmetric magnetic fields, the observed frequencies are different from the intrinsic frequencies in the inertial frame, due to the fact that the rotation axis is not exactly the same as the oscillation axis. However, since we consider only the perturbative effect of the magnetic field while rotation is treated nonperturbatively, we choose to neglect this effect and impose that the oscillation axis is the same as the rotation axis.
In this section, we investigate the effect of an oblique magnetic field on zonal (Sect. 3.1), prograde (Sect. 3.2), and retrograde (Sect. 3.3) dipole modes. The impact of rotation is discussed in Sect. 3.4. Figure 2 represents for = 1 and m = 0 the period spacing ∆P between modes of consecutive radial orders as a function of the period P = 2π/ω i . The first result is that the period spacing patterns for an oblique field are very similar to those obtained in the axisymmetric case. Indeed, the dips related to nearcore chemical gradients are transformed at long periods into a sawtooth-like pattern. In addition, it shows that oblique fields induce stronger signatures in the period spacing patterns than axisymmetric fields, with a maximum for an obliquity angle of 90 • . This can be explained by the fact that long-period gravity modes, which are most affected by the magnetic field, are trapped near the equatorial plane, as illustrated in Fig. 1. These modes are mainly sensitive to the radial component of the magnetic field, as shown by Eq. (12), which is maximal on the magnetic axis. Therefore, the expected signature is stronger when the magnetic axis is closer to the equatorial plane, with a maximum for an obliquity angle of 90 • . For the n = −69 mode, the dependence of the frequency shift induced by the magnetic field on β, as predicted by Eq. (14), is shown in Fig. 3. As illustrated in Fig. 4, the enhancement of magnetic frequency shifts obtained when increasing the obliquity angle is similar to the effect of a stronger magnetic field. However it is not strictly equivalent. Indeed, the scaling of the frequency shifts induced by the magnetic field with the period for a larger obliquity angle is different from the scaling found for a stronger field. In theory, it is thus possible to distinguish between the two effects if enough modes are observed (and correctly identified). Figure 5 represents the period spacings for m = 1 between modes of consecutive radial orders as a function of the oscillation period. We observe that oblique magnetic fields have a stronger impact on prograde modes than axisymmetric magnetic fields, similarly to the case of zonal modes. However,  their period spacings go to zero more rapidly for high radial orders than those of zonal modes, which makes magnetic signatures potentially more difficult to detect. This difficulty might be counterbalanced by the fact that prograde sectoral dipole ( = m = 1) g modes are predominantly observed in rapidly rotating intermediate-mass stars (see e.g. Van Reeth et al. 2016;Moravveji et al. 2016;Pápics et al. 2017;Li et al. 2019aLi et al. ,b, 2020. Figure 6 represents the period spacings for m = −1 between modes of consecutive radial orders as a function of the oscillation period. Because of the Doppler shift, retrograde modes are split into two branches. For m = −1, this split occurs at ω = Ω (in the corotating frame). The impact of the magnetic field is negligible on the low-order branch, while it is clearly visible on the high-order branch. Again, oblique fields have stronger signatures than axisymmetric ones. Most of the modes identified in the spectrum of HD 43317 are retrograde modes, but they are all on the low-order branch, and only weak signatures are thus expected. This is consistent with the absence of a detected observational signature of a magnetic field.

Influence of rotation
We now investigate the effect of the rotation rate on the frequency shifts induced by oblique fields. To do so, we computed modes and the associated frequency shifts induced by the magnetic field with 50% and 150% of Ω , the measured rotation rate of HD 43317. This corresponds to 17% and 50% of the Keplerian angular velocity, respectively. For = 1 and m = 0, we obtain the period spacings plotted in Fig. 7. Similarly to the axisymmetric case, the frequency shift induced by the magnetic field for a given mode (at a given radial order) is larger at the lower rotation rate, due to the fact that the mode has a larger period and is thus more sensitive to the magnetic field, according to Eq. (11). In contrast, however, for modes at different rotation rates but close to the same given period, the frequency shift induced by the magnetic field is larger for the larger rotation rate when the obliquity is large. This comes from the more efficient equatorial trapping of large-period modes for larger rotation rates.
Since oblique fields can generate much larger frequency shifts, they require a smaller amplitude to generate negative period spacing values (visible in Fig. 7 for the lower rotation rate). Such negative values mean that the perturbative treatment of the magnetic field is no longer valid. Indeed, such frequency shifts would lead to avoided crossings between consecutive modes, and the description of such interactions between modes requires a non-perturbative treatment (Morsink & Rezania 2002;Mathis & de Brye 2011, e.g.) of the magnetic field (see also the discussion in Van Beeck et al., submitted).

Discussion and conclusions
The analysis presented here shows that the results of Paper I for an axisymmetric, mixed, internal large-scale magnetic field are still valid for the more realistic case of an oblique field. Indeed, the magnetic effect on the oscillation frequencies of gravitoinertial modes in the traditional approximation of rotation modifies the period spacing patterns. The major new result of this study is that the signatures of the presence of a magnetic field in the period spacing patterns are stronger for an oblique field compared to an axisymmetric field, typically up to a factor ten when the field is fully inclined. This is because the magnetic axis is closer to the equatorial region, where low-frequency modes are trapped. As a consequence, weaker fields can be detected if they are inclined. This is true for all mode geometries, including prograde sectoral modes, which are predominantly observed in rapidly rotating stars, and retrograde modes, which are predominantly observed in the particular case of HD 43317 (Buysschaert et al. 2018). The change in the patterns due to the strength of the field and to its obliquity can be distinguished from each other if enough modes are identified in the appropriate frequency regime, especially if several period spacing patterns for different mode geometries are observed. In addition, these signatures are more easily observed if the star rotates slowly. As a consequence, the search for patterns as those shown here would allow us to indirectly discover internal magnetic fields from observations of gravity modes in hot stars.
The influence of various stellar parameters, such as the mass, the age, and the metallicity, on the expected magnetic signatures is investigated in an extensive parallel paper (Van Beeck et al., submitted). The main result of this study is that magnetic signatures are detectable in Kepler data and should be more easily detectable for stars near the terminal-age main sequence. A dedicated search for magnetic signatures such as those predicted in this work has not yet been undertaken in Kepler data . The identification and detailed seismic modelling of pulsating magnetic hot stars will provide observational constraints on the internal properties of their magnetic field. In addition, including magnetic effects on oscillation frequencies will also provide much improved constraints on stellar interiors for early-type stars. This would be a new important step into the recent domain of magneto-asteroseismology, but such observational detections have not been made yet. The new TESS samples of pulsating OB stars are promising in this respect (David-Uraz et al. 2019;Neiner et al., in prep.).
To progress even further on magneto-seismic diagnostics, a non-perturbative treatment of the magnetic field would be needed to be able to consider (i) a magnetic field that is not confined inside the star, and (ii) stronger fields such as those of Ap stars. Moreover, the formalism presented here could be applied to Rossby modes, which are observed in many intermediatemass stars (Van Reeth et al. 2016;Saio et al. 2018;Li et al. 2019b), to provide additional constraints on internal magnetic fields of stars.