exponential_decay_profile#

exo_skryer.vert_cloud.exponential_decay_profile(p_lay: Array, T_lay: Array, mu_lay: Array, rho_lay: Array, nd_lay: Array, params: Dict[str, Array]) Array[source]#

Exponential decay cloud profile with hard base cutoff.

This profile follows:

q_c(P) = q_c_0 * (P / P_base)^alpha for P < P_base q_c(P) = 0 for P >= P_base

Parameters:
p_layndarray, shape (nlay,)

Pressure at layer centers in dyne cm⁻².

T_layndarray, shape (nlay,)

Layer temperatures in K.

mu_layndarray, shape (nlay,)

Mean molecular weight per layer in amu.

rho_layndarray, shape (nlay,)

Mass density per layer in g cm⁻³.

nd_layndarray, shape (nlay,)

Number density per layer in cm⁻³.

paramsdict[str, ndarray]

Parameter dictionary containing:

  • log_10_q_cfloat

    Log₁₀ cloud mass mixing ratio at the base pressure.

  • log_10_alpha_cldfloat

    Log₁₀ cloud pressure power-law exponent.

  • log_10_p_basefloat

    Log₁₀ base pressure in bar (converted to dyne cm⁻² internally).

Returns:
q_c_layndarray, shape (nlay,)

Cloud mass mixing ratio per layer.