direct_nk#
- exo_skryer.opacity_cloud.direct_nk(state: Dict[str, Array], params: Dict[str, Array]) Tuple[Array, Array, Array][source]#
Compute cloud optical properties from retrieved refractive-index nodes.
This function retrieves node values describing the complex refractive index (n, k) as a function of wavelength, interpolates them onto the model wavelength grid, and computes wavelength-dependent optical properties using Mie/MADT scattering. The vertical profile is provided via q_c_lay in the state dictionary (computed separately by vert_cloud kernels).
- Parameters:
- statedict[str,
ndarray] Atmospheric state dictionary containing:
- paramsdict[str,
ndarray] Parameter dictionary containing:
wl_node_0..`wl_node_12`floatWavelength nodes (microns).
n_0..`n_12`floatReal refractive-index nodes.
log_10_k_0..`log_10_k_12`floatLog₁₀ imaginary refractive-index nodes.
log_10_cld_rfloatLog₁₀ particle radius in microns.
cld_rhofloatCloud bulk density in g cm⁻³.
- statedict[str,
- Returns: