petitRADTRANS.temperature_profiles.molliere
===========================================

.. py:module:: petitRADTRANS.temperature_profiles.molliere


Functions
---------

.. autoapisummary::

   petitRADTRANS.temperature_profiles.molliere.molliere_2020_temperature_profile


Module Contents
---------------

.. py:function:: molliere_2020_temperature_profile(temperature_nodes, delta, alpha, t_internal, pressures, metallicity, co_ratio, conv)

   Self-luminous retrieval P-T model.
   Args:
       temperature_nodes : jnp.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.
       delta : float
           proportionality factor in tau = delta * pressures_cgs**alpha
       alpha : float
           power law index in tau = delta * pressures_cgs**alpha
           For the tau model: use proximity to kappa_rosseland photosphere
           as prior.
       t_internal : float
           internal temperature of the Eddington model
       pressures : jnp.ndarray
           input pressure profile in bar
       conv : bool
           enforce convective adiabat yes/no
       co_ratio : float
           C/O for the nabla_ad interpolation
       metallicity : float
           metallicity for the nabla_ad interpolation
   Returns:
       Tret : jnp.ndarray
           The temperature as a function of atmospheric pressure.


