slab_profile#

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

Uniform slab cloud profile with hard pressure cutoffs.

The cloud is present with constant q_c between P_top and P_bot, and zero outside.

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 inside the slab.

  • log_10_p_top_slabfloat

    Log₁₀ pressure at the top of the slab in bar.

  • log_10_dp_slabfloat

    Log₁₀ linear pressure width of the slab in bar (Δp = 10^log_10_dp_slab).

Returns:
q_c_layndarray, shape (nlay,)

Cloud mass mixing ratio per layer (q_c inside slab, 0 outside).