nk_f18_blend#
- exo_skryer.opacity_cloud.nk_f18_blend(state: Dict[str, Array], params: Dict[str, Array]) Tuple[Array, Array, Array][source]#
Additive combination of direct_nk and F18 cloud opacity.
Both components share the same vertical cloud profile (
q_c_layfromstate). Thedirect_nkcomponent uses the standard node parameters (wl_node_*,n_*,log_10_k_*,log_10_cld_r,cld_rho). The F18 component uses namespaced parameters to avoid collision:log_10_cld_r_f18,cld_rho_f18,cld_Q0,cld_Q1,cld_a.Extinction is additive. The combined single-scattering albedo and asymmetry parameter are weighted by each component’s scattering opacity (k_ext × ssa), so the result is physically consistent regardless of the relative magnitudes of the two contributions.
- Parameters:
- statedict
Atmospheric state; must contain
wl,q_c_lay,nlay,nwl.- paramsdict
Must contain all
direct_nkparams plus the F18-namespaced params listed above.
- Returns:
- k_cldjnp.ndarray, shape (nlay, nwl)
Combined cloud extinction coefficient in cm² g⁻¹.
- ssajnp.ndarray, shape (nlay, nwl)
Combined single-scattering albedo.
- gjnp.ndarray, shape (nlay, nwl)
Combined asymmetry parameter (flux-weighted over scattering opacities).