kk_n_from_k_wavenumber#

exo_skryer.kk_schemes.kk_n_from_k_wavenumber(nu: Array, k_nu: Array, nu_ref: Array, n_ref: Array) Array[source]#

Compute n(ν) from k(ν) via a singly-subtracted KK relation.

This is a convenience wrapper around kk_n_from_k_wavenumber_fast() that looks up the grid cache internally.

Parameters:
nundarray, shape (N,)

Wavenumber grid (strictly increasing), e.g. cm⁻¹.

k_nundarray, shape (N,)

Extinction coefficient on the wavenumber grid (clipped to be non-negative).

nu_refndarray

Reference wavenumber used to anchor the subtraction term.

n_refndarray

Real refractive index at nu_ref.

Returns:
n_nundarray, shape (N,)

Real refractive index on the wavenumber grid.