CONAN.get_files.get_parameters

CONAN.get_files.get_parameters#

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

Parameters:
  • planet_name (str) – Name of the planet.

  • database (str) – Database to use. Default is “exoplanetarchive”. Options are “exoplanetarchive” or “exoplanet.eu”.

  • table (str) – Table to use. Default is “pscomppars”. Options are “pscomppars” or “ps”.

  • ps_select_index (int) – Index of the parameter set to use. Default is None.

  • overwrite_cache (bool) – Overwrite the cached parameters. Default is True.

  • check_rhostar (bool) – 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.

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)

Return type:

dict