CONAN.get_files.get_parameters
==============================

.. py:function:: CONAN.get_files.get_parameters(planet_name, database='exoplanetarchive', table='pscomppars', ps_select_index=None, overwrite_cache=False, check_rhostar=False)

   get stellar and planet parameters from nasa exoplanet archive or exoplanet.eu

   :param planet_name: Name of the planet.
   :type planet_name: str
   :param database: Database to use. Default is "exoplanetarchive". Options are "exoplanetarchive" or "exoplanet.eu".
   :type database: str
   :param table: Table to use. Default is "pscomppars". Options are "pscomppars" or "ps".
   :type table: str
   :param ps_select_index: Index of the parameter set to use. Default is None.
   :type ps_select_index: int
   :param overwrite_cache: Overwrite the cached parameters. Default is True.
   :type overwrite_cache: bool
   :param check_rhostar: Check if the stellar density is consistent with the Transit duration.
                         inconsistency may be due to rho_star not being the actual stellar density but just a proxy, value may therefore not be suitable as prior in CONAN.
                         Default is False.
   :type check_rhostar: bool

   :returns: **params** -- Dictionary with stellar and planet parameters.
             The dictionary has the following structure:
             {
                 "star": {
                     "Teff": (value, error),
                     "logg": (value, error),
                     "FeH": (value, error),
                     "radius": (value, error),
                     "mass": (value, error),
                     "density": (value, error)
                 },
                 "planet": {
                     "name": value,
                     "period": (value, error),
                     "rprs": (value, error),
                     "mass": (value, error),
                     "ecc": (value, error),
                     "w": (value, error),
                     "T0": (value, error),
                     "b": (value, error),
                     "T14": (value, error),
                     "aR": (value, error),
                     "K[m/s]": (value, error)
   :rtype: dict

