Open Access
Issue
A&A
Volume 674, June 2023
Article Number A86
Number of page(s) 18
Section Planets and planetary systems
DOI https://doi.org/10.1051/0004-6361/202245705
Published online 07 June 2023

© The Authors 2023

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

Today’s telescopes are capable of collecting and delivering observational data to such a high level of precision that we are able to detect the absorption of the stellar light caused by the atmosphere of a planet transiting its host star. Atomic species contained in the planetary atmosphere yield narrow absorption signatures in specific spectral lines that are in excess of the broadband absorption caused by clouds and hazes. To isolate this excess absorption, the standard technique consists of comparing stellar spectra measured outside of the transit, representative of the disc-integrated stellar spectrum (Fout) and spectra measured during the transit with a high temporal cadence (Fin). The difference between the out-of-transit and in-transit spectra yields the local stellar spectrum absorbed by the planet and its atmosphere (see Fig. 1). Normalising this absorbed spectrum (Fabs) by a reference spectrum for the occulted star, yields the so-called absorption spectrum (𝒜), which is the counterpart of the transmission spectrum. It is expected to only contain the planetary absorption lines, as follows:

𝒜(λ,t)=Fabs(λ,t)Fref(λ,t).${\cal A}\left( {\lambda ,t} \right) = {{{F_{{\rm{abs}}}}\left( {\lambda ,t} \right)} \over {{F_{{\rm{ref}}}}\left( {\lambda ,t} \right)}}.$(1)

The nomenclature ‘transmission spectrum’ that is also used in the literature can be derived from the absorption spectrum as 𝒯(λ, t) = 1 − 𝒜(λ, t). The definition of the reference spectrum, however, has a huge impact on the content of the absorption spectrum. Ideally, we should define the reference as the local spectrum of the region of the stellar surface occulted by the planet in a given observing exposure. In practice, however, this local spectrum is difficult to determine and, instead, the spectrum of the disc-integrated star is used as a reference. When this approximation is not valid, the extracted absorption spectrum is contaminated by residual stellar spectral lines and can be misinterpreted. As an example, Charbonneau et al. (2002) claimed the first detection of an exoplanet atmosphere by analysing transit observations of the Hot Jupiter HD 209458 b collected by HST STIS spectrograph. They interpreted absorption signatures in the absorption spectra as being due to sodium atoms in the planetary atmosphere. Similar signatures were observed by Snellen et al. (2008) and Albrecht et al. (2008) in Subaru’s HDS spectrograph and UVES/VLT data, apparently supporting their planetary origin. However, Casasayas-Barris et al. (2020, 2021) challenged this claim through a detailed analysis of the absorption spectra of HD 209458 b collected with HARPS-N, CARMENES, and ESPRESSO. They revealed that the Na I signatures observed during the transit of HD 209458 b could be explained by its occultation of the local stellar lines, without the need for an atmosphere. Indeed, the variations in shape and position of the planet-occulted stellar lines along the transit chord create spurious features in absorption spectra when they are normalised by the disc-integrated stellar line (Yan et al. 2017; Casasayas-Barris et al. 2020, 2021; Borsa et al. 2021).

A major limitation to the accurate calculation of absorption spectra is the so-called Rossiter-McLaughlin effect that is due to the planet crossing a rotating star (Rossiter 1924; McLaughlin 1924). The spectrum from a local region of the stellar hemisphere rotating towards (respectively, away from) the observer is indeed blue-shifted (respectively, red-shifted) according to the stellar rotational velocity projected on the line of sight (LOS). The exact Doppler-shift of a given planet-occulted region thus depends on both the stellar rotational velocity and the location of the transit chord, that is, the sky-projection of the orbital trajectory of the planet onto the stellar surface. Therefore, even if the spectrum used as reference for the planet-occulted region has the correct line profile, it should still be shifted to the correct spectral position to avoid biasing the absorption spectrum. Moreover, even if all regions of the stellar photosphere emitted the same line profile, the disc-integrated stellar lines would still be shallower and wider than the local stellar lines for a star that is rotating fast enough. In that case, using the disc-integrated lines as reference for the planet-occulted lines, even shifted at the correct spectral position, would result in abnormal signatures in the absorption spectrum (Louden & Wheatley 2015; Casasayas-Barris et al. 2020, 2021; Borsa et al. 2021).

Another limitation resides in centre-to-limb variations (CLVs) of the local stellar line profile. For an observer on Earth, the line profile from a region of the stellar photosphere arises from photons emerging from the underlying stellar atmospheric layers in the direction of the LOS. However, the photons forming the core and wings of stellar lines originate from different altitudes in the stellar atmosphere. The observed line profile thus changes in shape between the centre of the stellar disc and its limb. At the centre, photons from both deep and shallow atmospheric layers reach the observer. Close to the limb, only the photons from the upper atmospheric layers reach the observer. For more details, we refer, for example, to Fig. 1 of Vernazza et al. (1981), Fig. 6 of Tessore et al. (2021), Allende Prieto et al. (2004), and Pietrow et al. (2023). As the planet moves between the limbs of the star and its centre during transit, the line profile coming from the occulted stellar regions will change in shape accordingly. If the CLVs are strong, using the disc-integrated spectrum or the local spectrum at disc centre as a reference for stellar limb regions will therefore bias the absorption spectrum (Czesla et al. 2015; Yan et al. 2017; Casasayas-Barris et al. 2020).

Stellar rotation and CLVs can bias the absorption spectrum of a planet even in the absence of an atmosphere, as the spurious signatures these effects can create (which we propose calling planet-occulted line distortions, POLDs) arise solely from the local occultation of stellar lines by the planetary disc. An additional limitation arises, however, when the planetary atmosphere contains species absorbing in the same transitions as the occulted stellar lines. The planetary track in the velocity-phase space will follow the orbital trajectory of the planet, while the signatures arising from occulted stellar lines will form a track that follows the radial velocity of the stellar surface regions occulted by the planet along the transit chord. Since host stars typically rotate with velocity on the order of 1 km s−1, while close-in planets have orbital radial velocities of the order of tens of km s−1 at ingress and egress, those two tracks are usually well separated and the stellar track can be masked. In some cases, however, the two tracks can overlap and the features arising from poorly-corrected occulted stellar lines cannot simply be masked.

In earlier studies of exoplanet transits, these limitations were often neglected or overlooked, especially the effects of stellar rotation. This is mainly because the orbital and stellar tracks were blended due to the lower resolution of spectrographs used at that time (Charbonneau et al. 2002; Snellen et al. 2008; Sing et al. 2008; Vidal-Madjar et al. 2011; Spake et al. 2018) or due to the choice of techniques to define and analyse the absorption spectra (Redfield et al. 2008). Although it is worth mentioning that corrections of limb darkening were included in analyses of absorption spectra early on, for example Charbonneau et al. (2002), Sing et al. (2008). However, the advent of high-resolution ground-based spectrographs made possible the measurement of absorption spectra with higher spectral resolution and temporal cadence. It became possible to isolate planetary from stellar absorption lines and to account for their motion in velocity-phase space, reflecting the variation of the planet’s radial velocity during transits. Individual absorption spectra can then be aligned in the planetary rest frame, which helps avoid blurring and allows for them to be cumulated to improve the detectability of atmospheric signatures (Wyttenbach et al. 2015).

Progressively, the community has further become aware of the issues arising from an inaccurate definition of the planet-occulted stellar spectrum to normalise absorption spectra (Louden & Wheatley 2015; Barnes et al. 2016; Yan et al. 2017; Casasayas-Barris et al. 2017) and observation-oriented corrections of the stellar rotation effect on absorption spectra were proposed (Borsa & Zannoni 2018). Some studies still use the measured disc-integrated stellar spectrum as a reference and set it to the spectral position of the local planet-occulted line. This approach remains valid as long as stellar rotation and CLVs are small enough not to substantially alter the disc-integrated line profile compared to the local one (Wyttenbach et al. 2020; Mounzer et al. 2022). Others use stellar atmospheric models to compute a disc-integrated stellar spectrum representative of the measured one. By including CLVs and stellar rotation in their model, they can simulate theoretical absorption spectra comparable to actual observed absorption spectra and better interpret the stellar and planetary signatures they contain (Yan et al. 2017; Casasayas-Barris et al. 2020, 2021, 2022; Borsa et al. 2021). This last approach, however, requires precise knowledge of the target star’s rotational velocity and of how its local spectrum is affected by CLVs. Both characteristics are not straightforward to determine, and our goal in this study is thus to investigate the accuracy of this approach in retrieving the correct planetary atmospheric signal. More precisely, we use forward three-dimensional (3D) simulations of a transiting planet with specific planetary properties, with and without an atmosphere, and include various effects in the simulated local stellar spectrum. Knowing the exact content of the resulting theoretical absorption spectra then allows us to determine how the measured ones can be biased by various extraction methods.

Throughout this paper, we focus on the absorption signature from sodium atoms in the atmosphere of exoplanets. This species has been detected several times in different exoplanets and its absorption signature typically reaches amplitudes on the order of 1% (Nikolov et al. 2016; Wyttenbach et al. 2017; Casasayas-Barris et al. 2018; Chen et al. 2018; Jensen et al. 2018; Deibert et al. 2019; Hoeijmakers et al. 2019; Seidel et al. 2019). The Na I signals are therefore subject to contamination by the aforementioned effects and make an ideal case-study for investigating their impact.

In Sect. 2, we begin by introducing the setup of our code. We also explain how we define the theoretical planetary system and stellar synthetic spectrum. Finally, we detail how we determined the different relevant quantities used to compute absorption spectra from the planet and its putative atmosphere. In Sect. 3, we then study the impact of different stellar effects and extraction methods on the retrieved planetary absorption spectra. Finally, in Sect. 4, we investigate how these biases affect two known exoplanets that have interesting orbital configurations and atmospheric properties.

thumbnail Fig. 1

Visual representation of the difference between Fout and Fin(t) during the transit of a planet with an atmosphere. The result is the stellar spectrum that has been absorbed by the planet and its atmosphere at a specific time. The blue and red colours represent the Doppler shift in wavelength caused by the stellar rotation.

2 Methods

This section is dedicated to showing how we simulated synthetic observations of a transiting planet with the EVaporating Exo-planets (EVE) code (Bourrier & Lecavelier des Etangs 2013; Bourrier et al. 2015, Bourrier et al. 2016) and how we used its end products to extract the synthetic absorption spectra of a transiting planet and its 3D upper atmosphere.

2.1 Framework of the EVaporating Exoplanet code

These spectra can be computed with a high spectral resolution and temporal cadence. The code takes into account geometrical effects associated with the 3D nature of the planetary orbit. Moreover, it uses a detailed description of the stellar spectrum variation over the stellar surface to compute realistic spectra. The code can simulate a 3D planetary atmosphere described by temperature, density, and velocity profiles. This allows us to compare simulated absorption spectra to observations of a transiting planet collected with high-resolution spectrographs to infer the planetary and stellar properties. In the following, we provide an abridged description of how the relevant physical phenomena are taken into account in the code. For a more detailed description, we refer, for instance, to the supplementary material of Allart et al. (2018).

2.1.1 Synthetic stellar spectrum

To simulate the absorption spectra of a transiting planet, it is crucial to accurately define the stellar spectrum it absorbs at each time-step. Indeed, as the planet moves during the transit it hides different regions of the stellar surface, whose local spectral profiles differ from each other due to stellar rotation and ClVs.

To account for these effects, the code models the host star as a disc discretised by a 2D uniform square grid of length equal to the stellar diameter. The intensity spectrum coming from each stellar cell can be set to a constant profile or interpolated from a series of input spectra. As an observer is sensitive to radial velocities, the spectra from each stellar cell are shifted in wavelength according to the sky-projected rotational velocity of the star. In the following, we use the property veq sin(i) to quantify the stellar rotation, where i is the angle between the star’s rotation axis and the LOS and veq is the star’s equatorial rotational velocity. Finally, the spectra are scaled by the effective stellar surface of the grid cell to yield a grid of local flux spectra over the stellar surface.

To define stellar intensity spectra accounting for CLVs, we used the non-Local Thermodynamic Equilibrium (NLTE) version of Turbospectrum code for spectral synthesis1 (Plez 2012; Heiter et al. 2021; Larsen et al. 2022; Magg et al. 2022) and related routines2. This code takes as its inputs: the MARCS pho-tospheric models (Gustafsson et al. 2008)3, spectral line lists from, for example, the VALD3 database4 (Ryabchikova et al. 2015), and precomputed NLTE departure coefficients to simulate the synthetic stellar spectra. We generated intensity spectra for a series of μ values5 following a logarithmic distribution. This allowed us to reach a finer spatial sampling of the stellar limb, where the observed stellar line profiles are altered the most by CLVs.

Figure 2 compares the local and disc-integrated stellar spectra around the Na I D2 line, when accounting for the various effects mentioned above. In case (a) the local lines have the same spectral profile and position over the whole stellar disc. The disc-integrated spectrum thus has the same profile. In case (b) the local lines keep the same spectral profile over the stellar disc, but we set the stellar rotational velocity to a value of veq sin(i) = 10 km s−1. The local line profiles at different μ positions along the stellar equator are thus shifted according to the local radial velocity of the stellar surface. In this case, the disc-integrated spectrum displays rotationally broadened line profiles. In case (c) there is no stellar rotation but CLVs are considered, that is that the local lines remain at the same spectral position but change in shape as a function of μ over the stellar disc. The corresponding disc-integrated spectrum displays line profiles with altered shapes compared to case (a). Case (d) shows the combined effects of CLVs and stellar rotation (veq sin(i) = 10 km s−1). Both the shape and velocity shift of the local lines change as a function of the position on the stellar disc. The disc-integrated spectrum displays rotationally-broadened line profiles with altered shapes compared to the previous cases6.

The comparison of the local and disc-integrated line profiles makes it clear that they differ as soon as strong CLVs or stellar rotation is taken into account. This illustrates why using an incorrect reference for the stellar spectrum absorbed by the planet during its transit when computing the absorption spectrum can induce strong biases.

thumbnail Fig. 2

Local (four upper panels) and disc-integrated (bottom panel) Nal D2 line profile at 5889.95 Å in the air, for a model star simulated with EVE under various conditions. Case a: constant local line profiles over the stellar disc. Case b: impact of fast stellar rotation on local line profiles. Case c: impact of CLVs on local line profiles. Case d: impact of CLVs and fast stellar rotation on local line profiles. Only a few red-shifted local spectra are shown for the sake of clarity in cases c and d. Local intensity spectra were taken for μ positions along the stellar equator to sample larger radial velocities.

2.1.2 Planetary atmospheric profiles

Once the stellar spectral grid has been defined, the code simulates the planet as an opaque disc, which absorbs equally at all wavelengths, surrounded by a 3D uniform cubic grid representing the thermosphere. The EVE code can further account for a collision-less exosphere above this grid, using a Monte-Carlo particle description. In this study, we limit our simulations to the thermosphere, as it is sufficient to illustrate our arguments.

The code computes the temperature, density, and velocity of gas within the thermosphere using 1D vertical profiles, which are distributed throughout the 3D grid assuming spherical symmetry. These profiles are used later in the simulation to compute the spectral optical depth of the thermosphere and, subsequently, to calculate the in-transit spectra.

We assumed that the thermosphere undergoes a hydrody-namical expansion following a Parker wind description (Parker 1958). To compute the thermospheric profiles, we used the relations described, for instance, in Lamers & Cassinelli (1999) and Oklopčić & Hirata (2018) that are adapted from Parker (1958) that had initially been developed for the solar wind. For example, see Eqs. (4) and (6) of Oklopčić & Hirata (2018).

The atmospheric profile derived from these equations is assumed to remain constant over time. This formalism allows us to derive a density profile within the thermosphere that is common to all simulated species. For a given species, we then assumed that its density profile can simply be scaled from the common profile via a chosen density value at a reference altitude, which can be set directly or derived from a known mass loss rate. The density profile of a specific species for an isothermal thermosphere is thus derived as follows from Eq. (7) of Oklopčić & Hirata (2018),

ρsp(r)=ρsp(rtop)exp[ 2rs(1r1rtop)υ2(r)υ2(rtop)2υs2 ],${\rho _{{\rm{sp}}}}\left( r \right) = {\rho _{{\rm{sp}}}}\left( {{r_{{\rm{top}}}}} \right)\exp \left[ {2{r_{\rm{s}}}\left( {{1 \over r} - {1 \over {{r_{{\rm{top}}}}}}} \right) - {{{\upsilon ^2}\left( r \right) - {\upsilon ^2}\left( {{r_{{\rm{top}}}}} \right)} \over {2\upsilon _{\rm{s}}^2}}} \right]\,,$(2)

where ρsp(rtop) is the density of the species at the top of the thermosphere, rs the radius of the sonic point, where the planetary wind becomes supersonic, v(r) is the velocity profile of the species, vs is the speed of sound in the thermosphere. While thermospheric profiles are more complex in reality, we consider our approach sufficient to assess the first-order impact of CLVs and stellar rotation on the atmospheric absorption spectra of transiting planets.

2.1.3 Synthetic observations

The end products of EVE simulations are synthetic time-series of stellar spectra affected by the planet and its atmosphere. The first observable is the disc-integrated spectrum of the host star, computed in the code as the sum of the local spectra from all the cells of the 2D stellar square grid and in units of a specific flux:

Fout(λ)=i=1nF(λ,μi,υradi)=i=1nI(λ,μi,υradi)×ΔΩi,${F_{{\rm{out}}}}\left( \lambda \right) = \sum\limits_{i = 1}^n {{\rm{F}}\left( {\lambda ,{\mu _i},\upsilon _{{\rm{rad}}}^i} \right) = \sum\limits_{i = 1}^n {{\rm{I}}\left( {\lambda ,{\mu _i},\upsilon _{{\rm{rad}}}^i} \right) \times {\rm{\Delta }}{{\rm{\Omega }}_i}\,,} } $(3)

with n as the total number of cells discretising the stellar disc.

Then, i=1n F (λ,μi,υradi)$\sum\limits_{i = 1}^n {\,{\rm{F}}\,\left( {\lambda ,{\mu _i},\upsilon _{{\rm{rad}}}^i} \right)} $ is the specific flux coming from the ith cell on the stellar disc; I(λ,μi,υradi)${\rm{I}}\left( {\lambda ,{\mu _i},\upsilon _{{\rm{rad}}}^i} \right)$ is the specific intensity emitted from the ith cell on the stellar disc, with the dependence on μi indicating that the CLVs (including broadband limb darkening) affect the spectrum coming from the ith stellar cell; υradi$\upsilon _{{\rm{rad}}}^i$ is the radial velocity of the ith stellar cell with respect to a static distant observer; λ represents the wavelength dependency of the intensity; and ΔΩi is the solid angle subtended by the surface of the ith cell at the distance of the stellar surface, defined as the ratio between the surface of the ith cell and the square of the stellar radius. To obtain Fout at any other distance, d, than the stellar radius, we need to perform the following calculation: F out(d)=F out×R*2/d2${F_{\,{\rm{out}}}}\left( d \right) = {F_{\,{\rm{out}}}} \times {{R_*^2} \mathord{\left/ {\vphantom {{R_*^2} {{d^2}}}} \right. \kern-\nulldelimiterspace} {{d^2}}}$.

Once the out-of-transit spectrum is computed, the code moves the planet on a predefined 3D orbital track, sampled with a high temporal and spatial resolution. The simulated transit starts as soon as the atmospheric limb occults the stellar disc, and EVE can then compute disc-integrated stellar spectra (Fin) that accounts for planetary absorption.

This step is done by further discretising the stellar cells at the resolution of the planetary atmospheric grid and identifying the columns parallel to the LOS that arise from this refined stellar grid and cross the thermosphere. The code determines the LOS-positions of sub-cells that fall within the thermosphere, computes their optical depth in each column (Sect. 2.1.2), and, finally, calculates the resulting absorption of the stellar spectrum at the base of the column. In-transit spectra (Fin) are finally computed similarly as the out-of-transit spectrum by summing over local spectra from all stellar cells as:

Fin(λ,t)=i=1nI(λ,μi,υradi)=j=1meτi,j(λ,t)×ΔΩi,j,${F_{{\rm{in}}}}\left( {\lambda ,t} \right) = \sum\limits_{i = 1}^n {{\rm{I}}\left( {\lambda ,{\mu _i},\upsilon _{{\rm{rad}}}^i} \right) = \sum\limits_{j = 1}^m {{{\rm{e}}^{ - {\tau _{i,j}}\left( {\lambda ,{\rm{t}}} \right)}} \times {\rm{\Delta }}{{\rm{\Omega }}_{i,j}}\,,} } $(4)

where the j index runs over the sub-cells of a specific stellar cell at index, i; τi,j is the spectral optical depth of the thermospheric column occulting the stellar sub-cell (i, j). It is equal to 0  (eτi,j=1)$0\,\,\left( {{{\rm{e}}^{ - {\tau _{i,j}}}} = 1} \right)$ when there is no atmosphere or planetary opaque body in front of the stellar sub-cell (i,j). It tends to infinity (eτi,j=0)$\left( {{{\rm{e}}^{ - {\tau _{i,j}}}} = 0} \right)$ for all wavelengths when the cell is behind the planetary disc. It also tends to infinity only for specific wavelengths when the sub-cell is behind a part of the atmosphere that is optically thick. This depends on the structure of the whole thermosphere and the optical properties of the species it contains. Figure 3 shows a sketch of the thermosphere absorbing the stellar flux during the transit to help visualise the architecture of the code.

At the end of a simulation, the code outputs a series of stellar spectra with high spectral and temporal resolution, which contain the absorption of the stellar light by the planet and its atmosphere during the transit. To simulate realistic synthetic observations, the code first convolves the spectra with the chosen instrumental response, then it averages the spectra over a lower-resolution wavelength table matching the instrument, and, finally, it averages the spectra within the chosen temporal windows (e.g. to match the observing cadence of a given dataset).

thumbnail Fig. 3

Simplified sketch of the code’s architecture for the computation of the absorption of the stellar spectrum during the transit of the planet and its atmosphere. Different colours for the thermosphere grid cells mean that their projections fall on different stellar cells. The black arrows represent the stellar light coming out of the stellar surface. We only show a small fraction of the simulated atmosphere for clarity.

2.2 Computing the absorption spectrum

In the previous section, we have shown the different ingredients the code uses to simulate synthetic observational datasets of a transiting planet. In the following, we show how we used these synthetic observations to extract, for each time-step, the atmospheric and planetary absorption signatures. The local spectrum that is absorbed (Fabs) by the planet and its atmosphere is computed as the difference between Fout and Fin (see Fig. 1):

Fabs(λ,t)=Fout(λ)Fin(λ,t)=kI(λ,μk,υradk)kΔΩk,kFabs pl+lI(λ,μl,υradl)l[ 1eτl,l(λ) ]×ΔΩl,l,Fabs atm$\matrix{ {{F_{{\rm{abs}}}}\left( {\lambda ,t} \right)} \hfill & = \hfill & {{F_{{\rm{out}}}}\left( \lambda \right) - {F_{{\rm{in}}}}\left( {\lambda ,t} \right)} \hfill \cr {} \hfill & = \hfill & {\underbrace {\sum\limits_k {\rm{I}} \left( {\lambda ,{\mu _k},\upsilon _{{\rm{rad}}}^k} \right)\sum\limits_{k\prime } {{\rm{\Delta }}{{\rm{\Omega }}_{k,k\prime }}} }_{{F_{{\rm{abs}}\,{\rm{pl}}}}}} \hfill \cr {} \hfill & {} \hfill & {\underbrace { + \sum\limits_l {\rm{I}} \left( {\lambda ,{\mu _l},\upsilon _{{\rm{rad}}}^l} \right)\sum\limits_{l\prime } {\left[ {1 - {{\rm{e}}^{ - \tau l,l\prime \left( \lambda \right)}}} \right] \times {\rm{\Delta }}{{\rm{\Omega }}_{l,l\prime }},} }_{{F_{{\rm{abs}}\,{\rm{atm}}}}}} \hfill \cr } $(5)

where the k index accounts for the stellar cells partially or fully occulted by the planetary disc at a time, t. The l index accounts for the stellar cells partially or fully occulted by the thermosphere at a time t. Indices k′ and l′ run only over stellar sub-cells that are occulted by the planetary body and the thermosphere columns, respectively. To isolate the absorption spectrum, 𝒜(λ,t) (see Eq. (1)), of the planetary atmosphere in a given exposure, we should then divide Fabs by the local spectrum integrated over the stellar surface occulted by the planet (Floc, see Fig. 1). A reasonable approximation for short exposure times is that the spatial scale of stellar lines variations induced by CLVs and stellar rotation is small over the stellar surface occulted by the planet during an exposure. The stellar line profiles of Floc are then the same as those contained in Fabs, so that dividing Fabs by Floc removes the spectral variations due to the stellar lines in the resulting absorption spectrum7. However, in practice, it is difficult to determine the local planetary-occulted spectrum, since only the disc-integrated stellar lines can be observed.

A reference spectrum Fref must thus be defined as a proxy for Floc. For example, most studies use the disc-integrated spectrum, Fout. Yet, as we explain in Sect. 2.1.1, Fout may not be representative of local stellar spectra because its line profiles are formed by a sum of the CLVs and stellar rotation over the stellar surface. An alternative is to use theoretical spectra from models of stellar atmospheres, but their accuracy is also limited by the lack of observational constraints on the spatially resolved stellar surface. Even if it is possible to determine an accurate proxy for the profile of the local planet-occulted stellar line, it can be critical to shift it at the correct position for a given planet-occulted stellar region, which requires a good knowledge of the stellar rotation and planetary trajectory. The choice for Fref thus has a huge impact on the retrieved absorption spectrum from the planetary atmosphere.

A forward model such as the EVE code allows us to generate theoretical absorption spectra with an exact knowledge of the absorption lines from the planetary atmosphere and of the local stellar spectra occulted by the planet. By processing the theoretical spectra in the same way as observational data, using various proxies for Fref, we can thus evaluate their impact on the retrieval of the planetary lines. In the figures of the following sections, we show the ‘unaffected’ absorption spectrum computed with the exact Floc from the simulations as a point of comparison.

3 Stellar and orbital contamination in absorption spectra

In this section, we show how the absorption signature retrieved from absorption spectra depends on the spectral profile chosen as proxy for the planet-occulted spectrum. As a test case to study the biases in the measured absorption spectra, we chose to simulate the transits of HD 209458 b (Henry et al. 2000; Charbonneau et al. 2000), a typical and well-studied Hot Jupiter for which the detection of atmospheric sodium has been challenged due to stellar contamination (Casasayas-Barris et al. 2020, 2021). We used the EVE code to produce synthetic spectra of HD 209458 during the planetary transit. First, we simulated the transit of the planet without sodium in its atmosphere to investigate the spurious signatures created by stellar contamination. We then performed the same simulations with a thermosphere containing neutral sodium atoms (Sect. 2.1.2), to investigate how the stellar signature can bias the planetary one. The simulations were performed using two different synthetic stellar grids: spectral profiles affected by rotation (cf. case b Sect. 2.1.1); spectral profiles affected by CLVs (cf. case c Sect. 2.1.1). We chose to study these effects separately to clearly identify the impact of their contamination on the atmospheric absorption spectrum. For each effect, we also explored different definitions for the reference spectrum. We simulated a planetary thermosphere made of ~90% of hydrogen and ~10% of helium. Neutral sodium was included as a trace species, with an abundance of -0.0001% (0.000007 ppm) (Nikolov et al. 2018), with respect to the total thermospheric density. This composition yields a mean atomic mass of ~1.30746 units of atomic mass. The absolute density of the thermosphere was scaled so that its excess atmospheric absorption signature peaks at approximately ~1% in the Na ID2 and D1 doublet, which is typical of the measured Na I absorption signature of Hot Jupiters (e.g. Wyttenbach et al. 2017; Casasayas-Barris et al. 2018; Seidel et al. 2019). Table 1 lists the parameters we used for the simulated system.

3.1 Impact of stellar rotation

We explored two different stellar rotational velocities (veq sin(i) = 3 km s−1 and 20 km s−1) and two different sky-projected spin-orbit angle (λ = 0 and 45°). We note that the impact parameter also influences the orbital track of the planet and its projected trajectory across the stellar surface, so that high values of the impact parameter and spin-orbit angle can, for example, lead the planet to transit only the blue or red-shifted part of the stellar disc. In our present simulations, however, we set the impact parameter to 0 to isolate the net effects of stellar rotation and spin-orbit angle.

We compared the absorption spectra retrieved through three different ways of defining Fref: with the disc-integrated spectrum Fout, as is commonly done in the literature; with Fout shifted to the radial velocity of the stellar region occulted by the planet in a given exposure, and with the local stellar line profile (Floc (μ = 1)) from the stellar region that would be occulted at the centre of the stellar disc (here corresponding to the centre of the transit T0). The retrieved absorption spectra are compared with the unaffected absorption spectrum calculated with the local stellar profile (Floc(t)) from each planet-occulted region. Here, we focus on absorption spectra calculated at two representative time-steps: the centre of the transit (T0) and the second contact (T2, just after ingress).

Table 1

HD 209458’s stellar and planetary properties.

3.1.1 Without the thermosphere

Figure 4 shows the results of simulations with only the planetary disc simulated during the transit. Figure A.1 shows the quantities used to compute the absorption spectra to help understand these results. With veq sin(i) → 0 the local planet-occulted line profile tends to be equal to both Floc (μ = 1) and Fout, since the Dopplershift of the planet-occulted regions and the broadening of the disc-integrated lines are then negligible. All other effects being ignored, POLDs are negligible for slow rotators and using Fout as reference to compute absorption spectra is a valid approximation. We discuss below the cases of moderate to fast rotators.

At T2, the case where Floc (μ = 1) is used as reference to compute the absorption spectrum (green curves) has the strongest POLD regardless of the value of the stellar rotational velocity. This is because the planet-occulted stellar lines are narrow and shifted away from their rest wavelength by stellar rotation, while the line profile of Floc (μ = 1) is similarly narrow but remains centred on the rest wavelength. The POLD becomes stronger with increasing veq sin(i), as the planet-occulted line profile separates more and more from the line profile of Floc (μ = 1), and the former ends up being normalised by the continuum of the latter – at which point the POLD is made of the full spectral profiles of both lines. At T0, on the other hand, as the planet has a null impact parameter, the planet-occulted line profile is naturally equal to the line profile in Floc (μ = 1) and the absorption spectrum does not exhibit any POLD.

We now discuss the case for which Fout is used as reference without being shifted at the position of the planet-occulted line (black curves). We first consider the exposure at T2. For moderate values of veq sin(i), the POLD is similar to the case with Floc (μ = 1) because the planet-occulted line profile remains close to its rest wavelength and the line profile of Fout is only slightly broadened compared to Floc (μ = 1). When veq sin(i) increases, the peak-to-peak amplitude of the POLD increases but remains smaller than the case with Floc (μ = 1) used as reference. This is because the planet-occulted line shifts farther from its rest wavelength but remains in the wings of the broadened disc-integrated line of Fout, rather than the flat continuum of Floc (μ = 1). The POLD is maximum and tends towards the same profile as the planet-occulted profile, similarly to the case with Floc (μ = 1) used as reference, in the case of fast rotators when the disc-integrated line profile is flattened by broadening and the occulted line profile is normalised by a nearly constant flux.

For a given veq sin(i) the amplitude of the POLD decreases when the planet-occulted line shifts closer to its rest wavelength (which corresponds to the centre of the disc-integrated line profile), as the flux in Fout gets more similar to the flux in the occulted line core. The POLD is thus minimal at the centre of the transit (T0) for an aligned orbit, but its amplitude is not null and is controlled by the flux ratio between the occulted and disc-integrated line cores (>1 since the disc-integrated line is rotationally broadened) and thus increases with larger veq sin(i).

The case for which Fout is used as reference, but shifted at the position of the planet-occulted line results in the same POLD as the absorption spectrum at T0 computed with Fout (i.e. the dashed black curve), but shifted to the radial velocity of the planet-occulted stellar region.

Increasing the sky-projected spin-orbit angle changes the orbital track over the stellar surface, such that the planet occults regions with lower radial velocity throughout the transit. For the same time-step, the shift of the planet-occulted line profiles is smaller. Their spectral distance to an unshifted reference spectrum (Fout or Floc(μ = 1)) is reduced and the resulting POLD is of smaller amplitude.

thumbnail Fig. 4

Excess absorption spectra without thermospheric sodium, as a function of wavelength in the stellar rest frame, computed with the different reference spectra mentioned in Sect. 3.1. We display results for two veq sin(i) values as well as for two sky-projected spin-orbit angles. The vertical grey lines mark the transition wavelength of Na I D2. For comparison the horizontal dashed grey lines mark the highest and lowest values of the POLD, obtained for λ = 0°.

3.1.2 With the thermosphere

Figures 5 and 6 show the results obtained with a thermosphere included in our simulation, for veq sin(i) = 20 and 3 km s−1, respectively. As expected, we see in these figures that the unaffected atmospheric absorption signature is shifted according to the radial orbital velocity of the planet at the time of the considered exposures (i.e. at T2 and T0). Also, we notice that the POLD can to some extent compensate the atmospheric absorption signature. This is accentuated when there is an overlap between these signatures; for example, at the centre of the transit (T0) where both the stellar radial velocity and the radial orbital velocity of the planet are null (for the circular, aligned orbit assumed in our simulations). As we show in Sect. 3.1.1, the POLD increases in amplitude when veq sin(i) increases. The atmospheric absorption signature is thus less affected for lower veq sin(i).

We also note that for the same reasons as explained in the paragraphs above, at T0, the absorption spectrum derived with Floc (μ = 1) is the same as the unaffected case. The same goes for the absorption spectrum derived with both Fout and the shifted Fout.

The overlap between the atmospheric absorption signature and the POLD can happen at various positions along the transit chord depending on the radial orbital velocity of the planet. For example the radial orbital velocity of our test planet at T2 is vorb(T2) = 14.4 km s−1. For the case with veq sin(i) = 3 km s−1, the radial velocity of the corresponding occulted stellar region is 2.6 km s−1 and 1.8 km s−1 for λ = 0° and 45°, respectively. In both cases, the atmospheric signature is almost entirely disentangled from the POLD and is weakly affected for all choices of Fref. On the contrary, for the case with veq sin(i) = 20 km s−1, the radial velocity of the occulted stellar region is 17.3 km s−1 and to 12.3 km s−1 for λ = 0° and 45°, respectively. In this case, the atmospheric signature is shifted close to the POLD and is strongly contaminated.

3.1.3 Conclusion

In conclusion, using the disc-integrated line profiles of a star in rotation as a proxy for the planet-occulted stellar line profiles results in spurious emission-like and absorption-like features in absorption spectra. As veq sin(i) increases, the amplitudes of the simulated POLDs increase because the broadened, shallower disc-integrated stellar line profiles differentiate more and more from the local planet-occulted line profiles. In the case of very fast rotators, the POLD tends to directly reproduce the planet-occulted stellar line profiles. Even for small veq sin(i), the amplitude of the POLD can be on the order of magnitude of typical atmospheric absorption signatures. When the orbital track of the planet overlaps with the planet-occulted stellar line track in radial velocity-phase space, it becomes difficult to disentangle planetary atmospheric absorption signatures from the POLD. No matter the line profile that is used for Fref, it will induce POLDs if it is not shifted to the radial velocity of the planet-occulted stellar lines. It can therefore be more adequate to use a shifted Fout as a reference spectrum rather than the correct but unshifted line profile. A larger spin-orbit angle reduces the overall amplitude of the POLD as the planet occults stellar regions with lower radial velocity during its transit.

thumbnail Fig. 5

Excess absorption spectra with thermospheric sodium, as a function of wavelength in the stellar rest frame, computed with the different reference spectra mentioned in Sect. 3.1 and for a veq sin(i) = 20 km s−1. Upper panels: excess absorption spectra. Lower panels: quantities used to compute the absorption spectra. Here, Fout was multiplied by the ratio between the occulted surface and the surface of the star to bring it to the level of Floc and make the comparison easier. We show results for different time-steps (T2 and T0) and sky-projected spin-orbit angles (0 and 45°).

thumbnail Fig. 6

Excess absorption spectra with thermospheric sodium, as a function of wavelength in the stellar rest frame, computed with the different reference spectra mentioned in Sect. 3.1 and for a veq sin(i) = 3 km s−1. Upper panels: excess absorption spectra. Lower panels: quantities used to compute the absorption spectra. Here, Fout was multiplied by the ratio between the occulted surface and the surface of the star to bring it to the level of Floc and make the comparison easier. We show results for different time-steps (T2 and T0) and sky-projected spin-orbit angles (0 and 45°).

3.2 Centre-to-limb variations

For these simulations, the synthetic local stellar line profiles were influenced by CLVs, but no rotational velocity was included. We compared the absorption spectra retrieved through two different ways of defining Fref : with the disc-integrated spectrum Fout, whose spectral line profile is a combination of the CLVs over the entire stellar disc and whose continuum is affected by a mean broadband limb darkening; with Floc(μ = 4), from the stellar region that would be occulted at the centre of the stellar disc, which matches the planet-occulted line profile at transit centre (T0) in our simulation, but deviates from the local stellar line profiles towards the limbs due to the CLVs. Figure 7 shows the results of the simulations with and without the thermosphere for the time-step at the centre of the transit (T0). Figure 8 shows the results of the same simulations for the time-step just after ingress (T2).

3.2.1 Impact on the stellar line profiles

When using Fout as reference, POLDs are created at both time-steps. At T0, where the planet is at the centre of the stellar disc, the planet-occulted line profile is not influenced by CLVs, and differs the most from the line profile of Fout, especially in the wings. At Τ2, both the planet-occulted and disc-integrated stellar line profiles are affected by CLVs. Their wings, in particular, are closer in shape which tends to mitigate the amplitude of the POLD in the absorption spectrum. When using Floc(μ = 1) as reference, POLDs are created only at T2, where the planet-occulted line profile from the stellar limb is the most affected by CLVs. At T0 the reference matches by definition the planet-occulted line profile.

We conclude that although the POLDs created by CLVs are smaller than those caused by moderate-to-fast stellar rotator, they can still reach 0.2–0.4%. In the case of a slowly rotating star, these POLDs can therefore lead to misinterpretation of the actual atmospheric signature. In this case, there is no better choice for a reference spectrum between Fout and Floc(μ = 1). When the planet occults regions close to the limb, it is better to use Fout as its line profile is also affected by CLVs and is thus closer to the planet-occulted line profile. However, closer to the stellar disc centre, it is better to use Floc(μ = 1) as the effect of CLVs on the planet-occulted line profile becomes negligible.

3.2.2 Impact on the stellar continuum

In addition to the spurious signature in the line profiles, we also note an underestimation (resp. overestimation) of the continuum level of the absorption spectra computed with Fout at a time-step of T2 (resp. T0). This is due to broadband limb-darkening (BLD), which uniformly reduces the continuum of the local stellar spectrum closer to the stellar limb. When accounting for this effect in the definition of the stellar grid, the resulting Fout is affected by an average BLD and its continuum level decreases compared to the continuum of a purely uniform stellar emission case.

Making the approximation that only BLD affects the stellar spectrum (i.e. the local line profile is uniform over the stellar disc) and that it takes the form of a multiplicative coefficient, we write Eq. (1) as:

Fabs(λ,t)Fout(λ)=k,kI0(λ)LDk(t)ΔΩk,k+l,l[ 1eτl,l(λ) ]I0(λ)LDl(t)ΔΩl,liI0(λ)LDiΔΩi,$\matrix{ {{{{F_{{\rm{abs}}}}\left( {\lambda ,t} \right)} \over {{F_{{\rm{out}}}}\left( \lambda \right)}} = } \hfill \cr {{{\sum\limits_{k,k\prime } {{{\rm{I}}_0}\left( \lambda \right)\,{\rm{L}}{{\rm{D}}_k}\left( t \right){\rm{\Delta }}{{\rm{\Omega }}_{k,k\prime }} + \sum\limits_{l,l\prime } {\left[ {1 - {{\rm{e}}^{ - \tau l,l\prime \left( \lambda \right)}}} \right]\,{{\rm{I}}_0}\left( \lambda \right)\,{\rm{L}}{{\rm{D}}_l}\left( t \right){\rm{\Delta }}{{\rm{\Omega }}_{l,l\prime }}} } } \over {\sum\limits_i {{{\rm{I}}_0}\left( \lambda \right){\rm{L}}{{\rm{D}}_i}{\rm{\Delta }}{{\rm{\Omega }}_i}} }},} \hfill \cr } $(6)

After simplifying for I0 and neglecting BLD variations across the planet-occulted surface, we get

Fabs(λ,t)Fout(λ)=LD(t)Spl(t)+[ 1eτatm(λ) ] LD(t)Satm(t)SLD.${{{F_{{\rm{abs}}}}\left( {\lambda ,t} \right)} \over {{F_{{\rm{out}}}}\left( \lambda \right)}} = {{{\rm{LD}}\left( t \right){{\rm{S}}_{{\rm{pl}}}}\left( t \right) + \left[ {1 - {{\rm{e}}^{ - {\tau _{atm}}\left( \lambda \right)}}} \right]\,{\rm{LD}}\left( t \right){{\rm{S}}_{{\rm{atm}}}}\left( t \right)} \over {S_ * ^{{\rm{LD}}}}}.$(7)

where the pl and atm subscripts refer to the stellar regions occulted by the planetary disc and the thermosphere respectively, S*LD$S_*^{{\rm{LD}}}$ stands for the BLD-weighted stellar surface, and τatm stands for the mean spectral optical depth in the atmosphere.

At T0, the planet-occulted surface in Fabs is not affected by BLD (LD = 1), while S*LD$S_*^{{\rm{LD}}}$ is smaller than the stellar surface. The continuum of Fabs/F0ut is thus greater than the planet-to-star surface ratio. In contrast at T2, near the stellar limb, the planet-occulted surface in Fabs is strongly down-weighted by BLD (LD < 1), so that the continuum of Fabs/F0ut is lower than the planet-to-star surface ratio. First, this shows the need to properly account for limb-darkening to make absorption spectra comparable. Subtracting the known planet-to-star surface ratio is not sufficient, as we can see in the above simulation where the continuum of Fabs/FoutSpl/S* will be respectively larger and lower than zero at T0 (Fig. 7 ) and T2 (Fig. 8 ). In the literature, absorption spectra are set to a null value outside of the planetary absorption lines by subtracting the measured continuum (LD(t) S pl(t)/S*LD${{{S_{\,{\rm{pl}}}}\left( t \right)} \mathord{\left/ {\vphantom {{{S_{\,{\rm{pl}}}}\left( t \right)} {S_*^{{\rm{LD}}}}}} \right. \kern-\nulldelimiterspace} {S_*^{{\rm{LD}}}}}$ from Eq. (7). However, it is clear by looking at Eq. (7) that this operation is not sufficient to remove the effect of BLD on the atmospheric absorption signature. On the contrary, Eq. (7) (see also Mounzer et al. 2022) illustrates how we can correct for BLD by multiplying the absorption spectrum with S*LD/(LD(t)S*)${{S_*^{{\rm{LD}}}} \mathord{\left/ {\vphantom {{S_*^{{\rm{LD}}}} {\left( {{\rm{LD}}\left( t \right)S{\,_*}} \right)}}} \right. \kern-\nulldelimiterspace} {\left( {{\rm{LD}}\left( t \right)S{\,_*}} \right)}}$, thus ensuring that all absorption spectra are equivalent. We note that this correction can be applied before or after subtracting for the measured continuum. Figure 9 shows the absorption spectra of the same simulation as Sect. 3.2.1 after we shifted their continuum to 0. This figure shows that the ratio between the continuum and the peak of the atmospheric absorption signature does not match the one of the unaffected signature, as we did not correct for the BLD coefficient ratio introduced above.

Although the effect of BLD is smaller than the CLV effect on the retrieved atmospheric line profile, it can become significant when searching for faint signatures and thus needs to be accounted for as described above. We note that the standard practice (e.g. Casasayas-Barris et al. 2020, 2021, Casasayas-Barris et al. 2022) of normalising the out-of-transit and in-transit spectra to the same flux level before computing the absorption spectrum does not remove this bias (see Appendix B). We thus emphasise the importance of not normalising flux spectra to the same level and not simply correcting absorption spectra for their measured continuum, but instead accounting for the effect of BLD in individual absorption spectra with the correction factor given above.

thumbnail Fig. 7

Atmospheric absorption spectra at the centre of the transit as a function of wavelength in the stellar rest frame, for synthetic stellar spectra containing CLVs. Upper panel: absorption spectrum of the planetary disc only. Middle panel: absorption spectrum of the planet with a thermosphere. The black dashed curves were computed using Fout. Blue dashed curves were computed using Floc(T0). Lower panel: quantities used to compute the absorption spectra. We multiplied Fout by the ratio between the occulted surface and the surface of the star to bring it to the level of Floc and make the comparison easier.

thumbnail Fig. 8

Atmospheric absorption spectra at the time-step after ingress as a function of wavelength in the stellar rest frame, for synthetic stellar spectra containing CLVs. Upper panel: absorption spectrum of the planetary disc only. Middle panel: absorption spectrum of the planet with a thermosphere. The black dashed curves were computed using Fout. Blue dashed curves were computed using Floc(T0). Lower panel: quantities used to compute the absorption spectra. We multiplied Fout by the ratio between the occulted surface and the surface of the star to bring it to the level of Floc and make the comparison easier.

thumbnail Fig. 9

Zoom on the middle panels of Figs. 7 and 8 after manually shifting the continuum of the absorption spectra to 0.

4 Application to exoplanet systems

Now that we better understand how the occultation of stellar lines by a transiting planet can bias the absorption spectrum of its atmosphere, we can study the case of two planetary systems of particular interest in detail.

4.1 Controversial case of HD 209458 b

4.1.1 Context

Charbonneau et al. (2002) analysed transit observations collected by the HST STIS spectrograph and claimed the detection of sodium atoms in the atmosphere of HD 209458 b. This detection was corroborated by Snellen et al. (2008) and Albrecht et al. (2008) after studying Subaru’s HDS spectrograph and UVES/VLT data. More recently, Casasayas-Barris et al. (2020) studied in details the absorption spectra of transits of HD 209458 b using observations collected with HARPS-N and CARMENES. Based on a similar methodology to ours, these authors simulated transits of a planetary body corresponding to HD 209458 b. They first computed a disc integrated spectrum (i.e. Fout), using the tool Spectroscopy Made Easy (Valenti & Piskunov 1996) along with line lists from the VALD database, and accounting for CLVs and stellar rotation. Then, for a series of positions corresponding to the observed exposures they computed the synthetic local spectra absorbed by the planet and subtracted it from Fout to derive in-transit spectra that they used to compute absorption spectra.

They showed that the transit of HD 209458 b’s opaque continuum could reproduce the observed features, without the need for sodium absorption from the atmosphere. However, there remained a difference between their model and the observations, which led Casasayas-Barris et al. (2021) to analyse absorption spectra of HD 209458 b collected by ESPRESSO using a refined model. By including non-local thermodynamic equilibrium (NLTE) effects in their synthetic stellar spectra, they were able to match better the observed absorption feature in the Na I D2 line. This supports the conclusion that the apparent absorption signatures of HD 209458 b in the Na I D1 and D2 spectral lines can entirely be explained by POLDs induced by CLVs and stellar rotation. However, Casasayas-Barris et al. (2021) did not investigate whether the observations could still trace the presence of atmospheric Na I absorption from the planet.

4.1.2 Reproducing published results

The aim of this section is to investigate whether the feature observed during the transit of HD 209458b could be explained by a combination of POLDs and atmospheric absorption or only by POLDs including NLTE effects alone (as proposed by Casasayas-Barris et al. 2021). To do so, we simulated transits of HD 209458 b with the EVE code, following the approach described in Sect. 2.

Our first step was to reproduce the same absorption spectrum as Casasayas-Barris et al. (2021), that is, by including NLTE effects in the stellar spectrum and simulating a transit of a bare planet. To define the spectral grid of HD 209458, we used the interpolation routine provided in the Turbospectrum_NLTE package8 to interpolate a MARCS photospheric model corresponding to a temperature of 6065 K, a log g of 4.361 cms-2, and a metallicity [Fe/H] of 0. We then used Turbospectrum to compute a series of intensity spectra emerging from this stellar atmosphere model and thus accounting for broad-band limb darkening and CLVs. The shift in wavelength of the local spectra due to stellar rotation was added subsequently to each grid cell in EVE. We simulated a series of exposures during the transit of an opaque disc with the radius of HD 209458 b. The timestep of the simulation was set to a typical exposure time of two minutes for a bright star observed with ESPRESSO, and the spectral resolution and instrumental response correspond to this instrument.

Table 1 shows the parameters of the system that we used for the simulations. To be comparable with Casasayas-Barris et al. (2020, 2021), all flux spectra were normalised to the same continuum and absorption spectra were computed as Fin(t)FoutFout${{{F_{{\rm{in}}}}\left( t \right) - {F_{{\rm{out}}}}} \over {{F_{{\rm{out}}}}}}$9. We caution that while this step is commonly applied in the literature to set the continuum of absorption spectra to 0, it can be the source of bias (Sect. 3.2.2). To make sure that this step would not change our conclusions, we computed the difference between the peak of the atmospheric signature and the continuum of the mean absorption spectrum. We found that normalising spectra beforehand only increases the absorption by 0.01%, and thus that this bias is negligible in the present case.

thumbnail Fig. 10

Theoretical absorption spectra of HD 209458 b computed with the out-of-transit spectrum as a function of the wavelength in the planetary rest frame with and without sodium atmosphere. The blue points are ESPRESSO data from Casasayas-Barris et al. (2021). Upper panel: mean of the theoretical absorption spectra between contact times T2 and T3. Lower panel: theoretical absorption spectrum at contact times T2 and T3.

4.1.3 Searching for additional signatures

As can be seen in Fig. 10, the simulation with NLTE alone provides a good match to the observed absorption spectrum, similarly to Casasayas-Barris et al. (2021). However, we note that there still remains a gap between the simulation and the observation, which might be explained by the absorption signature from planetary sodium. By taking a closer look at the absorption spectrum around the Na I D1 line (see Fig. C.1), we see a deviation from the simulated POLD in the red wing of the measured profile, which is not present in the D2 line. This deviation is unlikely to be of planetary origins because it is not centred in the planet rest frame and because, considering that the D2/D1 oscillator strength ratio is about two, we would expect an even deeper absorption signature in the D2 line than in the D1 line. We thus consider the deviation in the D1 line to be spurious, and used the D2 line alone to fit a planetary atmospheric signature. The temperature and radius of the thermosphere were fixed to 8000 K and 2.94 planetary radius (i.e. the Roche lobe), respectively. We found that the best fit is obtained for a thermosphere with a sodium density at the top of 0.0007 ± 0.0003 at cm−3 (see the corresponding absorption spectrum in Fig. 10). Although a model with no thermospheric sodium is consistent with the data within 2σ from the best fit, our results hint at the possible presence of sodium in the atmosphere of HD 209458 b. Precise stellar models and repeated observations with ESPRESSO or other suited high-resolution spectrographs, along with a coupled exploration of the stellar and planetary models with codes such as EVE will be necessary to confirm this result.

Figure 11 shows the 2D map of excess absorption spectra for the simulation with NLTE alone and for the best-fit simulation with atmospheric sodium. These maps are built to show the time evolution of the absorption spectrum as a function of wavelength during the transit, allowing a direct visualisation of the putative signature along the planetary orbital tracks and planet-occulted stellar line tracks. In the upper panel, showing the simulation without Na I in the thermosphere, we notice the typical POLDs induced by stellar rotation (Sect. 3.1). In the lower panel, the additional contribution from the thermosphere is slightly visible along the orbital track of the planet, particularly at the beginning and end of the transit. Even though the planetary atmospheric and the POLD tracks are relatively well disentangled for this system, the width of the POLD is such that they contaminate the atmospheric signature during most of the transit, especially around T0. It is thus not straightforward to isolate the pure atmospheric signature, for example, by masking the POLD. Furthermore, in real observations disentangling the two features would be made harder by noise. In cases such as that of HD 209458b, it thus remains useful to interpret the mean absorption spectrum rather than individual exposures, to detect a possible atmospheric signature thanks to the increased signal-to-noise ratio (S/N) at the expense of the loss in the temporal evolution of the signal and of a stronger blending between the POLD and atmospheric signature. This highlights the need to better understand how POLDs bias the absorption spectrum when searching for the presence of a planetary atmosphere.

Finally, we investigated changing the Na I stellar abundance in our synthetic stellar model, as it modifies the depth of the stellar lines and thus the amplitude of the POLD. Casasayas-Barris et al. (2021) showed that including NLTE effects increases the amplitude of the POLD around the Na I doublet lines. We thus wanted to assess whether a change in the Na I stellar abundance could lead to the same result as including NLTE effects. We were able to get a better agreement with the observed absorption spectrum using a synthetic stellar model without NLTE and an adjusted Na I abundance (Fig. D.1), but the match is not as good as that obtained by Casasayas-Barris et al. (2021), where NLTE effects are included. Furthermore, changing the stellar Na I abundance also changes the depth of the disc-integrated stellar line. In this simulation, the stellar abundance was such that the synthetic disc-integrated stellar line departs from the observed one. Modifying the stellar abundance of the planet-occulted line is therefore not a likely alternative to explain the observed absorption spectrum in the case of HD 209458 and it highlights the need to fit together the POLD and disc-integrated lines, or at least use a prior on the abundance derived from the fit to the disc-integrated spectrum when fitting the POLD.

thumbnail Fig. 11

Theoretical absorption spectra of HD 209458 b around the Na I D2 line, as a function of time and wavelength in the stellar rest frame. The simulated out-of-transit spectrum was used as reference. Upper panel: without a thermosphere. Lower panel: with a thermosphere containing neutral sodium atoms. The atmospheric absorption signature follows the orbital track of the planet represented by green curves. The horizontal orange dashed lines show the contact times of the transit. The y-axis shows time from the centre of the transit.

4.2 The peculiar case of MASCARA-1 b

In the case of HD 209458 b, the atmospheric absorption signature that we simulated could be distinguished from the POLD in most exposures, as both signatures follow separate tracks in velocity-phase space that only cross at transit centre (see Fig. 11). However, some orbital and stellar configurations can be such that the orbital and planet-occulted tracks overlap during most of the transit. This typically happens for planets on aligned and circular orbits with orbital radial velocity at ingress and egress on the order of the sky-projected stellar rotational velocity (Sects. 3 and 4.3).

Casasayas-Barris et al. (2022) studied ESPRESSO transit observations of such a system, MASCARA-1 b (Talens et al. 2017), and could not assess the presence of an atmospheric Na I signature due to the overlap between the orbital and planet-occulted tracks. The authors however explored the effects of stellar rotation and orbital parameters in the Na I doublet, finding that their simulated POLD, being too shallow, could never fully explain the observed signature.

Expanding on their analysis, we note that the large stellar rotational velocity yields a broad and shallow disc-integrated line profile, so that the POLD directly traces the planet-occulted line profile, as explained in Sect. 3.1. Deeper planet-occulted stellar line profiles would thus induce stronger POLDs that could help explain the absorption spectrum produced by Casasayas-Barris et al. (2022). Interestingly, both increasing the stellar abundance of Na I and accounting for NLTE effects in the synthetic stellar sodium lines (Casasayas-Barris et al. 2021) increase their depth. We first included NLTE effects in our synthetic stellar model and then explored the effect of Na I stellar abundance, setting the EVE transit simulations10 as described in Sect. 2.

First, we used the nominal stellar parameters from Table 2 and a solar abundance. We see in the upper panel of Fig. 12, which shows the mean absorption spectra of MASCARA-1 b around the Na I D2 line, that the simulated POLDs are not strong enough to match the observed signature. This is in part due to the fact that the stellar line profiles are not deep enough for a solar abundance, as can be seen in Fig. 13. A visual inspection of the absorption spectrum by Casasayas-Barris et al. (2022) (Fig. 12) shows that it is asymmetrical in the planetary rest frame. This is an interesting feature considering that the putative absorption by the planetary atmosphere would fall in the blue wing of the signature. Furthermore, we know from the discussions in previous sections of this paper that an atmospheric absorption signature would peak in the other direction than the POLD. First, we found that the core and red wing of the observed signature can be reproduced by the POLD induced by deeper occulted lines, with A*(Na I)=12+log10(n(Na I)n(H))=7.5${A_*}\left( {{\rm{Na}}\,{\rm{I}}} \right) = 12 + {\log _{10}}\left( {{{n\left( {{\rm{Na}}\,{\rm{I}}} \right)} \over {n\left( {\rm{H}} \right)}}} \right) = 7.5$ (middle panel of Fig. 12, dashed red curve). We note that we modified the veqsin(i) value by −1σ to get a better match. Using this stellar abundance, we found a good match to the blue wing of the observed signature after adding a thermosphere in the simulation (red curve, middle panel of Fig. 12) with a temperature of 9500 K, a radius of 3.23 planetary radius (Roche lobe radius), and a Na I density at this radius of 1 × 10−14 at cm −3. Unfortunately the stellar sodium abundance necessary to reproduce the absorption spectrum yields a strong mismatch between the simulated and observed disc-integrated spectra (Fig. 13), highlighting again the need to account for both local and global stellar lines in such simulations.

We thus decided to model those lines together, co-adding the χFout2$\chi _{{{\rm{F}}_{{\rm{out}}}}}^2$ and χ𝒜2$\chi _{\cal A}^2$ from the independent fits to the disc-integrated spectrum and the absorption spectrum. The synthetic disc-integrated line, fitted using our model stellar grid, is controlled by the Na I stellar abundance and the stellar rotational velocity. For the latter we only used three values (nominal, nominal + 1σ, nominal + 2σ), considering that the fit to the two sodium lines will not constrain the stellar rotational velocity better than the literature fit to the full stellar spectrum. The synthetic absorption spectrum, fitting using EVE transit simulations, is controlled by the Na I stellar abundance, the stellar rotational velocity, and the orbital inclination. We varied the latter parameter because Casasayas-Barris et al. (2022) showed that the POLD position is sensitive to its value within the error bar (red-shifting for decreasing inclinations), but only tested three values (nominal, nominal – 1σ, nominal – 2σ) based on the assumption that it is better constrained by transit photometry. The best-fit was found for A*(Na I)=12+log10(n(Na I)n(H))=6.865±0.002${A_*}\left( {{\rm{Na}}\,{\rm{I}}} \right) = 12 + {\log _{10}}\left( {{{n\left( {{\rm{Na}}\,{\rm{I}}} \right)} \over {n\left( {\rm{H}} \right)}}} \right) = 6.865 \pm 0.002$, veq sin(i) nominal +2σ, and ipl – 2σ (see the lower panel of Fig. 12 for the simulated absorption spectrum and Fig. 13 for the disc-integrated spectrum).

We can thus conclude from a combined fit to the disc-integrated and absorption spectrum of MASCARA-1 b in the Na I D2 and Dl lines that the observed signature can be explained by a POLD with super-solar sodium abundance and no trace of planetary sodium absorption.

Table 2

MASCARA-1’s stellar and planetary properties.

4.3 Fully veiled planetary atmospheric signature

In the subsections above, we show that an overlap between the atmospheric absorption signature and the POLD can affect the overall absorption spectrum of a transiting planet. The two systems we study here only present a partial overlap due to their orbital architecture and the rotation of their host star, making it possible to at least identify the presence of an atmospheric signature – if it is indeed present. Here, we explored the case where the orbital and planet-occulted stellar line tracks perfectly overlap. We studied the profile of the atmospheric signature merged with the POLD in the mean absorption spectrum of such a system to assess whether the presence of the former can be identified.

To investigate this scenario, we performed simulations using the parameters of the MASCARA-1 system, but adjusting the sky-projected spin-orbit angle and the planetary orbital inclination (Table 2) so that the orbital radial velocity matches the radial velocity of the occulted stellar surface throughout the whole transit. We performed simulations for a planet whose thermosphere contains or not neutral sodium. The thermosphere was simulated in the same way as for the previous sections and the parameters were tuned to reach an atmospheric absorption signature of ~0.3%.

Figure 14 shows the mean of excess absorption spectra between contact times 2 and 3, after being aligned in the planetary rest frame. Except for a decrease in the core of the POLD, the absorption spectrum remains similar whether we include sodium in the thermosphere or not. Thus, it is not possible to determine from the mean absorption spectrum the presence of an atmospheric absorption signature unless we have an accurate, independent knowledge of the planet-occulted stellar lines.

This particular configuration could happen for a close-in planet with a high radial orbital velocity around a fast-rotating star. For such close-in planets the thermosphere is expected to be heated by the higher levels of XUV flux, inducing strong dynamics that could render detectable its absorption signature. In particular, a day-to-night-side wind of a few km s−1 (e.g. Seidel et al. 2020) would shift the thermospheric absorption signature blue-ward of the orbital track (see Fig. E.1). With sufficient velocity the thermosphere could then absorb outside of the POLD and be disentangled.

We also note that the overlap between orbital and planet-occulted tracks can also occur for planets transiting slowly rotating stars at large orbital distances, due to their lower radial orbital velocity. At 0.2 AU the orbital radial velocity at ingress for a Jupiter-mass planet orbiting a Sun-mass star is of the order of a few km s−1. At 1 AU for the Earth, this value is ~0.13 km s−1. Although the POLD would be fainter for a slowly rotating star and smaller planets, this will also be the case of their absorption signature due to the lower stellar irradiation and more compact atmospheres. We thus highlight the need to account for planet-occulted stellar lines as accurately as possible in future searches for the atmospheric signatures of temperate planets.

thumbnail Fig. 12

Average absorption spectrum of MASCARA-1 b between contact times 2 and 3, computed with the out-of-transit spectrum as reference, and plotted in the planetary rest frame. Blue points are ESPRESSO data from Casasayas-Barris et al. (2022), red profiles show EVE simulations. The vertical grey line indicates the rest wavelength of the NaI D2 line. Upper panel: computed without planetary atmosphere using literature parameters and a solar abundance for the star. Middle panel: computed without planetary atmosphere (dashed red curve ) for a modified veq sin(i) and stellar NaI abundance, and with atmospheric sodium (solid red curve). The shaded area shows the atmospheric contribution to the absorption spectrum. Lower panel: computed without atmosphere, for a modified veq sin(i), orbital inclination, and stellar Na I abundance yielding the best match to both the disc-integrated and absorption spectra.

thumbnail Fig. 13

Observed and synthetic out-of-transit spectra of MASCARA-1. The grey profile shows Fout computed with the nominal literature parameters. The red profile shows Fout from the best-fit to the absorption spectrum including atmospheric sodium absorption (see middle panel of Fig. 12). The orange profile shows Fout derived for the best fit to the disc-integrated and absorption spectra.

thumbnail Fig. 14

Theoretical absorption spectra of the perfect overlap case computed with the out-of-transit spectrum, with and without sodium atmosphere as a function of the wavelength in the planetary rest frame. Upper panel: mean of the theoretical absorption spectra between contact times T2 and T3. Lower panel: theoretical absorption spectra at contact times T2 and T3.

5 Conclusions

The study of exoplanetary atmospheres was initiated less than a decade after their discovery. The spectrographs and techniques used to detect and analyse their absorption signatures during transits are continuously improving. However, it remains challenging to interpret transit signatures in terms of their atmospheric composition and dynamics. This is partly due to the distortions of absorption spectra (POLD) induced by the occultation of local stellar lines by the planetary disc along the transit chord. In this study, we use the 3D forward-modelling code EVE to simulate transit spectra of a typical hot Jupiter with the goal of investigating the impact of POLDs on the absorption signature from sodium in its atmosphere. The forward-modelling approach allows us to control the impact of each element we added in our simulations. In contrast to working with observations, we were able to find out the local spectrum occulted by the planet at each time-step and use it as a reference to characterise POLDs through comparisons with absorption spectra that were unaffected by any stellar effects. Specifically, we explored how the POLDs and, thus, the detectability of an atmospheric signature are influenced by stellar rotational velocity, broadband limb-darkening, centre-to-limb variations, and, more generally, by the spectrum chosen as a proxy for the planet-occulted stellar lines. We tested common proxies used in the literature, such as the out-of-transit spectrum, in the star rest frame and Doppler-shifted at the position of the occulted stellar regions; the local spectrum at the centre of the stellar disc; the local spectra occulted by the planet in each exposure, without accounting for their Doppler shift. One of our main conclusions is that, barring correct estimates of the planet-occulted stellar spectra, there is no universal proxy to mitigate the POLDs. Estimates of the planet-occulted spectra must be defined depending on the orbital and stellar properties, and on the transit phase. The results of our study provide useful information to this aim.

For slowly rotating stars, the disc-integrated line is not broadened by rotation and is a good proxy for the planet-occulted line in the absence of strong CLVs. For moderate to fast-rotating stars, POLDs are created in the absorption spectra for all proxies of the planet-occulted line and can be of the order of magnitude of typical Na I atmospheric absorption signatures. The peak-to-peak amplitude of the POLD increases with veq sin(i) and decreases with the planetary spin-orbit angle. To mitigate the POLDs, it is better to shift the line proxy by the radial velocity of the occulted stellar surface region. In particular, POLDs affect atmospheric absorption signatures the most when the orbital track of the planet overlaps with the planet-occulted stellar line track in radial velocity-phase space (i.e. at time-steps where the planetary radial orbital velocity is close to the radial velocity of the occulted stellar surface). We studied the case in which the two tracks overlap perfectly. In that case, the POLD and atmospheric signatures are completely degenerate and the shape of the absorption spectrum remains similar for simulations with and without atmosphere. We note that this configuration can be achieved both for a close-in planet orbiting a fast rotating star, but also for planets transiting slowly rotating stars at large orbital distances. In the latter case, the POLD is expected to be fainter but so would be the atmospheric signatures. We thus emphasise the importance of accounting for POLDs in future observation of transiting temperate planets.

The POLDs created by CLVs are smaller than those caused by moderate-to-fast stellar rotation (veq sin(i) ≳ 3 km s−1). However, CLV-induced POLDs can still reach a few tenth of % and, thus, they can also be on the order of magnitude of Na I atmospheric absorption signatures. In the case of slowly rotating stars, these POLDs can thus be the dominant source of bias in misinterpreting absorption spectra. Interestingly, while the local spectrum at the centre of the stellar disc is the better proxy for nearby occulted regions, the out-of-transit spectrum can be a more adequate proxy for planet-occulted regions close to the stellar limb because its profile is partly shaped by CLVs. Although its impact is smaller than CLVs, broadband limb darkening can bias absorption spectra if out-of-transit and in-transit spectra are not reset to their correct relative flux, which is typically the case in studies that normalise all stellar spectra to the same continuum or studies that simply shift the measured continuum to zero. This bias can be removed by using a simple multiplicative factor, and we encourage its application in future studies.

After exploring the origins and impacts of POLDs in spectra of theoretical planets, we exploited our results to use the EVE code to re-interpret the absorption spectra of two hot Jupiters of interest. We simulated transits of HD 209458 b to investigate whether the Na I signature measured in high-resolution ESPRESSO spectra by Casasayas-Barris et al. (2020, 2021) could be explained by a combination of POLDs and atmospheric absorption. This planet is of particular importance as it is the first for which a claim of atmospheric detection was made (Charbonneau et al. 2002), only to be attributed recently to a POLD by Casasayas-Barris et al. (2020), based on the analysis of the sodium signature at a high resolution. We confirm the findings of the latter authors, namely, that the observed signature mainly arises from a POLD. Nevertheless, our combined fit hints at the additional contribution from sodium in the atmosphere of HD 209458 b. To validate this conclusion, a comprehensive exploration based on accurate stellar and planetary lines, detailed codes such as EVE, and repeated transit observations with ESPRESSO or other suitable high-resolution spectrographs, is required. We then simulated transits of MASCArA-1 b to investigate whether we could detect atmospheric absorption in ESPRESSO spectra, which Casasayas-Barris et al. (2022) could not identify due to the strong overlap between the planet-occulted and orbital tracks. The asymmetric mean absorption spectrum can be fitted with a combination of POLDs and atmospheric Na I absorption, but the required local stellar lines yield a strong mismatch between the simulated and observed disc-integrated spectra. A combined fit to the disc-integrated and absorption spectra in the Na I D2 and D1 lines show that the observed signature can be explained by a POLD with super-solar sodium abundance and no planetary sodium absorption.

The interpretation of exoplanets absorption signatures in high-resolution transit spectra is not straightforward. A precise knowledge of the planetary system and importantly of the local stellar spectra occulted by the planet is crucial to disentangle planetary signatures from stellar lines contamination.

While analysing the 2D velocity-phase maps of absorption spectra offers the possibility to separate the planet-occulted and orbital tracks, individual exposures are usually too noisy to do so. In such cases we showed that the average in-transit absorption spectrum can still be used to identify the presence of atmospheric signatures, if the impact of the POLDs is correctly understood. Forward-modelling codes such as EVE can simulate stellar spectra during an exoplanet transit, accounting simultaneously for local stellar line absorption by the planet and its atmosphere. They are helpful tools to address the challenges of interpreting exoplanet absorption signatures and to avoid biases that arise when correcting absorption spectra for stellar contamination independently. We thus advocate a global approach to derive planetary atmospheric constraints from absorption spectra, which consists of fitting together the disc-integrated stellar line and a combined model of the POLDs and planetary absorption lines.

With the upcoming generation of high-resolution spectro-graphs such as ANDES/ELT, contamination from POLDs, stellar activity and variability, or even stellar spots will become a dominant source of noise in many datasets of transiting planets. More than ever, accounting accurately for the impact of the stellar lines occulted by the planets will be decisive in characterising their atmosphere.

Acknowledgements

We thank the referee and editor for their precious and relevant advice that allowed to us to improve our study. We dearly thank Dr. Nuria Casasayas-Barris for her help, especially for the observational data of ESPRESSO for HD 209458 b and MASCARA-1 b transits she kindly shared with us and that allowed us to compare our models to. We thank Michal Steiner for sharing with us the ESPRESSO out-of-transit spectrum of MASCARA-1 and that was used in Casasayas-Barris et al. (2022). We also dearly thank Dr. Jérôme Bouvier for his mindful advice and feedback during the development of this study. This work has made use of the VALD database, operated at Uppsala University, the Institute of Astronomy RAS in Moscow, and the University of Vienna. This work has made use of the Turbospectrum code for spectral synthesis. This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program (grant agreement No 742095 ; SPIDI : Star-Planets-Inner Disk-Interactions; http://www.spidi-eu.org). This work has been carried out within the framework of the NCCR PlanetS supported by the Swiss National Science Foundation under grants 51NF40182901 and 51NF40205606. This project has received funding from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (project Spice Dune, grant agreement No 947634).

Appendix A Quantities used to compute the absorption spectra in Fig. 4

thumbnail Fig. A.1

Quantities used in Sect. 3.1 to compute the absorption spectra at T2 without the thermosphere (see Fig. 4). Here, we multiplied Fout by the ratio between the occulted surface and the surface of the star to bring it to the level of Floc and make the comparison easier.

Appendix B Effect of normalising Fout and Fin(t) on the absorption spectra

As mentioned in Sect. 3.2.2, normalising the out-of-transit and in-transit spectra to the same flux level before computing the absorption spectrum does not remove the bias induced by BLD. Indeed, the continuum of Fout and Fin(t) can be expressed in the following form respectively

FoutC=LDS,${\rm{F}}_{{\rm{out}}}^{\rm{C}} = {\rm{L}}{{\rm{D}}_ * }{{\rm{S}}_ * },$(B.1)

FinC(t)=LDSLDpl(t)Spl.${\rm{F}}_{{\rm{in}}}^{\rm{C}}\left( {\rm{t}} \right) = {\rm{L}}{{\rm{D}}_ * }{{\rm{S}}_ * } - {\rm{L}}{{\rm{D}}_{{\rm{pl}}}}\left( {\rm{t}} \right){{\rm{S}}_{{\rm{pl}}}}.$(B.2)

The normalised continuum of Fout is thus equal to 1 but for Fin(t) we get

Fin(t)¯=LDS[ LD(t)Spl+(1eτatm(λ)) LD(t)Satm ]LDSLD(t)Spl=1(1eτatm(λ)) LD(t)SatmLDSLD(t)Spl.$\matrix{ {\overline {{{\rm{F}}_{{\rm{in}}}}\left( {\rm{t}} \right)} } \hfill &amp; = \hfill &amp; {{{{\rm{L}}{{\rm{D}}_ * }{{\rm{S}}_ * } - \left[ {{\rm{LD}}\left( {\rm{t}} \right){{\rm{S}}_{{\rm{pl}}}} + \left( {1 - {{\rm{e}}^{ - {\tau _{{\rm{atm}}}}\left( \lambda \right)}}} \right)\,{\rm{LD}}\left( {\rm{t}} \right)\,{{\rm{S}}_{{\rm{atm}}}}} \right]} \over {{\rm{L}}{{\rm{D}}_ * }{{\rm{S}}_ * } - {\rm{LD}}\left( {\rm{t}} \right){{\rm{S}}_{{\rm{pl}}}}}}} \hfill \cr {} \hfill &amp; = \hfill &amp; {1 - {{\left( {1 - {{\rm{e}}^{ - {\tau _{{\rm{atm}}}}\left( \lambda \right)}}} \right)\,{\rm{LD}}\left( {\rm{t}} \right){{\rm{S}}_{{\rm{atm}}}}} \over {{\rm{L}}{{\rm{D}}_ * }{{\rm{S}}_ * } - {\rm{LD}}\left( {\rm{t}} \right)\,{{\rm{S}}_{{\rm{pl}}}}}}.} \hfill \cr } $(B.3)

So, in this case, the continuum of the absorption spectrum is set to 0, but we see that the atmospheric signature is altered by a time-variable factor due to the limb-darkening of the planet-occulted region.

Appendix C HD 209458 b absorption spectrum:

thumbnail Fig. C.1

Theoretical mean absorption spectrum between contact times T2 and T3 of HD 209458 b computed with the out-of-transit spectrum as a function of the wavelength in the planetary rest frame without sodium atmosphere. The blue points are ESPRESSO data from Casasayas-Barris et al. (2021). Upper panel: Zoom on the Na I D2 line. Lower panel: Zoom on the Na I D1 line.

Appendix D Stellar Nal abundance in HD 209458 stellar model:

thumbnail Fig. D.1

Theoretical mean absorption spectrum between contact times T2 and T3 of HD 209458 b computed with the out-of-transit spectrum as a function of the wavelength in the planetary rest frame without sodium atmosphere. We used a modified stellar Na I abundance from Solar (6.33) to 5.5 to compute the synthetic stellar spectrum such as A*(Na I)=5.5=12+log10(n(Na I)n(H))${{\rm{A}}_*}\left( {{\rm{Na}}\,{\rm{I}}} \right) = 5.5 = 12 + {\log _{10}}\left( {{{{\rm{n}}\left( {{\rm{Na}}\,{\rm{I}}} \right)} \over {{\rm{n}}\left( {\rm{H}} \right)}}} \right)$.

Appendix E Atmospheric winds:

thumbnail Fig. E.1

Theoretical mean absorption spectra between contact times T2 and T3 of the perfect overlap case computed with the out-of-transit spectrum, with and without sodium atmosphere as a function of the wavelength in the planetary rest frame. In addition to the simulations in Sect. 4.3, we included a day-to-nightside wind of 3 km s−1 in the thermosphere. Upper panel: Zoom on the Na I D2 line. Lower panel: Zoom on the Na I D1 line.

Appendix F Absorption spectra of MASCARA-1 b for Na I D1 line

thumbnail Fig. F.1

Average absorption spectrum of MASCARA-1 b between contact times 2 and 3, computed with the out-of-transit spectrum as reference, and plotted in the planetary rest frame. Blue points are ESPRESSO data from Casasayas-Barris et al. (2022), red profiles show EVE simulations. The vertical grey line indicates the rest wavelength of the NaI Dl line. Upper panel: Computed without planetary atmosphere using literature parameters and a solar abundance for the star. Middle panel: Computed without planetary atmosphere (dashed red curve ) for a modified veq sin(i) and stellar Na I abundance, and with atmospheric sodium (solid red curve). The shaded area shows the atmospheric contribution to the absorption spectrum. Lower panel: Computed without atmosphere, for a modified veq sin(i), orbital inclination, and stellar Na I abundance yielding the best match to both the disc-integrated and absorption spectra.

References

  1. Albrecht, S., Snellen, I., de Mooij, E., & Le Poole, R. 2008, Proc. Int. Astron. Union, 4, 520 [CrossRef] [Google Scholar]
  2. Allart, R., Bourrier, V., Lovis, C., et al. 2018, Science, 362, 1384 [Google Scholar]
  3. Allende Prieto, C., Asplund, M., & Fabiani Bendicho, P. 2004, A&A, 423, 1109 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  4. Barnes, J. R., Haswell, C. A., Staab, D., & Anglada-Escudé, G. 2016, MNRAS, 462, 1012 [Google Scholar]
  5. Borsa, F., & Zannoni, A. 2018, A&A, 617, A134 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  6. Borsa, F., Allart, R., Casasayas-Barris, N., et al. 2021, A&A, 645, A24 [EDP Sciences] [Google Scholar]
  7. Bourrier, V., & Lecavelier des Etangs, A. 2013, A&A, 557, A124 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  8. Bourrier, V., Ehrenreich, D., & Lecavelier des Etangs, A. 2015, A&A, 582, A65 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  9. Bourrier, V., Lecavelier des Etangs, A., Ehrenreich, D., Tanaka, Y. A., & Vidotto, A. A. 2016, A&A, 591, A121 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  10. Casasayas-Barris, N., Palle, E., Nowak, G., et al. 2017, A&A, 608, A135 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  11. Casasayas-Barris, N., Pallé, E., Yan, F., et al. 2018, A&A, 616, A151 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  12. Casasayas-Barris, N., Pallé, E., Yan, F., et al. 2020, A&A, 635, A206 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  13. Casasayas-Barris, N., Palle, E., Stangret, M., et al. 2021, A&A, 647, A26 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  14. Casasayas-Barris, N., Borsa, F., Pallé, E., et al. 2022, A&A, 664, A121 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  15. Charbonneau, D., Brown, T. M., Latham, D. W., & Mayor, M. 2000, ApJ, 529, L45 [Google Scholar]
  16. Charbonneau, D., Brown, T. M., Noyes, R. W., & Gilliland, R. L. 2002, ApJ, 568, 377 [Google Scholar]
  17. Chen, G., Pallé, E., Welbanks, L., et al. 2018, A&A, 616, A145 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  18. Czesla, S., Klocová, T., Khalafinejad, S., Wolter, U., & Schmitt, J. H. M. M. 2015, A&A, 582, A51 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  19. Deibert, E. K., de Mooij, E. J. W., Jayawardhana, R., et al. 2019, AJ, 157, 58 [NASA ADS] [CrossRef] [Google Scholar]
  20. Gustafsson, B., Edvardsson, B., Eriksson, K., et al. 2008, A&A, 486, 951 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  21. Heiter, U., Lind, K., Bergemann, M., et al. 2021, A&A, 645, A106 [EDP Sciences] [Google Scholar]
  22. Henry, G. W., Marcy, G. W., Butler, R. P., & Vogt, S. S. 2000, ApJ, 529, L41 [Google Scholar]
  23. Hoeijmakers, H. J., Ehrenreich, D., Kitzmann, D., et al. 2019, A&A, 627, A165 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  24. Hooton, M. J., Hoyer, S., Kitzmann, D., et al. 2022, A&A, 658, A75 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  25. Jensen, A. G., Cauley, P. W., Redfield, S., Cochran, W. D., & Endl, M. 2018, AJ, 156, 154 [Google Scholar]
  26. Lamers, H. J. G. L. M., & Cassinelli, J. P. 1999, Introduction to Stellar Winds (Cambridge University Press) [Google Scholar]
  27. Larsen, S. S., Eitner, P., Magg, E., et al. 2022, A&A, 660, A88 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  28. Louden, T., & Wheatley, P. J. 2015, ApJ, 814, L24 [CrossRef] [Google Scholar]
  29. Magg, E., Bergemann, M., Serenelli, A., et al. 2022, A&A, 661, A140 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  30. McLaughlin, D. B. 1924, ApJ, 60, 22 [Google Scholar]
  31. Mounzer, D., Lovis, C., Seidel, J. V., et al. 2022, A&A, 668, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  32. Nikolov, N., Sing, D. K., Gibson, N. P., et al. 2016, ApJ, 832, 191 [NASA ADS] [CrossRef] [Google Scholar]
  33. Nikolov, N., Sing, D. K., Fortney, J. J., et al. 2018, Nature, 557, 526 [CrossRef] [Google Scholar]
  34. Oklopčić, A., & Hirata, C. M. 2018, ApJ, 855, L11 [Google Scholar]
  35. Parker, E. N. 1958, ApJ, 128, 664 [Google Scholar]
  36. Pietrow, A. G. M., Kiselman, D., Andriienko, O., et al. 2023, A&A, 671, A130 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  37. Plez, B. 2012, Astrophysics SourCe Code Library [record ascl:1205.004] [Google Scholar]
  38. Redfield, S., Endl, M., Cochran, W. D., & Koesterke, L. 2008, ApJ, 673, L87 [Google Scholar]
  39. Rossiter, R. A. 1924, ApJ, 60, 15 [Google Scholar]
  40. Ryabchikova, T., Piskunov, N., Kurucz, R. L., et al. 2015, Physica Scripta, 90, 054005 [NASA ADS] [CrossRef] [Google Scholar]
  41. Seidel, J. V., Ehrenreich, D., Wyttenbach, A., et al. 2019, A&A, 623, A166 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  42. Seidel, J. V., Ehrenreich, D., Pino, L., et al. 2020, A&A, 633, A86 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  43. Sing, D. K., Vidal-Madjar, A., Désert, J. M., LeCavelier des Etangs, A., & Ballester, G. 2008, ApJ, 686, 658 [NASA ADS] [CrossRef] [Google Scholar]
  44. Snellen, I.A.G., Albrecht, S., de Mooij, E. J. W., & Le Poole, R. S. 2008, A&A, 487, 357 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  45. Spake, J. J., Sing, D. K., Evans, T. M., et al. 2018, Nature, 557, 68 [Google Scholar]
  46. Talens, G. J. J., Albrecht, S., Spronck, J. F. P., et al. 2017, A&A, 606, A73 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  47. Tessore, B., Pinte, C., Bouvier, J., & Ménard, F. 2021, A&A, 647, A27 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  48. Valenti, J. A., & Piskunov, N. 1996, A&AS, 118, 595 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  49. Vernazza, J. E., Avrett, E. H., & Loeser, R. 1981, ApJS, 45, 635 [Google Scholar]
  50. Vidal-Madjar, A., Sing, D. K., Lecavelier des Etangs, A., et al. 2011, A&A, 527, A110 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  51. Wyttenbach, A., Ehrenreich, D., Lovis, C., Udry, S., & Pepe, F. 2015, A&A, 577, A62 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  52. Wyttenbach, A., Lovis, C., Ehrenreich, D., et al. 2017, A&A, 602, A36 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  53. Wyttenbach, A., Mollière, P., Ehrenreich, D., et al. 2020, A&A, 638, A87 [EDP Sciences] [Google Scholar]
  54. Yan, F., Pallé, E., Fosbury, R. A. E., Petr-Gotzens, M. G., & Henning, Th. 2017, A&A, 603, A73 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]

5

For a star of radius equal to 1, μ=1(x2+y2)$\mu = \sqrt {1 - \left( {{x^2} + {y^2}} \right)} $ with (x, y) the coordinates of a point on the stellar disc in the Cartesian referential centred on the stellar disc. μ = 1 at the centre of the stellar disc and 0 at the edge of the stellar disc.

6

In cases (c) and (d), the local lines that form close to the limb exhibit a flat bottom. As the LOS approaches the limb, the column density of the stellar atmosphere increases. Consequently, the contribution to the intensity of the lines’ source function increases, which results in a flat bottom profile in the synthetic spectra generated by Turbospectrum.

7

In the following analysis, we chose this approximation and neglected the spatial variations of the intensity profile over the regions occulted by the planet in a given simulated exposure, focusing on the impact of variations along the full transit chord.

8

Written by Thomas Masseron and available for download at https://github.com/bertrandplez/Turbospectrum_NLTE

9

Instead of FoutFin(t)Fout${{{F_{{\rm{out}}}} - {F_{{\rm{in}}}}\left( t \right)} \over {{F_{{\rm{out}}}}}}$ as in previous sections. In the following figures, absorption is thus associated with negative values as opposed to figures in the Sect. 3.

10

The stellar spectrum of MASCARA-1 was generated following the same steps as in Sect. 4.1, using a MARCS model with a temperature of 7500 K, a logg of 4 cm s−2 and a metallicity [Fe/H] of 0. Table 2 shows the system parameters used in the simulation.

All Tables

Table 1

HD 209458’s stellar and planetary properties.

Table 2

MASCARA-1’s stellar and planetary properties.

All Figures

thumbnail Fig. 1

Visual representation of the difference between Fout and Fin(t) during the transit of a planet with an atmosphere. The result is the stellar spectrum that has been absorbed by the planet and its atmosphere at a specific time. The blue and red colours represent the Doppler shift in wavelength caused by the stellar rotation.

In the text
thumbnail Fig. 2

Local (four upper panels) and disc-integrated (bottom panel) Nal D2 line profile at 5889.95 Å in the air, for a model star simulated with EVE under various conditions. Case a: constant local line profiles over the stellar disc. Case b: impact of fast stellar rotation on local line profiles. Case c: impact of CLVs on local line profiles. Case d: impact of CLVs and fast stellar rotation on local line profiles. Only a few red-shifted local spectra are shown for the sake of clarity in cases c and d. Local intensity spectra were taken for μ positions along the stellar equator to sample larger radial velocities.

In the text
thumbnail Fig. 3

Simplified sketch of the code’s architecture for the computation of the absorption of the stellar spectrum during the transit of the planet and its atmosphere. Different colours for the thermosphere grid cells mean that their projections fall on different stellar cells. The black arrows represent the stellar light coming out of the stellar surface. We only show a small fraction of the simulated atmosphere for clarity.

In the text
thumbnail Fig. 4

Excess absorption spectra without thermospheric sodium, as a function of wavelength in the stellar rest frame, computed with the different reference spectra mentioned in Sect. 3.1. We display results for two veq sin(i) values as well as for two sky-projected spin-orbit angles. The vertical grey lines mark the transition wavelength of Na I D2. For comparison the horizontal dashed grey lines mark the highest and lowest values of the POLD, obtained for λ = 0°.

In the text
thumbnail Fig. 5

Excess absorption spectra with thermospheric sodium, as a function of wavelength in the stellar rest frame, computed with the different reference spectra mentioned in Sect. 3.1 and for a veq sin(i) = 20 km s−1. Upper panels: excess absorption spectra. Lower panels: quantities used to compute the absorption spectra. Here, Fout was multiplied by the ratio between the occulted surface and the surface of the star to bring it to the level of Floc and make the comparison easier. We show results for different time-steps (T2 and T0) and sky-projected spin-orbit angles (0 and 45°).

In the text
thumbnail Fig. 6

Excess absorption spectra with thermospheric sodium, as a function of wavelength in the stellar rest frame, computed with the different reference spectra mentioned in Sect. 3.1 and for a veq sin(i) = 3 km s−1. Upper panels: excess absorption spectra. Lower panels: quantities used to compute the absorption spectra. Here, Fout was multiplied by the ratio between the occulted surface and the surface of the star to bring it to the level of Floc and make the comparison easier. We show results for different time-steps (T2 and T0) and sky-projected spin-orbit angles (0 and 45°).

In the text
thumbnail Fig. 7

Atmospheric absorption spectra at the centre of the transit as a function of wavelength in the stellar rest frame, for synthetic stellar spectra containing CLVs. Upper panel: absorption spectrum of the planetary disc only. Middle panel: absorption spectrum of the planet with a thermosphere. The black dashed curves were computed using Fout. Blue dashed curves were computed using Floc(T0). Lower panel: quantities used to compute the absorption spectra. We multiplied Fout by the ratio between the occulted surface and the surface of the star to bring it to the level of Floc and make the comparison easier.

In the text
thumbnail Fig. 8

Atmospheric absorption spectra at the time-step after ingress as a function of wavelength in the stellar rest frame, for synthetic stellar spectra containing CLVs. Upper panel: absorption spectrum of the planetary disc only. Middle panel: absorption spectrum of the planet with a thermosphere. The black dashed curves were computed using Fout. Blue dashed curves were computed using Floc(T0). Lower panel: quantities used to compute the absorption spectra. We multiplied Fout by the ratio between the occulted surface and the surface of the star to bring it to the level of Floc and make the comparison easier.

In the text
thumbnail Fig. 9

Zoom on the middle panels of Figs. 7 and 8 after manually shifting the continuum of the absorption spectra to 0.

In the text
thumbnail Fig. 10

Theoretical absorption spectra of HD 209458 b computed with the out-of-transit spectrum as a function of the wavelength in the planetary rest frame with and without sodium atmosphere. The blue points are ESPRESSO data from Casasayas-Barris et al. (2021). Upper panel: mean of the theoretical absorption spectra between contact times T2 and T3. Lower panel: theoretical absorption spectrum at contact times T2 and T3.

In the text
thumbnail Fig. 11

Theoretical absorption spectra of HD 209458 b around the Na I D2 line, as a function of time and wavelength in the stellar rest frame. The simulated out-of-transit spectrum was used as reference. Upper panel: without a thermosphere. Lower panel: with a thermosphere containing neutral sodium atoms. The atmospheric absorption signature follows the orbital track of the planet represented by green curves. The horizontal orange dashed lines show the contact times of the transit. The y-axis shows time from the centre of the transit.

In the text
thumbnail Fig. 12

Average absorption spectrum of MASCARA-1 b between contact times 2 and 3, computed with the out-of-transit spectrum as reference, and plotted in the planetary rest frame. Blue points are ESPRESSO data from Casasayas-Barris et al. (2022), red profiles show EVE simulations. The vertical grey line indicates the rest wavelength of the NaI D2 line. Upper panel: computed without planetary atmosphere using literature parameters and a solar abundance for the star. Middle panel: computed without planetary atmosphere (dashed red curve ) for a modified veq sin(i) and stellar NaI abundance, and with atmospheric sodium (solid red curve). The shaded area shows the atmospheric contribution to the absorption spectrum. Lower panel: computed without atmosphere, for a modified veq sin(i), orbital inclination, and stellar Na I abundance yielding the best match to both the disc-integrated and absorption spectra.

In the text
thumbnail Fig. 13

Observed and synthetic out-of-transit spectra of MASCARA-1. The grey profile shows Fout computed with the nominal literature parameters. The red profile shows Fout from the best-fit to the absorption spectrum including atmospheric sodium absorption (see middle panel of Fig. 12). The orange profile shows Fout derived for the best fit to the disc-integrated and absorption spectra.

In the text
thumbnail Fig. 14

Theoretical absorption spectra of the perfect overlap case computed with the out-of-transit spectrum, with and without sodium atmosphere as a function of the wavelength in the planetary rest frame. Upper panel: mean of the theoretical absorption spectra between contact times T2 and T3. Lower panel: theoretical absorption spectra at contact times T2 and T3.

In the text
thumbnail Fig. A.1

Quantities used in Sect. 3.1 to compute the absorption spectra at T2 without the thermosphere (see Fig. 4). Here, we multiplied Fout by the ratio between the occulted surface and the surface of the star to bring it to the level of Floc and make the comparison easier.

In the text
thumbnail Fig. C.1

Theoretical mean absorption spectrum between contact times T2 and T3 of HD 209458 b computed with the out-of-transit spectrum as a function of the wavelength in the planetary rest frame without sodium atmosphere. The blue points are ESPRESSO data from Casasayas-Barris et al. (2021). Upper panel: Zoom on the Na I D2 line. Lower panel: Zoom on the Na I D1 line.

In the text
thumbnail Fig. D.1

Theoretical mean absorption spectrum between contact times T2 and T3 of HD 209458 b computed with the out-of-transit spectrum as a function of the wavelength in the planetary rest frame without sodium atmosphere. We used a modified stellar Na I abundance from Solar (6.33) to 5.5 to compute the synthetic stellar spectrum such as A*(Na I)=5.5=12+log10(n(Na I)n(H))${{\rm{A}}_*}\left( {{\rm{Na}}\,{\rm{I}}} \right) = 5.5 = 12 + {\log _{10}}\left( {{{{\rm{n}}\left( {{\rm{Na}}\,{\rm{I}}} \right)} \over {{\rm{n}}\left( {\rm{H}} \right)}}} \right)$.

In the text
thumbnail Fig. E.1

Theoretical mean absorption spectra between contact times T2 and T3 of the perfect overlap case computed with the out-of-transit spectrum, with and without sodium atmosphere as a function of the wavelength in the planetary rest frame. In addition to the simulations in Sect. 4.3, we included a day-to-nightside wind of 3 km s−1 in the thermosphere. Upper panel: Zoom on the Na I D2 line. Lower panel: Zoom on the Na I D1 line.

In the text
thumbnail Fig. F.1

Average absorption spectrum of MASCARA-1 b between contact times 2 and 3, computed with the out-of-transit spectrum as reference, and plotted in the planetary rest frame. Blue points are ESPRESSO data from Casasayas-Barris et al. (2022), red profiles show EVE simulations. The vertical grey line indicates the rest wavelength of the NaI Dl line. Upper panel: Computed without planetary atmosphere using literature parameters and a solar abundance for the star. Middle panel: Computed without planetary atmosphere (dashed red curve ) for a modified veq sin(i) and stellar Na I abundance, and with atmospheric sodium (solid red curve). The shaded area shows the atmospheric contribution to the absorption spectrum. Lower panel: Computed without atmosphere, for a modified veq sin(i), orbital inclination, and stellar Na I abundance yielding the best match to both the disc-integrated and absorption spectra.

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.