Temperature profiles

BeAR currently includes the following parametrisations for atmospheric temperature-pressure profiles

  • Milne’s solution

  • Modified Milne’s solution

  • Guillot temperature profile

  • Isoprofile

  • Piecewise polynomials

  • Cubic b splines

  • PCHIP (monotone piecewise cubic Hermite interpolation)

  • Madhusudhan & Seager (2009) analytic profile

  • Adiabatic spline (radiative–convective profile with an adiabatic lower part)

Details on the implementation of the piecewise polynomial, cubic b spline, and PCHIP parametrisations are discussed here.

Milne’s solution

Milne’s solution is a simple, analytic temperature profile that has been derived for a self-luminous object with a grey atmosphere. In the forward_model.toml file, this parametrisation is chosen by setting the temperature model to milne:

temperature = { model = "milne", params = [] }

Milne’s profile is given by

\[T^4(\tau) = \frac{3}{4} T_\mathrm{eff}^4 \left(\tau + q(\tau) \right) ,\]

where \(T_\mathrm{eff}\) is the effective temperature of the self-luminous object, \(\tau = \int \kappa(z) \mathrm d z\) the grey optical depth for the wavelength-dependent opacity \(\kappa\) (usually taken to be the Rosseland mean opacity), and \(q\) the Hopf function. In the Eddington approximation, \(q\) would be \(1/3\). Internally, BeAR has a parametrised form of \(q(\tau)\), taken from Mihalas (1979).

The Milne temperature profile parametrisation has two free parameters that have to be listed in the prior config file (identified by their prior names):

  • temp_kappa_ross: \(\kappa\), the constant grey opacity in units of \(\mathrm{cm}^2/\mathrm{g}\)

  • temp_eff: the effective temperature \(T_\mathrm{eff}\)

Modified Milne’s solution

The modified Milne profile extends Milne’s solution by a flexible Hopf function that allows the temperature of the upper, optically thin atmosphere to deviate from the classic grey solution. It follows the modified Milne profile of the Exo_Skryer code by E. Lee. In the forward_model.toml file, this parametrisation is chosen by setting the temperature model to modified_milne:

temperature = { model = "modified_milne", params = [] }

The profile is given by

\[T^4(p) = \frac{3}{4} T_\mathrm{eff}^4 \left(\tau(p) + q(p) \right) ,\]

with the grey optical depth \(\tau(p) = \kappa \, p / g\) for a constant opacity \(\kappa\) and the surface gravity \(g\), and a Hopf function that varies with pressure according to

\[q(p) = q_\infty + \left(q_0 - q_\infty\right) \exp\left[-\left(\frac{p}{p_\mathrm{t}}\right)^\beta\right] , \qquad q_0 = \frac{4}{3} \left(\frac{T_\mathrm{skin}}{T_\mathrm{eff}}\right)^4 .\]

Here, \(q_\infty = 0.710446\) is the asymptotic value of the Hopf function of the classic Milne solution for \(\tau \to \infty\). At low pressures, \(q\) approaches \(q_0\), such that the temperature at zero optical depth is equal to the free skin temperature \(T_\mathrm{skin}\). At high pressures, on the other hand, the profile converges to the classic Milne solution. The transition pressure \(p_\mathrm{t}\) and the exponent \(\beta\) of the stretched exponential set the location and the sharpness of the transition between the two regimes. Compared to the classic Milne solution, the additional parameters give the retrieval the freedom to adjust the temperature of the upper atmosphere, which is often needed to fit the cores of strong absorption bands.

The modified Milne temperature profile has five free parameters that have to be listed in the prior config file (identified by their prior names):

  • temp_kappa_ross: \(\kappa\), the constant grey opacity in units of \(\mathrm{cm}^2/\mathrm{g}\)

  • temp_eff: the effective temperature \(T_\mathrm{eff}\)

  • temp_ratio: the ratio \(T_\mathrm{skin}/T_\mathrm{eff}\) of the skin temperature to the effective temperature

  • temp_p_t: the transition pressure \(p_\mathrm{t}\) in bar

  • temp_beta: the exponent \(\beta\) of the stretched exponential that controls the sharpness of the transition

Guillot profile

The analytical profiles by Tristan Guillot (Guillot (2010)) have been derived for irradiated planetary atmospheres. BeAR contains two different implementations of the Guillot profile, one for an incident stellar beam (Eq. 27 from Guillot, 2010) and for isotropic stellar irradiation (Eq. 29 from Guillot, 2010). They are chosen by setting the params of the guillot model to beam:

temperature = { model = "guillot", params = ["beam"] }

and isotropic, respectively:

temperature = { model = "guillot", params = ["isotropic"] }

The stellar beam case has five free parameters, identified in the prior config file by their prior names:

  • temp_kappa_ir: \(\kappa\), the (constant) grey thermal opacity in units of \(\mathrm{cm}^2/\mathrm{g}\)

  • temp_irr: \(T_\mathrm{irr}\), the temperature of incident stellar radiation (assumed to be black body radiation)

  • temp_int: \(T_\mathrm{int}\), the planet’s internal temperature. For self-luminous objects, this would be the effective temperature

  • temp_gamma: \(\gamma\), the ratio of the short-wave to the thermal opacity

  • temp_mu: \(\mu_*\), the cosine of the zenith angle of the incident stellar beam

When using isotropic stellar insolation, the five free parameters, identified in the prior config file by their prior names, are:

  • temp_kappa_ir: \(\kappa\), the (constant) grey thermal opacity in units of \(\mathrm{cm}^2/\mathrm{g}\)

  • temp_irr: \(T_\mathrm{irr}\), the temperature of incident stellar radiation (assumed to be black body radiation)

  • temp_int: \(T_\mathrm{int}\), the planet’s internal temperature. For self-luminous objects, this would be the effective temperature

  • temp_gamma: \(\gamma\), the ratio of the short-wave to the thermal opacity

  • temp_f: \(f\), energy distribution factor. Typical values are \(f=1\) for the sub-stellar point, \(f=1/2\) for the day-side average, and \(f=1/4\) for an average over the whole planetary surface.

Isoprofiles

When using an isoprofile, a constant temperature as a function of pressure is set internally. This is the most common temperature profile employed for transmission spectra of exoplanets. In the forward_model.toml file it is chosen by using the model keyword const:

temperature = { model = "const", params = [] }

The isoprofile parametrisation has a single free parameter, the constant temperature, identified in the prior config file by the prior name temperature.

Piecewise polynomials

If the temperature profile should be described by using the parametrisation with piecewise polynomials, the poly model is used, with the number of elements k and the polynomial degree q supplied as params in the forward_model.toml file:

temperature = { model = "poly", params = ["k", "q"] }

As stated here, the number of free parameters for this parametrisation is \(k q + 1\).

By default, this model uses the relative parametrisation. The first free parameter, identified by the prior name temp_t0, refers to the bottom temperature. All subsequent \(k q\) parameters, named temp_b1, temp_b2, …, are factors \(b_i\), such that the temperature at the control point \(i\) is determined by the one from the previous control point \(i-1\) following \(T_i = T_{i-1} b_i\). The control points are distributed equidistantly in logarithmic pressure space.

The use of the \(b_i\) factors allow some control over the general form of the temperature profile. By not allowing them to exceed unity, for example, temperature inversions can be prevented.

Alternatively, the absolute parametrisation can be selected by appending the keyword absolute to the params array, e.g. params = ["k", "q", "absolute"]. In this mode every free parameter is the temperature at its control point directly, using the prior names temp_t0, temp_t1, …, temp_t(kq). See here for a description of both modes.

Cubic b splines

For a description of the temperature profile by cubic b spline the cubicbspline model is used, with the number of control points k supplied as params in the forward_model.toml file:

temperature = { model = "cubicbspline", params = ["k"] }

As stated here, the number of free parameters for this parametrisation is equal to the number of control points \(k\) and needs to be at least 5.

By default, this model uses the relative parametrisation. The first free parameter, identified by the prior name temp_t0, refers to the bottom temperature. All subsequent \(k-1\) parameters, named temp_b1, temp_b2, …, are factors \(b_i\), such that the temperature at the control point \(i\) is determined by the one from the previous control point \(i-1\) following \(T_i = T_{i-1} b_i\). The control points are distributed equidistantly in logarithmic pressure space.

The use of the \(b_i\) factors allow some control over the general form of the temperature profile. By not allowing them to exceed unity, for example, temperature inversions can be prevented.

Alternatively, the absolute parametrisation can be selected by appending the keyword absolute to the params array, e.g. params = ["k", "absolute"]. In this mode every free parameter is the temperature at its control point directly, using the prior names temp_t0, temp_t1, …, temp_t(k-1). See here for a description of both modes.

PCHIP profile

The pchip model describes the temperature profile with a monotone piecewise cubic Hermite interpolating polynomial (PCHIP). Like the cubic b spline, the profile is anchored at \(k\) control points that are distributed equidistantly in logarithmic pressure space between the bottom and the top of the atmosphere. Between two neighbouring control points the temperature is represented by a cubic Hermite polynomial whose derivatives at the knots are chosen following the Fritsch–Carlson construction. This guarantees that the interpolant is shape preserving: it never overshoots the control-point values and stays monotone on every interval on which the control points are monotone. Compared to the cubic b spline, this suppresses the spurious oscillations (“ringing”) that global splines can introduce between widely spaced control points. BeAR uses the pchip implementation from the Boost.Math interpolators library.

In the forward_model.toml file this parametrisation is chosen with the pchip model, with the number of control points k supplied as params:

temperature = { model = "pchip", params = ["k"] }

The number of free parameters is equal to the number of control points \(k\), which must be at least 4. Temperatures below 50 K are clipped to 50 K and cause the model to be flagged as neglected.

Unlike the piecewise-polynomial and cubic-b-spline profiles, the PCHIP profile uses the absolute parametrisation by default. In this mode every free parameter is the temperature at its control point directly, identified by the prior names temp_t0, temp_t1, …, temp_t(k-1), where temp_t0 is the temperature at the bottom (deepest, highest-pressure) control point.

The relative parametrisation can be selected by appending the keyword relative to the params array, e.g. params = ["k", "relative"]. In that case the first free parameter temp_t0 is again the bottom temperature, while the remaining \(k-1\) parameters, named temp_b1, temp_b2, …, are multiplicative factors \(b_i\) with \(T_i = T_{i-1} b_i\). See here for a description of both modes.

Madhusudhan & Seager profile

This is the analytic three-layer pressure–temperature parametrisation introduced by Madhusudhan & Seager (2009). It is widely used in exoplanet atmosphere retrievals because it can represent both monotone profiles and thermal inversions with a small number of physically motivated parameters. In the forward_model.toml file it is chosen with the madhusudhan_seager model and takes no additional params:

temperature = { model = "madhusudhan_seager", params = [] }

The atmosphere is divided into three layers, separated by the pressure levels \(P_1\) and \(P_3\). With \(P_0\) the pressure at the top of the atmosphere and \(T_0\) the temperature there, the profile is given by

\[\begin{split}T(P) = \begin{cases} \left[ \dfrac{\ln(P/P_0)}{\alpha_1} \right]^2 + T_0 & P < P_1 \quad \text{(layer 1)} \\[2ex] \left[ \dfrac{\ln(P/P_2)}{\alpha_2} \right]^2 + T_2 & P_1 \le P < P_3 \quad \text{(layer 2)} \\[2ex] T_3 & P \ge P_3 \quad \text{(layer 3)} . \end{cases}\end{split}\]

Layer 1 is the upper radiative region above \(P_1\), layer 2 the intermediate region between \(P_1\) and \(P_3\), and layer 3 the deep, isothermal region below \(P_3\). The reference temperature \(T_2\) of layer 2 is fixed by enforcing continuity of the profile at \(P_1\),

\[T_2 = \left[ \frac{\ln(P_1/P_0)}{\alpha_1} \right]^2 + T_0 - \left[ \frac{\ln(P_1/P_2)}{\alpha_2} \right]^2 ,\]

and the isothermal deep-layer temperature is the value of the layer-2 expression at \(P_3\), i.e. \(T_3 = \left[ \ln(P_3/P_2)/\alpha_2 \right]^2 + T_2\). The pressure \(P_2\) sets the location of the temperature extremum of layer 2; a thermal inversion arises when \(P_2\) lies inside the layer, allowing the model to describe non-monotone profiles.

The parametrisation has six free parameters, identified in the prior config file by their prior names:

  • temp_t0: \(T_0\), the temperature at the top of the atmosphere in K

  • temp_log_p1: \(\log_{10}(P_1)\), the pressure of the boundary between layers 1 and 2 (in log10 bar)

  • temp_log_p2: \(\log_{10}(P_2)\), the reference pressure of layer 2 that sets the location of the temperature extremum (in log10 bar)

  • temp_log_p3: \(\log_{10}(P_3)\), the pressure below which the atmosphere is isothermal (in log10 bar)

  • temp_alpha1: \(\alpha_1\), the gradient parameter of layer 1 (\(> 0\)); smaller values give steeper profiles

  • temp_alpha2: \(\alpha_2\), the gradient parameter of layer 2 (\(> 0\))

Adiabatic spline

The adiabate_spline model is a radiative–convective profile that joins an adiabatic deep region to a spline-interpolated upper region at a radiative–convective boundary (RCB). Below the RCB (i.e. at pressures higher than the boundary pressure), where the atmosphere is assumed to be convective, the temperature follows a dry adiabat

\[T(P) = T_\mathrm{bot} \left( \frac{P}{P_\mathrm{bot}} \right)^{1 - 1/\gamma} ,\]

anchored at the bottom temperature \(T_\mathrm{bot}\) and the bottom (highest) pressure \(P_\mathrm{bot}\). Above the RCB (lower pressures), the radiative region is described by a monotone piecewise cubic Hermite (PCHIP) spline, using the same Boost.Math interpolator as the PCHIP profile above. The spline is anchored at the RCB, where its temperature is set to the adiabat value at the boundary so that the profile is continuous, and reaches up to the top of the atmosphere through \(k\) control points distributed equidistantly in logarithmic pressure between the RCB and the top of the atmosphere.

In the forward_model.toml file this parametrisation is chosen with the adiabate_spline model, with the number of spline control points k supplied as params:

temperature = { model = "adiabate_spline", params = ["k"] }

The number of control points \(k\) must be at least 4. The total number of free parameters is \(k + 2\): the three parameters describing the RCB and the adiabat, followed by the \(k-1\) control-point temperatures of the radiative spline (the deepest spline point is fixed by continuity with the adiabat and is not a free parameter). The prior names, in order, are:

  • temp_pressure_rcb: the pressure of the radiative–convective boundary (in bar). Levels at higher pressure follow the adiabat, levels at lower pressure follow the spline

  • temp_conv_gamma: \(\gamma\), the adiabatic index that sets the adiabatic gradient of the deep, convective region through the exponent \(1 - 1/\gamma\)

  • temp_bottom: \(T_\mathrm{bot}\), the temperature at the bottom (deepest, highest-pressure) level of the atmosphere in K

  • temp_t1, temp_t2, …, temp_t(k-1): the absolute temperatures at the \(k-1\) control points of the radiative spline above the radiative–convective boundary in K