petitRADTRANS.temperature_profiles.power_law
============================================

.. py:module:: petitRADTRANS.temperature_profiles.power_law


Functions
---------

.. autoapisummary::

   petitRADTRANS.temperature_profiles.power_law.power_law_temperature_profile


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

.. py:function:: power_law_temperature_profile(pressures: jax.typing.ArrayLike, alpha: float, T0: float) -> jax.Array

   Compute a power law profile for temperature; log(T) = a*log(P) + b.

   This function computes a cubic spline profile for temperature using
   pressure and temperature data points, along with a curvature prior.

   Args:
       pressures (array-like): An array or list of pressure data points.
       alpha (float): power law exponent (how steep is the profile)
       T0 (float): multiplicative factor (offsets the profile)

   Returns:
       temperatures (array): temperature values for each pressure value


