petitRADTRANS.chemistry.vapour_pressures
========================================

.. py:module:: petitRADTRANS.chemistry.vapour_pressures

.. autoapi-nested-parse::

   This module provides vapor pressure curves for various condensate species.



Functions
---------

.. autoapisummary::

   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_fe_solid
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_fe_liquid
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_mgsio3
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_mg2sio4
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_na2s
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_kcl
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_sio
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_tio2
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_cr
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_zns
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_nh3
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_mns
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_h2o
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_ch4
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_al2o3
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_catio3
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_caal12o19
   petitRADTRANS.chemistry.vapour_pressures.vapour_pressure_sio2


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

.. py:function:: vapour_pressure_fe_solid(temperature)

.. py:function:: vapour_pressure_fe_liquid(temperature)

.. py:function:: vapour_pressure_mgsio3(temperature)

.. py:function:: vapour_pressure_mg2sio4(temperature, metallicity=None)

   Total pressure of condensation, not the species' vapor pressure like for most of the other species.


.. py:function:: vapour_pressure_na2s(temperature, metallicity=0.0, na2s_mass_fraction=None, mmw=2.33)

.. py:function:: vapour_pressure_kcl(temperature)

   Notes
   -----
   .. [1] Morley, C.~V., Fortney, et a.  2012.
          Neglected Clouds in T and Y Dwarf Atmospheres.
          The Astrophysical Journal 756. doi:10.1088/0004-637X/756/2/172
   .. [2] Lodders, K. 1999.
          Alkali Element Chemistry in Cool Dwarf Atmospheres.
          The Astrophysical Journal 519, 793–801. doi:10.1086/307387


.. py:function:: vapour_pressure_sio(temperature)

.. py:function:: vapour_pressure_tio2(temp, metallicity=0)

   Compute vapor pressure curve for TiO2.

   Args:
       temp: float or ndarray
           Temperature (K)
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2

   References:
       [1] Marley M. S., Saumon D., Visscher C., Lupu R., Freedman R.,
           Morley C., Fortney J. J., et al., 2021, ApJ, 920, 85.
           doi:10.3847/1538-4357/ac141d
       [2] Virga: https://github.com/natashabatalha/virga/
           Moran et al. 2025 https://ui.adsabs.harvard.edu/abs/2025ApJ...994..116M/abstract


.. py:function:: vapour_pressure_cr(temp, metallicity=0)

   Compute vapor pressure curve for Cr.

   Args:
       temp: float or ndarray
           Temperature (K)
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2

   References:
       [1] Morley, Caroline V., et al. "Neglected clouds in T and Y dwarf
           atmospheres." The Astrophysical Journal 756.2 (2012): 172.


.. py:function:: vapour_pressure_zns(temp, metallicity=0)

   Compute vapor pressure curve for ZnS.

   Args:
       temp: float or ndarray
           Temperature (K)
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2

   References:
       [1] Morley, Caroline V., et al. "Neglected clouds in T and Y dwarf
           atmospheres." The Astrophysical Journal 756.2 (2012): 172.
       [2] Visscher, Channon, Katharina Lodders, and Bruce Fegley Jr.
           "Atmospheric chemistry in giant planets, brown dwarfs, and
           low-mass dwarf stars. II. Sulfur and phosphorus."
           The Astrophysical Journal 648.2 (2006): 1181.
       [3] Virga: https://github.com/natashabatalha/virga/
           Moran et al. 2025 https://ui.adsabs.harvard.edu/abs/2025ApJ...994..116M/abstract


.. py:function:: vapour_pressure_nh3(temp, metallicity=0)

   Compute vapor pressure curve for NH3.

   Args:
       temp: float or ndarray
           Temperature (K)
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2

   References:
       [1] Lodders, K. & Fegley, B. 1998, The planetary scientist's
           companion / Katharina Lodders, Bruce Fegley. New York:
           Oxford University Press, 1998. QB601 .L84 1998
       [2] Virga: https://github.com/natashabatalha/virga/
           Moran et al. 2025 https://ui.adsabs.harvard.edu/abs/2025ApJ...994..116M/abstract


.. py:function:: vapour_pressure_mns(temp, metallicity=0)

   Compute vapor pressure curve for MnS.

   Args:
       temp: float or ndarray
           Temperature (K)
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2

   References:
       [1] Morley, Caroline V., et al. "Neglected clouds in T and Y dwarf
           atmospheres." The Astrophysical Journal 756.2 (2012): 172.
       [2] Visscher, Channon, Katharina Lodders, and Bruce Fegley Jr.
           "Atmospheric chemistry in giant planets, brown dwarfs, and
           low-mass dwarf stars. II. Sulfur and phosphorus."
           The Astrophysical Journal 648.2 (2006): 1181.
       [3] Virga: https://github.com/natashabatalha/virga/
           Moran et al. 2025 https://ui.adsabs.harvard.edu/abs/2025ApJ...994..116M/abstract


.. py:function:: vapour_pressure_h2o(temp, do_buck=True, metallicity=0)

   Compute vapor pressure curve for H2O.

   Args:
       temp: float or ndarray
           Temperature (K)
       do_buck: bool
           If True, use Buck (1981) expression. If False, use Wexler's.
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2

   References:
       [1] Lodders, K. & Fegley, B. 1998, The planetary scientist's
           companion / Katharina Lodders, Bruce Fegley. New York:
           Oxford University Press, 1998. QB601 .L84 1998
       [2] Buck, Arden L. "New equations for computing vapor pressure and
           enhancement factor." Journal of Applied Meteorology and
           Climatology 20.12 (1981): 1527-1532.
       [3] Flatau, Piotr J., Robert L. Walko, and William R. Cotton.
           "Polynomial fits to saturation vapor pressure." Journal of
           Applied Meteorology 31.12 (1992): 1507-1513.
       [4] Virga: https://github.com/natashabatalha/virga/
           Moran et al. 2025 https://ui.adsabs.harvard.edu/abs/2025ApJ...994..116M/abstract


.. py:function:: vapour_pressure_ch4(temp, metallicity=0)

   Compute vapor pressure curve for CH4.

   Args:
       temp: float or ndarray
           Temperature (K)
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2

   References:
       [1] Lodders, K. & Fegley, B. 1998, The planetary scientist's
           companion / Katharina Lodders, Bruce Fegley. New York:
           Oxford University Press, 1998. QB601 .L84 1998
       [2] Virga: https://github.com/natashabatalha/virga/
           Moran et al. 2025 https://ui.adsabs.harvard.edu/abs/2025ApJ...994..116M/abstract


.. py:function:: vapour_pressure_al2o3(temp, metallicity=0)

   Compute vapor pressure curve for Al2O3.

   Args:
       temp: float or ndarray
           Temperature (K)
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2

   References:
       [1] Wakeford, Hannah R., et al. "High temperature condensate clouds
           in super-hot Jupiter atmospheres." Monthly Notices of the Royal
           Astronomical Society (2016): stw2639.
       [2] Virga: https://github.com/natashabatalha/virga/
           Moran et al. 2025 https://ui.adsabs.harvard.edu/abs/2025ApJ...994..116M/abstract


.. py:function:: vapour_pressure_catio3(temp, p, metallicity=0)

   Compute vapor pressure curve for CaTiO3.

   Args:
       temp: float or ndarray
           Temperature (K)
       p: float
           Pressure (dyne/cm^2)
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2

   References:
       [1] Wakeford, Hannah R., et al. "High temperature condensate clouds
           in super-hot Jupiter atmospheres." Monthly Notices of the Royal
           Astronomical Society (2016): stw2639.
       [2] Virga: https://github.com/natashabatalha/virga/
           Moran et al. 2025 https://ui.adsabs.harvard.edu/abs/2025ApJ...994..116M/abstract


.. py:function:: vapour_pressure_caal12o19(temp, p, metallicity=0)

   Compute vapor pressure curve for CaAl12O19.

   Args:
       temp: float or ndarray
           Temperature (K)
       p: float
           Pressure (dyne/cm^2)
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2

   References:
       [1] Wakeford, Hannah R., et al. "High temperature condensate clouds
           in super-hot Jupiter atmospheres." Monthly Notices of the Royal
           Astronomical Society (2016): stw2639.
       [2] Virga: https://github.com/natashabatalha/virga/
           Moran et al. 2025 https://ui.adsabs.harvard.edu/abs/2025ApJ...994..116M/abstract


.. py:function:: vapour_pressure_sio2(temp, metallicity=0)

   Compute vapor pressure curve for SiO2.

   Args:
       temp: float or ndarray
           Temperature (K)
       metallicity: float
           Metallicity relative to solar in log10 units (default: 0 = 1X solar)

   Returns:
       float or ndarray
           Vapor pressure in dyne/cm^2
   References:
       [1] Virga: https://github.com/natashabatalha/virga/
               Moran et al. 2025 https://ui.adsabs.harvard.edu/abs/2025ApJ...994..116M/abstract
   Notes:
       PLACEHOLDER: Not suited yet for public use.


