hypsometric#

exo_skryer.vert_alt.hypsometric(p_lev: Array, T_lay: Array, mu_lay: Array, params: Dict[str, Array]) Tuple[Array, Array, Array][source]#

Compute an altitude profile using the hypsometric equation (constant gravity).

Parameters:
p_levndarray, shape (nlev,)

Pressure at layer interfaces (levels). Units are arbitrary as long as consistent across the grid (in the forward model this is dyne cm⁻²).

T_layndarray, shape (nlay,)

Layer temperatures in Kelvin.

mu_layndarray, shape (nlay,)

Mean molecular weight per layer in g mol^-1.

paramsdict[str, ndarray]

Parameter dictionary containing:

  • log_10_gfloat

    Log₁₀ surface gravity in cm s⁻².

Returns:
z_levndarray, shape (nlev,)

Altitude at levels in cm, with z_lev[0] = 0.

z_layndarray, shape (nlay,)

Altitude at layer midpoints in cm.

dzndarray, shape (nlay,)

Layer thickness in cm.