---
title: 'SpeCT: Mixed-Gas Spectral Opacity Tool'
url: https://www.emergentmind.com/topics/spect
type: topic
---

# SpeCT: Mixed-Gas Spectral Opacity Tool

SpeCT is an open-source Fortran tool for generating high-resolution spectra, correlated-\(k\) tables, and continuum files for planetary atmospheres involving \(\mathrm{CO_2}\), \(\mathrm{H_2O}\), and \(\mathrm{N_2}\). Its central purpose is to make mixed-gas opacity production more physically realistic than additive single-species workflows by accounting for inter-species broadening and empirically corrected far-wing line shapes, while keeping the resulting products usable in climate and radiative-transfer models through downstream conversion to correlated-\(k\) form with `Exo_k` [2508.18049].

## 1. Scientific role and scope

SpeCT is designed for a specific bottleneck in atmospheric modeling: line-by-line opacity calculations are too expensive to repeat inside 1-D or 3-D climate models, yet simplified additive methods can neglect collision-partner effects that matter for radiative balance. The tool therefore computes high-resolution spectra for specified pressure–temperature–composition states, with explicit treatment of mixed-gas pressure broadening and empirically corrected far-wing line shapes, and these spectra are then converted into correlated-\(k\) tables [2508.18049].

The targeted domain is terrestrial-planet and rocky-exoplanet atmospheres, especially mixtures involving \(\mathrm{CO_2}\), \(\mathrm{H_2O}\), and \(\mathrm{N_2}\). This emphasis reflects a specific physical point: total opacity in a gas mixture is not, in general, captured well enough by summing isolated-species opacities or by online mixing of precomputed single-species \(k\)-tables. In the regimes emphasized by the paper, line shifts, Lorentz half-widths, continuum strength, and especially the far wings of strong \(\mathrm{CO_2}\) bands depend on the broadening species. SpeCT is therefore narrower in chemistry than generic opacity engines, but more explicit about collision-partner-dependent spectroscopy for the targeted mixtures [2508.18049].

A plausible implication is that SpeCT is most relevant precisely where atmospheric composition is neither close to a pure-gas limit nor well approximated by additive opacity rules. The paper links this regime to Earth paleoclimate, Mars, Venus, magma-ocean planets, and telluric exoplanets [2508.18049].

## 2. Spectroscopic formulation

SpeCT starts from standard line-by-line absorption theory, using line intensities, pressure shifts, collisional widths, and line-shape convolution between Lorentz and Gaussian components. Near line center, the Lorentz half-width for absorber \(X\) in a mixture is written as

\[
\Gamma_l(P,T,x)=\sum_{y=1}^{N} x_y \frac{P}{P_{\rm ref}} \gamma_{X-y,l}(P_{\rm ref},T_{\rm ref}) \left(\frac{T_{\rm ref}}{T}\right)^{n_{X-y,l}},
\]

so mixture composition enters directly through the broadening partners \(y\) [2508.18049].

Species absorption is then accumulated over transitions, and the absorption coefficient is expressed as

\[
k_X(\sigma,P,T,x)=N_X \eta_X(\sigma,P,T,x)=\frac{x_X P}{10^6 k_B T}\,\eta_X(\sigma,P,T,x),
\]

with the paper noting that, at sufficiently high pressure, the ideal-gas density factor should be replaced by a real-gas density from an equation of state [2508.18049].

This formulation makes the collision partner part of the opacity model rather than a secondary correction. That distinction is central to the tool’s scope. SpeCT is not presented as a broad chemistry platform; it is presented as a mixed-gas spectroscopic framework in which \(\mathrm{CO_2}\)-\(\mathrm{CO_2}\), \(\mathrm{CO_2}\)-\(\mathrm{N_2}\), and \(\mathrm{CO_2}\)-\(\mathrm{H_2O}\) broadening are modeled explicitly, and in which high-resolution spectra are the intermediate product from which correlated-\(k\) tables are later derived [2508.18049].

For high temperature, the implementation uses hybrid line-list logic: HITRAN 2020 for temperate conditions, HITEMP 2010 for \(\mathrm{H_2O}\) above \(400\ \mathrm{K}\), and HITEMP 2024 for \(\mathrm{CO_2}\) above \(400\ \mathrm{K}\). This is a practical feature because it avoids forcing users to manage line-list transitions themselves when generating opacity data over wide thermodynamic ranges [2508.18049].

## 3. Far-wing treatment and updated \(\chi\)-factors

The most distinctive spectroscopic component of SpeCT is its treatment of far wings through empirical \(\chi\)-factors. The paper states that a Voigt profile alone overestimates absorption in the windows between \(\mathrm{CO_2}\) bands, and that there is no fully self-consistent physical profile valid from line core to far wing. SpeCT therefore adopts the Hartmann/Tran/Perrin tradition and multiplies the line shape by mixture-specific far-wing corrections [2508.18049].

The \(\chi\)-factor is piecewise exponential in the distance from line center, \(\Delta \sigma = |\sigma-\sigma_l|\):

\[
\chi(T,\Delta\sigma)=
\begin{cases}
1, & 0<\Delta\sigma<\sigma_1,\\
\exp[-B_1(\Delta\sigma-\sigma_1)], & \sigma_1<\Delta\sigma<\sigma_2,\\
\exp[-B_1(\sigma_2-\sigma_1)-B_2(\Delta\sigma-\sigma_2)], & \sigma_2<\Delta\sigma<\sigma_3,\\
\exp[-B_1(\sigma_2-\sigma_1)-B_2(\sigma_3-\sigma_2)-B_3(\Delta\sigma-\sigma_3)], & \sigma_3<\Delta\sigma,
\end{cases}
\]

with temperature-dependent coefficients

\[
B_i(T)=\alpha_i+\beta_i e^{-\gamma_i T}.
\]

The paper updates these parameters for pure \(\mathrm{CO_2}\), \(\mathrm{CO_2}\)-\(\mathrm{N_2}\), and \(\mathrm{CO_2}\)-\(\mathrm{H_2O}\) [2508.18049].

The updated factors are organized around three \(\mathrm{CO_2}\) band systems centered near \(667\ \mathrm{cm^{-1}}\) (\(\nu_2\)), \(2349\ \mathrm{cm^{-1}}\) (\(\nu_3\)), and \(3737\ \mathrm{cm^{-1}}\) (\(\nu_1+\nu_3\)). Operationally, the paper applies the \(\nu_2\) corrections from \(0\) to \(1800\ \mathrm{cm^{-1}}\), the \(\nu_3\) corrections from \(1800\) to \(3200\ \mathrm{cm^{-1}}\), and the \(\nu_1+\nu_3\) corrections from \(3200\) to \(4300\ \mathrm{cm^{-1}}\); above \(4300\ \mathrm{cm^{-1}}\), because of missing data, the \(\nu_3\) factors are reused for overtone bands such as \(3\nu_3\) [2508.18049].

The paper also makes the asymmetry of the evidential base explicit. For pure \(\mathrm{CO_2}\), the \(\nu_3\) factors are materially updated using additional continuum constraints between \(2600\) and \(2900\ \mathrm{cm^{-1}}\). For \(\mathrm{CO_2}\)-\(\mathrm{N_2}\), new \(\nu_2\) factors are derived from Niro et al. data, while the \(\nu_1+\nu_3\) treatment is recast into the same formalism for consistency. For \(\mathrm{CO_2}\)-\(\mathrm{H_2O}\), only \(\nu_3\)-band laboratory constraints exist, so the previous parameterization is reformulated into the same \(B_i(T)=\alpha_i+\beta_i e^{-\gamma_i T}\) form and then applied over the whole spectrum as a pragmatic approximation [2508.18049].

This suggests two interpretive points. First, SpeCT is intentionally laboratory-driven rather than purely parametric. Second, its far-wing treatment is empirical and mixture specific, which improves targeted realism but also ties the accuracy of the products to the available measurements and to the underlying line lists [2508.18049].

## 4. Continua, CIA, and computational workflow

SpeCT aligns its water-continuum treatment with `MT_CKD`. The line core and far wing are separated at \(\pm 25\ \mathrm{cm^{-1}}\) from line center, following the historical `MT_CKD` convention. Line-center absorption is computed at high resolution, while continua are computed separately as the sum of far-wing contributions, including the “plinth,” with the same plinth removed from the line-core calculation to avoid double counting [2508.18049].

For \(\mathrm{H_2O}\)-\(\mathrm{H_2O}\) and \(\mathrm{H_2O}\)-\(\mathrm{N_2}\), continua are taken from `MT_CKD v4.0.1`, with supplementary \(\mathrm{N_2}\)-\(\mathrm{H_2O}\) CIA from Hartmann et al. and Baranov et al. because `MT_CKD` foreign broadening is for air rather than pure \(\mathrm{N_2}\). For \(\mathrm{H_2O}\)-\(\mathrm{CO_2}\), the continuum is recomputed following Tran et al., using a HITRAN-based line list complemented with \(\mathrm{CO_2}\)-broadening coefficients, extended to \(20000\ \mathrm{cm^{-1}}\), with temperature dependence from Ma and Tipping up to \(10000\ \mathrm{cm^{-1}}\). The recently measured simultaneous \(\mathrm{H_2O}+\mathrm{CO_2}\) CIA band near \(6000\ \mathrm{cm^{-1}}\) is also included and assumed temperature-independent because no temperature dependence is available [2508.18049].

The continuum/CIA absorption coefficient for a collision pair \(X\)-\(Y\) is parameterized as

\[
k_{X-Y}(\sigma,T,P,x)=A_{X-Y}(\sigma,T)\,x_X x_Y \left(\frac{273.15\,P}{101325\,T}\right)^2,
\]

which makes explicit the \(P^2\) scaling of binary-collision absorption under ideal-gas conditions [2508.18049].

On the computational side, SpeCT is highly parallelized with MPI and OpenMP. It reads HITRAN or HITEMP line lists, distributes the requested \((P,T,\mathrm{vmr})\) states across processes, computes line profiles, and sums them into high-resolution spectra. The line-center region is sampled at \(10^{-3}\ \mathrm{cm^{-1}}\) spacing, continua are computed on a \(5\ \mathrm{cm^{-1}}\) grid, and the far-wing domain is truncated at \(\pm 1500\ \mathrm{cm^{-1}}\) after sensitivity tests. This cutoff is an explicit modeling choice: shorter cutoffs suppress weak-region continuum absorption, whereas extending farther has negligible effect [2508.18049].

## 5. Released opacity products

The paper emphasizes eight correlated-\(k\) tables and a set of continuum/CIA files. In the detailed product description, the eight correlated-\(k\) tables are two binary-mixture tables and six Earth-like ternary tables, while the work also provides original \(\mathrm{CO_2}\) continua for \(\mathrm{CO_2}\)-\(\mathrm{CO_2}\), \(\mathrm{CO_2}\)-\(\mathrm{N_2}\), and \(\mathrm{CO_2}\)-\(\mathrm{H_2O}\) [2508.18049].

| Product class | Composition coordinate | Thermodynamic range |
|---|---|---|
| \(\mathrm{H_2O}+\mathrm{CO_2}\) table | \(P_{\mathrm{H_2O}}/P_{\mathrm{tot}}\) | \(30\)–\(2000\ \mathrm{K}\), \(1\ \mathrm{Pa}\)–\(100\ \mathrm{bar}\) |
| \(\mathrm{CO_2}+\mathrm{N_2}\) table | \(P_{\mathrm{CO_2}}/P_{\mathrm{tot}}\) | \(30\)–\(2000\ \mathrm{K}\), \(1\ \mathrm{Pa}\)–\(100\ \mathrm{bar}\) |
| Six \(\mathrm{H_2O}+\mathrm{CO_2}+\mathrm{N_2}\) tables | \(P_{\mathrm{H_2O}}/P_{\mathrm{tot}}\), fixed dry-air \(\mathrm{CO_2}\) | \(50\)–\(1000\ \mathrm{K}\), \(1\ \mathrm{Pa}\)–\(10\ \mathrm{bar}\) |

For the two binary tables, the volume-mixing-ratio grid spans \(10^{-6}\) to \(1\). For the six ternary Earth-like tables, the fixed dry-air \(\mathrm{CO_2}\) abundances are \(376\) ppm, \(1000\) ppm, \(2000\) ppm, \(0.1\), \(0.5\), and \(0.75\). The correlated-\(k\) products use spectral resolution \(R=500\), with `Exo_k` defining the resolution in wavenumber space by \(R=\Delta \sigma/B\). The paper does not specify the number of \(g\)-ordinates, the quadrature rule, or the detailed sorting formula [2508.18049].

The accompanying continua are distributed separately rather than embedded in the correlated-\(k\) tables. The original \(\mathrm{CO_2}\) continua span \(1\) to \(30000\ \mathrm{cm^{-1}}\) and \(50\) to \(3000\ \mathrm{K}\), and are provided in ASCII files containing wavenumber and absorption in \(\mathrm{cm^{-1}\,amagat^{-2}}\). The paper also compiles and homogenizes CIA and dimer data from the literature for several collision pairs [2508.18049].

## 6. Position within opacity modeling, use cases, and limitations

SpeCT is presented as a targeted alternative to more generic opacity engines. The paper explicitly contrasts it with tools such as HELIOS-K: SpeCT is less versatile in species coverage, but more accurate for the targeted mixtures because it explicitly incorporates collision-partner-dependent broadening and empirically updated far-wing corrections [2508.18049].

That specialization also defines its limitations. Chemistry is restricted mainly to \(\mathrm{CO_2}\), \(\mathrm{H_2O}\), and \(\mathrm{N_2}\), though future inclusion of \(\mathrm{CH_4}\) and \(\mathrm{O_2}\) is planned. Some broadening and line-shift parameters are missing from HITRAN and HITEMP and must be approximated; for example, missing \(\mathrm{H_2O}\)-in-\(\mathrm{CO_2}\) broadening and shift parameters are approximated from air values following Brown et al. The \(\chi\)-factor formalism is empirical and line-list dependent, so substantial line-list changes may require readjustment [2508.18049].

The paper is also explicit about extrapolation. Experimental constraints are sparse in some spectral regions and above about \(770\ \mathrm{K}\), yet continua are extrapolated up to \(3000\ \mathrm{K}\) and binary tables to \(2000\ \mathrm{K}\). The `MT_CKD`-style split at \(\pm 25\ \mathrm{cm^{-1}}\) is stated to be suitable below roughly \(200\ \mathrm{bar}\), but less robust at extreme pressure. Line mixing is not treated except implicitly through tuned far-wing corrections, so some high-pressure band-center features remain imperfect [2508.18049].

Within those boundaries, the intended applications are clear: Earth paleoclimate calculations with variable \(\mathrm{CO_2}\), early Mars and Venus studies, steam–\(\mathrm{CO_2}\) atmospheres on post-runaway or magma-ocean planets, and terrestrial exoplanets around M dwarfs. The paper’s broader methodological claim is that when atmospheres lie in the intermediate-composition regime—where broadener identity materially alters line wings and continua—SpeCT-generated mixed-gas correlated-\(k\) tables should be preferred to additive or online-mixed opacity methods [2508.18049].

Source: https://www.emergentmind.com/topics/spect