skyscapes.physical_model.exojax.components.tp#

Temperature-pressure profile components.

Classes#

PowerLawTPProfile

Power-law T-P profile: T(P) = T_eq * P^alpha.

Module Contents#

class skyscapes.physical_model.exojax.components.tp.PowerLawTPProfile[source]#

Bases: skyscapes.physical_model.exojax.components.base.AbstractTPProfile

Power-law T-P profile: T(P) = T_eq * P^alpha.

The two parameters are PyTree leaves but they are passed to compute_Tarr() as scalar args rather than being read from self so the atmosphere can vmap over per-planet axes without extra plumbing.

Attributes:

T_eq_K: Reference temperature at 1 bar [K], shape (K,). T_alpha: Power-law exponent, shape (K,).

T_eq_K: jaxtyping.Array#
T_alpha: jaxtyping.Array#
compute_Tarr(rt_engine, T_eq_K_scalar, T_alpha_scalar)[source]#

T(P) = T_eq * P^alpha on the rt_engine’s layer pressures.

Parameters:
  • T_eq_K_scalar (jaxtyping.Array)

  • T_alpha_scalar (jaxtyping.Array)

Return type:

jaxtyping.Array