picket_fence#

exo_skryer.vert_Tp.picket_fence(p_lev: Array, params: Dict[str, Array]) Tuple[Array, Array][source]#

Generate a Parmentier & Guillot (2014,2015) picket fence T-P profile.

This profile uses a picket fence approximation for radiative transfer, treating opacity as a combination of discrete spectral bins.

Parameters:
p_levndarray, shape (nlev,)

Pressure at atmospheric levels.

paramsdict[str, ndarray]

Parameter dictionary containing:

  • T_int, T_eqfloat

    Internal and equilibrium temperatures in Kelvin.

  • log_10_k_ir, log_10_gam_vfloat

    Log₁₀ infrared opacity (cm² g⁻¹) and log₁₀ visible-to-IR ratio.

  • log_10_R, Betafloat

    Picket-fence parameters (dimensionless).

  • log_10_gfloat

    Log₁₀ surface gravity in cm s⁻².

  • f_hemfloat

    Hemispheric redistribution factor (dimensionless).

Returns:
T_levndarray, shape (nlev,)

Temperature at levels in Kelvin.

T_layndarray, shape (nlev-1,)

Temperature at layer midpoints in Kelvin.