NasaExoplanetArchiveClass¶
-
class
astroquery.nasa_exoplanet_archive.NasaExoplanetArchiveClass[source]¶ Bases:
objectQuerying object for NExScI Exoplanet Archive Confirmed Planets archive
The Exoplanet Archive table returns lots of columns of data. A full description of the columns can be found here
Use the
query_planetorquery_starmethods to get information about exoplanets via the Archive.Attributes Summary
param_unitsMethods Summary
query_planet(planet_name[, cache, …])Download (and optionally cache) the NASA Exoplanet table for a certain planet. query_star(host_name[, cache, …])Download (and optionally cache) the NASA Exoplanet table for a certain planet. Attributes Documentation
-
param_units¶
Methods Documentation
-
query_planet(planet_name, cache=True, show_progress=True, table_path=None, all_columns=False)[source]¶ Download (and optionally cache) the NASA Exoplanet table for a certain planet.
Parameters: planet_name : str
Name of planet
cache : bool (optional)
Cache exoplanet table to local astropy cache? Default is
True.show_progress : bool (optional)
Show progress of exoplanet table download (if no cached copy is available). Default is
True.table_path : str (optional)
Path to a local table file. Default
Nonewill trigger a download of the table from the internet.all_columns : bool (optional)
Return all available columns. The default returns only the columns in the default category at the link above.
Returns: table :
QTableTable of one exoplanet’s properties.
-
query_star(host_name, cache=True, show_progress=True, table_path=None, all_columns=False)[source]¶ Download (and optionally cache) the NASA Exoplanet table for a certain planet.
Parameters: host_name : str
Name of stellar system
cache : bool (optional)
Cache exoplanet table to local astropy cache? Default is
True.show_progress : bool (optional)
Show progress of exoplanet table download (if no cached copy is available). Default is
True.table_path : str (optional)
Path to a local table file. Default
Nonewill trigger a download of the table from the internet.all_columns : bool (optional)
Return all available columns. The default returns only the columns in the default category at the link above.
Returns: table :
QTableTable of one exoplanet’s properties.
-