From aec4422f5f9fc455a2446c9c65c005606a3ff3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brigitta=20Sip=C5=91cz?= Date: Mon, 17 Jun 2024 21:19:47 -0700 Subject: [PATCH] DOC: minor doc example fixes --- docs/ipac/irsa/irsa.rst | 2 +- docs/ipac/ned/ned.rst | 7 +++-- docs/ipac/nexsci/nasa_exoplanet_archive.rst | 29 +++++++++++++++++++-- 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/docs/ipac/irsa/irsa.rst b/docs/ipac/irsa/irsa.rst index e231e9a89f..af5d70927b 100644 --- a/docs/ipac/irsa/irsa.rst +++ b/docs/ipac/irsa/irsa.rst @@ -244,7 +244,7 @@ will return a `~astropy.table.Table`: >>> from astroquery.ipac.irsa import Irsa >>> Irsa.list_collections() - +
collection object --------------------- diff --git a/docs/ipac/ned/ned.rst b/docs/ipac/ned/ned.rst index 3049a73d71..bb1a4abee0 100644 --- a/docs/ipac/ned/ned.rst +++ b/docs/ipac/ned/ned.rst @@ -149,7 +149,6 @@ These queries can be used to retrieve all objects that appear in the specified 34 UGC 12149 340.28163 ... 8 0 35 MRK 0522 345.07954 ... 4 0 36 NGC 7674 351.98635 ... 8 0 - Length = 36 rows Image and Spectra Queries @@ -272,13 +271,13 @@ If you are repeatedly getting failed queries, or bad/out-of-date results, try cl .. code-block:: python - >>> from astroquery.ned import Ned + >>> from astroquery.ipac.ned import Ned >>> Ned.clear_cache() -If this function is unavailable, upgrade your version of astroquery. +If this function is unavailable, upgrade your version of astroquery. The ``clear_cache`` function was introduced in version 0.4.7.dev8479. - + Reference/API ============= diff --git a/docs/ipac/nexsci/nasa_exoplanet_archive.rst b/docs/ipac/nexsci/nasa_exoplanet_archive.rst index aff0f55fa8..e4e4977b84 100644 --- a/docs/ipac/nexsci/nasa_exoplanet_archive.rst +++ b/docs/ipac/nexsci/nasa_exoplanet_archive.rst @@ -94,19 +94,44 @@ A list of accessible tables can be found in the ``TAP_TABLES`` attribute: >>> from astroquery.ipac.nexsci.nasa_exoplanet_archive import NasaExoplanetArchive >>> NasaExoplanetArchive.TAP_TABLES ['spectra', + 'TD', + 'pscomppars', 'superwasptimeseries', 'kelttimeseries', 'DI_STARS_EXEP', + 'stellarhosts', 'transitspec', 'emissionspec', 'ps', - 'pscomppars', 'keplernames', 'k2names', + 'toi', + 'CUMULATIVE', + 'Q1_Q6_KOI', + 'Q1_Q8_KOI', + 'Q1_Q12_KOI', + 'Q1_Q16_KOI', + 'Q1_Q17_DR24_KOI', + 'Q1_Q17_DR25_KOI', + 'Q1_Q17_DR25_SUP_KOI', + 'Q1_Q12_TCE', + 'Q1_Q16_TCE', + 'Q1_Q17_DR24_TCE', + 'Q1_Q17_DR25_TCE', + 'stellarhosts', 'ukirttimeseries', 'ml', 'object_aliases', - 'k2pandc'] + 'k2pandc', + 'K2TARGETS', + 'KEPLERTIMESERIES', + 'KEPLERSTELLAR', + 'Q1_Q12_KS', + 'Q1_Q16_KS', + 'Q1_Q17_DR24_KS', + 'Q1_Q17_DR25_KS', + 'Q1_Q17_DR25_SUP_KS'] + Example queries