mix_k_tables_rorr#

exo_skryer.ck_mix_RORR.mix_k_tables_rorr(sigma_values: Array, mixing_ratios: Array, g_points: Array, base_weights: Array) Array[source]#

Mix correlated-k tables across species using RORR.

Parameters:
sigma_valuesndarray

Cross-sections for all species, shape (n_species, n_layers, n_wavelength, n_g).

mixing_ratiosndarray

Volume mixing ratios, shape (n_species, n_layers) or (n_species,). If 1D, it is broadcast across layers.

g_pointsndarray

Standard g-points for interpolation, shape (n_g,).

base_weightsndarray

Quadrature weights, shape (n_g,).

Returns:
ndarray

Mixed cross-sections, shape (n_layers, n_wavelength, n_g).