NasaExoplanetArchiveClass

class astroquery.nasa_exoplanet_archive.NasaExoplanetArchiveClass[source]

Bases: object

Exoplanet Archive querying object. Use the get_confirmed_planets_table or query_planet methods to get information about exoplanets via the NASA Exoplanet Archive.

Attributes Summary

param_units

Methods Summary

get_confirmed_planets_table([cache, …])

Download (and optionally cache) the NExScI Exoplanet Archive Confirmed Planets table.

query_planet(planet_name, **kwargs)

Get table of exoplanet properties.

Attributes Documentation

param_units

Methods Documentation

get_confirmed_planets_table(cache=True, show_progress=True, table_path=None, all_columns=False)[source]

Download (and optionally cache) the NExScI Exoplanet Archive Confirmed Planets table.

The Exoplanet Archive table returns lots of columns of data. A full description of the columns can be found here

Parameters
cachebool (optional)

Cache exoplanet table to local astropy cache? Default is True.

show_progressbool (optional)

Show progress of exoplanet table download (if no cached copy is available). Default is True.

table_pathstr (optional)

Path to a local table file. Default None will trigger a download of the table from the internet.

all_columnsbool (optional)

Return all available columns. The default returns only the columns in the default category at the link above.

Returns
tableQTable

Table of exoplanet properties.

query_planet(planet_name, **kwargs)[source]

Get table of exoplanet properties.

Parameters
planet_namestr

Name of planet

kwargsdict (optional)

Extra keyword arguments passed to get_confirmed_planets_table.

Returns
tableQTable

Table of one exoplanet’s properties.