grey_profile_cloud#

exo_skryer.opacity_cloud.grey_profile_cloud(state: Dict[str, Array], params: Dict[str, Array]) Tuple[Array, Array, Array][source]#

Compute grey cloud opacity masked by the vertical cloud profile.

Parameters:
statedict[str, ndarray]

Atmospheric state dictionary containing:

  • nlayint

    Number of atmospheric layers.

  • nwlint

    Number of wavelength points.

  • q_c_layndarray, shape (nlay,)

    Cloud mass mixing ratio per layer from the selected vert_cloud kernel. Layers with values greater than zero receive grey opacity.

paramsdict[str, ndarray]

Parameter dictionary containing:

  • log_10_k_cld_greyfloat

    Log10 grey cloud extinction coefficient in cm² g⁻¹.

Returns:
k_cldndarray, shape (nlay, nwl)

Grey cloud extinction coefficient in cm² g⁻¹, set to 10**log_10_k_cld_grey where q_c_lay > 0 and zero elsewhere.

ssandarray, shape (nlay, nwl)

Single-scattering albedo (zeros; pure absorption).

gndarray, shape (nlay, nwl)

Asymmetry parameter (zeros).