petitRADTRANS.temperature_profiles.molliere

petitRADTRANS.temperature_profiles.molliere#

Functions#

molliere_2020_temperature_profile(temperature_nodes, ...)

Self-luminous retrieval P-T model.

Module Contents#

petitRADTRANS.temperature_profiles.molliere.molliere_2020_temperature_profile(temperature_nodes, delta, alpha, t_internal, pressures, metallicity, co_ratio, conv)#

Self-luminous retrieval P-T model. Args:

temperature_nodesjnp.array([t1, t2, t3])

temperature points to be added on top radiative Eddington structure (above tau = 0.1). Use spline interpolation, t1 < t2 < t3 < tconnect as prior.

deltafloat

proportionality factor in tau = delta * pressures_cgs**alpha

alphafloat

power law index in tau = delta * pressures_cgs**alpha For the tau model: use proximity to kappa_rosseland photosphere as prior.

t_internalfloat

internal temperature of the Eddington model

pressuresjnp.ndarray

input pressure profile in bar

convbool

enforce convective adiabat yes/no

co_ratiofloat

C/O for the nabla_ad interpolation

metallicityfloat

metallicity for the nabla_ad interpolation

Returns:
Tretjnp.ndarray

The temperature as a function of atmospheric pressure.