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_lay
ndarray, shape (nlay,) Pressure at layer centers in dyne cm⁻².
- T_lay
ndarray, shape (nlay,) Layer temperatures in K.
- mu_lay
ndarray, shape (nlay,) Mean molecular weight per layer in amu.
- rho_lay
ndarray, shape (nlay,) Mass density per layer in g cm⁻³.
- nd_lay
ndarray, shape (nlay,) Number density per layer in cm⁻³.
- paramsdict[str,
ndarray] Parameter dictionary containing:
log_10_q_cfloatLog₁₀ cloud mass mixing ratio inside the slab.
log_10_p_top_slabfloatLog₁₀ pressure at the top of the slab in bar.
log_10_dp_slabfloatLog₁₀ linear pressure width of the slab in bar (Δp = 10^log_10_dp_slab).
- p_lay
- Returns:
- q_c_lay
ndarray, shape (nlay,) Cloud mass mixing ratio per layer (q_c inside slab, 0 outside).
- q_c_lay