petitRADTRANS.stellar_spectra.phoenix
=====================================

.. py:module:: petitRADTRANS.stellar_spectra.phoenix

.. autoapi-nested-parse::

   Manages the Phoenix star table.



Attributes
----------

.. autoapisummary::

   petitRADTRANS.stellar_spectra.phoenix.phoenix_star_table


Classes
-------

.. autoapisummary::

   petitRADTRANS.stellar_spectra.phoenix.PhoenixStarTable


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

.. py:class:: PhoenixStarTable

   Used to store petitRADTRANS's PHOENIX star spectrum models.

   The compute_spectrum function can be used to get a star spectrum at a given temperature.


   .. py:attribute:: _loaded
      :value: False



   .. py:attribute:: log10_effective_temperature_grid
      :value: None



   .. py:attribute:: radius_grid
      :value: None



   .. py:attribute:: flux_grid
      :value: None



   .. py:attribute:: wavelength_grid
      :value: None



   .. py:method:: compute_spectrum(temperature)

      Returns a matrix where the first column is the wavelength in cm
      and the second is the stellar flux :math:`F_\nu` in units of
      :math:`\rm erg/cm^2/s/Hz`, at the surface of the star.
      The spectra are PHOENIX models from (Husser et al. 2013), the spectral
      grid used here was described in van Boekel et al. (2012).

      Args:
          temperature (float):
              stellar effective temperature in K.



   .. py:method:: get_default_file(path_input_data=None)
      :staticmethod:



   .. py:method:: load(file=None, path_input_data=None, search_online=True)


.. py:data:: phoenix_star_table

