compute_cloud_efficiencies#

exo_skryer.opacity_cloud.compute_cloud_efficiencies(wl: Array, r_cm: Array, params: Dict[str, Array], *, eff_scheme: str, n: Array | None = None, k: Array | None = None) Tuple[Array, Array, Array][source]#

Second-stage landing function for (Q_ext, Q_sca, g).

Parameters:
wlndarray, shape (nwl,)

Wavelength grid in microns.

r_cmndarray, shape (nr,) or scalar

Particle radius in cm.

paramsdict[str, ndarray]

Parameters needed by the selected scheme.

n, kndarray, optional

Refractive-index arrays on the same wl grid (shape (nwl,)). For all nk-based schemes, these must be provided (the “physics” pathway uses cached n,k from the registry/opac_cache). The node-interpolation pathway is kept only in direct_nk.

eff_schemestr

Efficiency scheme identifier. Current options: - “f18”: Fisher & Heng (2018) Qext model (Qsca=0, g=0 for now) - “mie_madt”: Rayleigh + MADT blend using retrieved n,k nodes - “lxmie”: full Lorenz-Mie (LX-MIE) using retrieved n,k nodes

Returns:
Q_ext, Q_sca, garrays

Efficiencies and asymmetry parameter. Shape is (nr, nwl) if r_cm is a vector, else (nwl,) for scalar radius.