|
55 | 55 | The :meth:`~astroquery.ipac.irsa.most.MostClass.query` method will return
|
56 | 56 | different objects depending on the specified output mode.
|
57 | 57 |
|
58 |
| -=========== =============== |
| 58 | +=================== ========================================================= |
59 | 59 | Output mode Returned object
|
60 |
| -=========== =============== |
| 60 | +=================== ========================================================= |
61 | 61 | `Regular` or `Full` Dictionary containing `results`, `metadata` and `region`.
|
62 | 62 | keys, optionally additionally `fits_tarball` and
|
63 | 63 | `region_tarball`.
|
64 | 64 | `Brief` or `Gator` :class:`astropy.table.Table` object.
|
65 | 65 | `VOTable` :class:`astropy.io.VOTable` object.
|
66 |
| -========== =============== |
| 66 | +=================== ========================================================= |
67 | 67 |
|
68 | 68 | In `Regular` or `Full` output mode, the returned dictionary's key `results`
|
69 | 69 | maps to the table titled "Images with a Matched Object Position", which
|
70 | 70 | contains the following columns:
|
71 | 71 |
|
72 |
| -====== ============ |
| 72 | +============ =============================================================== |
73 | 73 | Column Description
|
74 |
| -====== =========== |
| 74 | +============ =============================================================== |
75 | 75 | Image_ID A unique identifier for the image data, not necessarily the
|
76 | 76 | image file name.
|
77 | 77 | date_obs Date (UTC) of the observation.
|
78 | 78 | time_obs Time (UTC) of the midpoint of the observation.
|
79 | 79 | mjd_obs Modified Julian Date (days) of the midpoint of the observation.
|
80 |
| -ra_obs Ephemeris prediction of the object's right ascension (deg, J2000). |
81 |
| -dec_obs Ephemeris prediction of the object's declination (deg, J2000). |
| 80 | +ra_obs Ephemeris of the object's right ascension (deg, J2000). |
| 81 | +dec_obs Ephemeris of the object's declination (deg, J2000). |
82 | 82 | sun_dist Heliocentric distance of the object (AU).
|
83 | 83 | geo_dist Geocentric distance of the object (AU).
|
84 |
| -dist_ctr Projected distance of the object from the center of the image (deg). |
| 84 | +dist_ctr Projected distance from the center of the image (deg). |
85 | 85 | phase Sun-Object-earth angle (deg).
|
86 | 86 | vmag Estimate of visual magnitude (from Horizons).
|
87 | 87 | image_url Links to download or view the data.
|
88 | 88 | postcard_url ??? usually ``null``
|
89 | 89 | region_file Markers for the moving object in DS9 "region" format.
|
| 90 | +============ =============================================================== |
90 | 91 |
|
91 | 92 | The table contained under `metadata` key, when in `Regular` or `Full` mode
|
92 | 93 | contains the following columns:
|
93 | 94 |
|
94 | 95 | +---------------------+-------------------------------------------------------+
|
95 | 96 | | Column | Description |
|
96 | 97 | +=====================+=======================================================+
|
97 |
| -| **General** | |
| 98 | +| **General** | |
98 | 99 | +---------------------+-------------------------------------------------------+
|
99 | 100 | | ra1, dec1, | Right ascension and declination of the 4 corners of |
|
100 | 101 | | ra2, dec2, etc. | the image (deg, J2000) |
|
101 | 102 | +---------------------+-------------------------------------------------------+
|
102 | 103 | | match | match = 1 indicates a matched image (added by MOST) |
|
103 | 104 | +---------------------+-------------------------------------------------------+
|
104 |
| -| **WISE/NEOWISE** | |
| 105 | +| **WISE/NEOWISE** | |
105 | 106 | +---------------------+-------------------------------------------------------+
|
106 | 107 | | crpix1, crpix2 | Center of image (pixels) |
|
107 | 108 | +---------------------+-------------------------------------------------------+
|
|
132 | 133 | | image_set | image_set=4 for 4band, 3 for 3band, 2 for 2band, and |
|
133 | 134 | | | 6, 7 etc. for NEOWISE-R year 1, 2 etc. |
|
134 | 135 | +---------------------+-------------------------------------------------------+
|
135 |
| -| **2MASS** | |
| 136 | +| **2MASS** | |
136 | 137 | +---------------------+-------------------------------------------------------+
|
137 | 138 | | ordate | UT date of reference (start of nightly operations) |
|
138 | 139 | +---------------------+-------------------------------------------------------+
|
|
150 | 151 | +---------------------+-------------------------------------------------------+
|
151 | 152 | | ds | ds=full for 2mass |
|
152 | 153 | +---------------------+-------------------------------------------------------+
|
153 |
| -| **PTF** | |
| 154 | +| **PTF** | |
154 | 155 | +---------------------+-------------------------------------------------------+
|
155 | 156 | | obsdate | Observation UT date/time YYYY-MM-DD HH:MM:SS.SSS |
|
156 | 157 | +---------------------+-------------------------------------------------------+
|
|
166 | 167 | +---------------------+-------------------------------------------------------+
|
167 | 168 | | pfilename | Processed-image filename |
|
168 | 169 | +---------------------+-------------------------------------------------------+
|
169 |
| -| **ZTF** | |
| 170 | +| **ZTF** | |
170 | 171 | +---------------------+-------------------------------------------------------+
|
171 | 172 | | obsdate | Observation UT date/time YYYY-MM-DD HH:MM:SS.SSS |
|
172 | 173 | +---------------------+-------------------------------------------------------+
|
|
194 | 195 | +---------------------+-------------------------------------------------------+
|
195 | 196 | | imgtypecode | Single letter image type code |
|
196 | 197 | +---------------------+-------------------------------------------------------+
|
197 |
| -| **Spitzer** | |
| 198 | +| **Spitzer** | |
198 | 199 | +---------------------+-------------------------------------------------------+
|
199 | 200 | | reqkey | Spitzer Astronomical Observation Request number |
|
200 | 201 | +---------------------+-------------------------------------------------------+
|
|
228 | 229 | `Gator` mode returns :class:`~astropy.table.Table` containing the following
|
229 | 230 | columns:
|
230 | 231 |
|
231 |
| -====== ============ |
| 232 | +========= ===================================== |
232 | 233 | Column Description
|
233 |
| -====== =========== |
| 234 | +========= ===================================== |
234 | 235 | mjd Modified Julian Date of observation
|
235 | 236 | scan_id Scan ID
|
236 | 237 | frame_num Frame number
|
237 | 238 | ra Right Ascension of the object (J2000)
|
238 | 239 | dec Declination of the object (J2000)
|
| 240 | +========= ===================================== |
239 | 241 |
|
240 | 242 | I guess? It's not clearly documented if these are RA DEC of images or objects
|
241 | 243 |
|
|
246 | 248 | differ. Certain parameters are always required and for some reasonable defaults
|
247 | 249 | are provided.
|
248 | 250 |
|
249 |
| -+-------------------+------------------+------+-------------------------------+ |
250 |
| -| Parameter | Required | Type | Note | |
251 |
| -+===================+==================+==========+===========================+ |
| 251 | ++-------------------+------------------+-------+------------------------------+ |
| 252 | +| Parameter | Required | Type | Note | |
| 253 | ++===================+==================+=======+==============================+ |
252 | 254 | | catalog | always required | str | Catalog. By default |
|
253 | 255 | | | | | `conf.catalog`. See |
|
254 | 256 | | | | | `self.list_catalogs`. |
|
255 | 257 | +-------------------+------------------+-------+------------------------------+
|
256 | 258 | | input_type | always required | str | Input mode. |
|
257 |
| -| | | | | |
258 |
| -+-------------------+----------------- +-------+------------------------------+ |
| 259 | ++-------------------+------------------+-------+------------------------------+ |
259 | 260 | | output_mode | always required | str | Output mode. |
|
260 |
| -| | | | | |
261 | 261 | +-------------------+------------------+-------+------------------------------+
|
262 | 262 | | ephem_step | always required | float | Ephemeris step size, days. |
|
263 | 263 | | | | | Default `conf. |
|
|
323 | 323 | from bs4 import BeautifulSoup
|
324 | 324 |
|
325 | 325 | from astropy.io import votable
|
326 |
| -from astropy.table import Table, Column |
| 326 | +from astropy.table import Table |
327 | 327 |
|
328 |
| -from astroquery import log |
329 | 328 | from astroquery.query import BaseQuery
|
330 | 329 | from astroquery.utils import class_or_instance
|
331 |
| -from astroquery.exceptions import RemoteServiceError, NoResultsWarning |
332 | 330 |
|
333 | 331 | from . import conf
|
334 | 332 |
|
@@ -461,7 +459,7 @@ def _validate_manual_input_type(self, params):
|
461 | 459 |
|
462 | 460 | # This seemingly can be whatever
|
463 | 461 | if not params.get("body_designation", False):
|
464 |
| - params["body_designation"] = "Test"+params["obj_type"] |
| 462 | + params["body_designation"] = "Test"+params["obj_type"] |
465 | 463 |
|
466 | 464 | def _validate_input(self, params):
|
467 | 465 | """
|
|
0 commit comments