--- /tmp/astroquery-0.4.1+dfsg-4wxd2q3wz/debian/python-astroquery-doc_0.4.1+dfsg-4_all.deb +++ python-astroquery-doc_0.4.1+dfsg-4_all.deb ├── file list │ @@ -1,3 +1,3 @@ │ -rw-r--r-- 0 0 0 4 2020-11-26 17:39:55.000000 debian-binary │ --rw-r--r-- 0 0 0 16320 2020-11-26 17:39:55.000000 control.tar.xz │ --rw-r--r-- 0 0 0 1338236 2020-11-26 17:39:55.000000 data.tar.xz │ +-rw-r--r-- 0 0 0 16300 2020-11-26 17:39:55.000000 control.tar.xz │ +-rw-r--r-- 0 0 0 1338264 2020-11-26 17:39:55.000000 data.tar.xz ├── control.tar.xz │ ├── control.tar │ │ ├── ./control │ │ │ @@ -1,13 +1,13 @@ │ │ │ Package: python-astroquery-doc │ │ │ Source: astroquery │ │ │ Version: 0.4.1+dfsg-4 │ │ │ Architecture: all │ │ │ Maintainer: Debian Astro Team │ │ │ -Installed-Size: 12269 │ │ │ +Installed-Size: 12271 │ │ │ Depends: libjs-sphinxdoc (>= 2.4.3-5~) │ │ │ Section: doc │ │ │ Priority: optional │ │ │ Multi-Arch: foreign │ │ │ Homepage: https://pypi.python.org/pypi/astroquery/ │ │ │ Description: Python online astronomical database querying (documentation) │ │ │ Astroquery is a set of Python tools for querying astronomical web forms and │ │ ├── ./md5sums │ │ │ ├── ./md5sums │ │ │ │┄ Files differ ├── data.tar.xz │ ├── data.tar │ │ ├── file list │ │ │ @@ -538,15 +538,15 @@ │ │ │ -rw-r--r-- 0 root (0) root (0) 8322 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.atomic.Transition.html │ │ │ -rw-r--r-- 0 root (0) root (0) 17763 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.besancon.BesanconClass.html │ │ │ -rw-r--r-- 0 root (0) root (0) 7524 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.besancon.Conf.html │ │ │ -rw-r--r-- 0 root (0) root (0) 4839 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.besancon.parse_besancon_model_file.html │ │ │ -rw-r--r-- 0 root (0) root (0) 4958 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.besancon.parse_besancon_model_string.html │ │ │ -rw-r--r-- 0 root (0) root (0) 58921 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.cadc.CadcClass.html │ │ │ -rw-r--r-- 0 root (0) root (0) 18496 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.casda.CasdaClass.html │ │ │ --rw-r--r-- 0 root (0) root (0) 24113 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.cds.CdsClass.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 25037 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.cds.CdsClass.html │ │ │ -rw-r--r-- 0 root (0) root (0) 6032 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.cds.Conf.html │ │ │ -rw-r--r-- 0 root (0) root (0) 7616 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.cosmosim.Conf.html │ │ │ -rw-r--r-- 0 root (0) root (0) 32906 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.cosmosim.CosmoSimClass.html │ │ │ -rw-r--r-- 0 root (0) root (0) 6071 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.dace.Conf.html │ │ │ -rw-r--r-- 0 root (0) root (0) 8981 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.dace.DaceClass.html │ │ │ -rw-r--r-- 0 root (0) root (0) 6880 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.esa.hubble.Conf.html │ │ │ -rw-r--r-- 0 root (0) root (0) 24778 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/api/astroquery.esa.hubble.ESAHubbleClass.html │ │ │ @@ -693,15 +693,15 @@ │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/besancon/ │ │ │ -rw-r--r-- 0 root (0) root (0) 16233 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/besancon/besancon.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/cadc/ │ │ │ -rw-r--r-- 0 root (0) root (0) 59272 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/cadc/cadc.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/casda/ │ │ │ -rw-r--r-- 0 root (0) root (0) 22853 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/casda/casda.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/cds/ │ │ │ --rw-r--r-- 0 root (0) root (0) 72566 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/cds/cds.html │ │ │ +-rw-r--r-- 0 root (0) root (0) 73358 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/cds/cds.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/cosmosim/ │ │ │ -rw-r--r-- 0 root (0) root (0) 40499 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/cosmosim/cosmosim.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/dace/ │ │ │ -rw-r--r-- 0 root (0) root (0) 9081 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/dace/dace.html │ │ │ drwxr-xr-x 0 root (0) root (0) 0 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/esa/ │ │ │ -rw-r--r-- 0 root (0) root (0) 17243 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/esa/hubble.html │ │ │ -rw-r--r-- 0 root (0) root (0) 17733 2020-11-26 17:39:55.000000 ./usr/share/doc/python-astroquery-doc/html/esa/xmm_newton.html │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.atomic.AtomicLineListClass.html │ │ │ @@ -345,15 +345,15 @@ │ │ │ Angular momentum, Transition probability and Level energies │ │ │ respectively.

│ │ │ │ │ │ │ │ │ │ │ │
Returns
│ │ │
│ │ │ -
responserequests.Response

The HTTP response returned from the service.

│ │ │ +
responserequests.Response

The HTTP response returned from the service.

│ │ │
│ │ │
│ │ │
│ │ │ │ │ │

References

│ │ │
│ │ │
1(1,2)
│ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.besancon.BesanconClass.html │ │ │ @@ -267,15 +267,15 @@ │ │ │ Otherwise, just returns the filename (the job is still executed on │ │ │ the remote server, though)

│ │ │ │ │ │
│ │ │ │ │ │
Returns
│ │ │
│ │ │ -
responserequests.Response object

The response of the HTTP request.

│ │ │ +
responserequests.Response object

The response of the HTTP request.

│ │ │
│ │ │
│ │ │
│ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.cadc.CadcClass.html │ │ │ @@ -780,15 +780,15 @@ │ │ │
collection: Name of the CADC collection to query, optional
│ │ │
get_query_payloadbool, optional

Just return the dict of HTTP request parameters.

│ │ │
│ │ │ │ │ │ │ │ │
Returns
│ │ │
│ │ │ -
responserequests.Response

The HTTP response returned from the service. │ │ │ +

responserequests.Response

The HTTP response returned from the service. │ │ │ All async methods should return the raw HTTP response.

│ │ │
│ │ │
│ │ │
│ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.casda.CasdaClass.html │ │ │ @@ -233,15 +233,15 @@ │ │ │ │ │ │
cache: bool, optional

Use the astroquery internal query result cache

│ │ │
│ │ │ │ │ │ │ │ │
Returns
│ │ │
│ │ │ -
responserequests.Response

The HTTP response returned from the service. │ │ │ +

responserequests.Response

The HTTP response returned from the service. │ │ │ All async methods should return the raw HTTP response.

│ │ │
│ │ │
│ │ │
│ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.cds.CdsClass.html │ │ │ @@ -81,15 +81,15 @@ │ │ │
│ │ │
│ │ │ class astroquery.cds.CdsClass[source]
│ │ │

Bases: astroquery.query.BaseQuery

│ │ │

Query the CDS MOCServer

│ │ │

The CDS MOCServer allows the user to retrieve all the data sets (with │ │ │ their meta-datas) having sources in a specific region. This region can be a regions.CircleSkyRegion, a │ │ │ -regions.PolygonSkyRegion or a mocpy.MOC object.

│ │ │ +regions.PolygonSkyRegion or a mocpy.MOC object.

│ │ │

This package implements two methods:

│ │ │
    │ │ │
  • query_region() retrieving data-sets (their associated MOCs and meta-datas) having │ │ │ sources in a given region.

  • │ │ │
  • find_datasets() retrieving data-sets (their associated MOCs and meta-datas) based │ │ │ on the values of their meta-datas.

  • │ │ │
│ │ │ @@ -166,45 +166,45 @@ │ │ │ to have an unique type. This case is not common: it is mainly linked to a typing error in the text files │ │ │ describing the meta-datas of the data-sets. When we encounter this for a specific meta-data, we link the │ │ │ generic type object to the column. Therefore, keep in mind that object typed columns can contain │ │ │ values of different types (e.g. lists and singletons or string and floats).

│ │ │
│ │ │
max_recint, optional

Maximum number of data-sets to return. By default, there is no upper limit.

│ │ │
│ │ │ -
return_mocbool, optional

Specifies if we want a mocpy.MOC object in return. This MOC corresponds to the union of the MOCs of all │ │ │ +

return_mocbool, optional

Specifies if we want a mocpy.MOC object in return. This MOC corresponds to the union of the MOCs of all │ │ │ the matching data-sets. By default it is set to False and query_region() │ │ │ returns an astropy.table.Table object.

│ │ │
│ │ │
max_norderint, optional

Has sense only if return_moc is set to True. Specifies the maximum precision order of the returned MOC.

│ │ │
│ │ │
get_query_payloadbool, optional

If True, returns a dictionary of the query payload instead of the parsed response.

│ │ │
│ │ │
verbosebool, optional
│ │ │
│ │ │ │ │ │
Returns
│ │ │
│ │ │ -
responseastropy.table.Table or mocpy.MOC

By default an astropy table of the data-sets matching the query. If return_moc is set to True, it gives │ │ │ +

responseastropy.table.Table or mocpy.MOC

By default an astropy table of the data-sets matching the query. If return_moc is set to True, it gives │ │ │ a MOC object corresponding to the union of the MOCs from all the retrieved data-sets.

│ │ │
│ │ │
│ │ │
│ │ │ │ │ │ │ │ │ │ │ │
│ │ │
│ │ │ query_region(region=None, get_query_payload=False, verbose=False, **kwargs)[source]
│ │ │

Query the CDS MOCServer with a region.

│ │ │ -

Can be a regions.CircleSkyRegion, regions.PolygonSkyRegion or mocpy.MOC object. Returns the data-sets │ │ │ +

Can be a regions.CircleSkyRegion, regions.PolygonSkyRegion or mocpy.MOC object. Returns the data-sets │ │ │ having at least one source in the region.

│ │ │
│ │ │
Parameters
│ │ │
│ │ │ -
regionregions.CircleSkyRegion, regions.PolygonSkyRegion or mocpy.MOC

The region to query the MOCServer with. │ │ │ +

regionregions.CircleSkyRegion, regions.PolygonSkyRegion or mocpy.MOC

The region to query the MOCServer with. │ │ │ Can be one of the following types:

│ │ │
    │ │ │
  • regions.CircleSkyRegion : defines an astropy cone region.

  • │ │ │
  • regions.PolygonSkyRegion : defines an astropy polygon region.

  • │ │ │
  • mocpy.moc.MOC : defines a MOC from the MOCPy library. See the MOCPy’s documentation for how to instantiate a MOC object.

  • │ │ │
│ │ │
│ │ │ @@ -213,15 +213,15 @@ │ │ │
  • overlaps (default). Returned data-sets are those overlapping the MOC region.

  • │ │ │
  • covers. Returned data-sets are those covering the MOC region.

  • │ │ │
  • encloses. Returned data-sets are those enclosing the MOC region.

  • │ │ │ │ │ │
    │ │ │
    max_recint, optional

    Maximum number of data-sets to return. By default, there is no upper limit.

    │ │ │
    │ │ │ -
    return_mocbool, optional

    Specifies if we want a mocpy.MOC object in return. This MOC corresponds to the union of the MOCs of all │ │ │ +

    return_mocbool, optional

    Specifies if we want a mocpy.MOC object in return. This MOC corresponds to the union of the MOCs of all │ │ │ the matching data-sets. By default it is set to False and query_region() │ │ │ returns an astropy.table.Table object.

    │ │ │
    │ │ │
    max_norderint, optional

    Has sense only if return_moc is set to True. Specifies the maximum precision order of the returned MOC.

    │ │ │
    │ │ │
    fields[str], optional

    Has sense only if return_moc is set to False. Specifies which meta datas to retrieve. The returned │ │ │ astropy.table.Table table will only contain the column names given in fields.

    │ │ │ @@ -244,15 +244,15 @@ │ │ │
    get_query_payloadbool, optional

    If True, returns a dictionary of the query payload instead of the parsed response.

    │ │ │
    │ │ │
    verbosebool, optional
    │ │ │
    │ │ │
    │ │ │
    Returns
    │ │ │
    │ │ │ -
    responseastropy.table.Table or mocpy.MOC

    By default an astropy table of the data-sets matching the query. If return_moc is set to True, it gives │ │ │ +

    responseastropy.table.Table or mocpy.MOC

    By default an astropy table of the data-sets matching the query. If return_moc is set to True, it gives │ │ │ a MOC object corresponding to the union of the MOCs from all the retrieved data-sets.

    │ │ │
    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ @@ -268,15 +268,15 @@ │ │ │ │ │ │
    **kwargs

    Arbitrary keyword arguments.

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responseResponse:

    The HTTP response from the CDS MOCServer.

    │ │ │ +
    responseResponse:

    The HTTP response from the CDS MOCServer.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.cosmosim.CosmoSimClass.html │ │ │ @@ -198,15 +198,15 @@ │ │ │ taken into account) by either the execution start time │ │ │ (starttime), or by the table name ('tablename').

    │ │ │ │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    checkalljobsResponse object

    The requests response for the GET request for finding all │ │ │ +

    checkalljobsResponse object

    The requests response for the GET request for finding all │ │ │ existing jobs.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ @@ -222,15 +222,15 @@ │ │ │
    jobidstring

    The jobid of the sql query. If no jobid is given, it attempts to │ │ │ use the most recent job (if it exists in this session).

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    resultcontent of Response object

    The requests response phase

    │ │ │ +
    resultcontent of Response object

    The requests response phase

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.hitran.HitranClass.html │ │ │ @@ -194,15 +194,15 @@ │ │ │ │ │ │
    Queries Hitran class for a particular molecule with default arguments
    │ │ │
    set. Based on fetch function from hapi.py.
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The response of the HTTP request.

    │ │ │ +
    responserequests.Response

    The response of the HTTP request.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.ibe.IbeClass.html │ │ │ @@ -378,15 +378,15 @@ │ │ │ advanced path construction that is not yet supported. 'sia' │ │ │ provides access to the ‘simple image access’ IVOA protocol

    │ │ │ │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responseResponse

    The HTTP response returned from the service

    │ │ │ +
    responseResponse

    The HTTP response returned from the service

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.image_cutouts.first.FirstClass.html │ │ │ @@ -191,15 +191,15 @@ │ │ │
    get_query_payloadbool, optional

    if set to True then returns the dictionary sent as the HTTP │ │ │ request. Defaults to False

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.irsa.IrsaClass.html │ │ │ @@ -262,15 +262,15 @@ │ │ │ │ │ │
    selcolsstr, optional

    Target column list with value separated by a comma(,)

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.jplhorizons.HorizonsClass.html │ │ │ @@ -441,15 +441,15 @@ │ │ │
    get_raw_response: boolean, optional

    Return raw data as obtained by JPL Horizons without parsing the │ │ │ data into a table, default: False

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The response of the HTTP request.

    │ │ │ +
    responserequests.Response

    The response of the HTTP request.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │

    Examples

    │ │ │
    >>> from astroquery.jplhorizons import Horizons
    │ │ │  >>> obj = Horizons(id='433', location='500@10',
    │ │ │ @@ -1301,15 +1301,15 @@
    │ │ │  
    │ │ │  
    extra_precisionboolean, optional

    Enables extra precision in RA and DEC values; default: False

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The response of the HTTP request.

    │ │ │ +
    responserequests.Response

    The response of the HTTP request.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │

    Examples

    │ │ │
    >>> from astroquery.jplhorizons import Horizons
    │ │ │  >>> obj = Horizons(id='Ceres', location='568',
    │ │ │ @@ -1623,15 +1623,15 @@
    │ │ │  
    delta_Tboolean, optional

    Triggers output of time-varying difference between TDB and UT │ │ │ time-scales. Default: False

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The response of the HTTP request.

    │ │ │ +
    responserequests.Response

    The response of the HTTP request.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │

    Examples

    │ │ │
    >>> from astroquery.jplhorizons import Horizons
    │ │ │  >>> obj = Horizons(id='2012 TC4', location='257',
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.jplspec.JPLSpecClass.html
    │ │ │ @@ -247,15 +247,15 @@
    │ │ │  
    get_query_payloadbool, optional

    When set to True the method should return the HTTP request │ │ │ parameters as a dict. Default value is set to False

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │

    Examples

    │ │ │
    >>> table = JPLSpec.query_lines(min_frequency=100*u.GHz,
    │ │ │  ...                             max_frequency=200*u.GHz,
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.magpis.MagpisClass.html
    │ │ │ @@ -209,15 +209,15 @@
    │ │ │  
    get_query_payloadbool, optional

    if set to True then returns the dictionary sent as the HTTP │ │ │ request. Defaults to False

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.mast.CatalogsClass.html │ │ │ @@ -215,15 +215,15 @@ │ │ │
    curl_flagbool, optional

    Default is False. If true instead of downloading files directly, a curl script │ │ │ will be downloaded that can be used to download the data files at a later time.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ │ @@ -293,15 +293,15 @@ │ │ │
    pageint, optional

    Can be used to override the default behavior of all results being returned to obtain │ │ │ one sepcific page of results.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ │ @@ -418,15 +418,15 @@ │ │ │ Detailed information of Catalogs.MAST criteria usage can │ │ │ be found here.

    │ │ │ │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ │ @@ -473,15 +473,15 @@ │ │ │
    pageint, optional

    Can be used to override the default behavior of all results being returned to obtain │ │ │ one sepcific page of results.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ │ @@ -558,15 +558,15 @@ │ │ │ These can be found in the service documentation. │ │ │ for specific catalogs. For example one can specify the magtype for an HSC search.

    │ │ │ │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ │ @@ -645,15 +645,15 @@ │ │ │ These can be found in the (service documentation)[https://mast.stsci.edu/api/v0/_services.html] │ │ │ for specific catalogs. For example one can specify the magtype for an HSC search.

    │ │ │ │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.mast.MastClass.html │ │ │ @@ -322,15 +322,15 @@ │ │ │ here │ │ │ for additional keyword arguments.

    │ │ │ │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.mast.ObservationsClass.html │ │ │ @@ -464,15 +464,15 @@ │ │ │ or single/list of MAST Product Group Id(s) (obsid). │ │ │ See description here.

    │ │ │ │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ │ @@ -587,15 +587,15 @@ │ │ │ RA and Dec must be given in decimal degrees, and datetimes in MJD. │ │ │ For example: filters=[“FUV”,”NUV”],proposal_pi=”Ost*”,t_max=[52264.4586,54452.8914]

    │ │ │ │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ │ @@ -687,15 +687,15 @@ │ │ │ Can be used to override the default behavior of all results being returned │ │ │ to obtain a specific page of results.

    │ │ │ │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ │ @@ -785,15 +785,15 @@ │ │ │ Can be used to override the default behavior of all results being returned to │ │ │ obtain a specific page of results.

    │ │ │ │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responselist of Response
    │ │ │ +
    responselist of Response
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.mpc.MPCClass.html │ │ │ @@ -491,15 +491,15 @@ │ │ │ │ │ │
    cachebool, optional

    Cache results or use cached results (default: False).

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │

    Notes

    │ │ │

    See the MPES user’s guide [MPES] for details on options and │ │ │ implementation.

    │ │ │ @@ -952,15 +952,15 @@ │ │ │ │ │ │
    cachebool, optional

    Cache results or use cached results (default: True).

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │

    References

    │ │ │

    Examples

    │ │ │
    >>> from astroquery.mpc import MPC
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.nasa_exoplanet_archive.NasaExoplanetArchiveClass.html
    │ │ │ @@ -244,15 +244,15 @@
    │ │ │  documentation [1], but some examples include select="*" to return all columns of
    │ │ │  the queried table or where=pl_name='K2-18 b' to filter a specific column.

    │ │ │ │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │

    References

    │ │ │
    │ │ │
    1(1,2,3)
    │ │ │ @@ -344,15 +344,15 @@ │ │ │
    **criteria

    Any other filtering criteria to apply. Values provided using the where keyword will │ │ │ be ignored.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │

    References

    │ │ │
    │ │ │
    1
    │ │ │ @@ -453,15 +453,15 @@ │ │ │ documentation [1], but some examples include select="*" to return all columns of │ │ │ the queried table or where=pl_name='K2-18 b' to filter a specific column.

    │ │ │ │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │

    References

    │ │ │
    │ │ │
    1(1,2)
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.ned.NedClass.html │ │ │ @@ -419,15 +419,15 @@ │ │ │
    get_query_payloadbool, optional

    if set to True then returns the dictionary sent as the HTTP │ │ │ request. Defaults to False.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -470,15 +470,15 @@ │ │ │
    get_query_payloadbool, optional

    if set to True then returns the dictionary sent as the HTTP │ │ │ request. Defaults to False

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -521,15 +521,15 @@ │ │ │
    get_query_payloadbool, optional

    if set to True then returns the dictionary sent as the HTTP │ │ │ request. Defaults to False.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -593,15 +593,15 @@ │ │ │
    get_query_payloadbool, optional

    if set to True then returns the dictionary sent as the HTTP │ │ │ request. Defaults to False.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -658,15 +658,15 @@ │ │ │
    get_query_payloadbool, optional

    if set to True then returns the dictionary sent as the HTTP │ │ │ request. Defaults to False

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.nist.NistClass.html │ │ │ @@ -219,15 +219,15 @@ │ │ │
    get_query_payloadbool, optional

    If true then returns the dictionary of query parameters, posted to │ │ │ remote server. Defaults to False.

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response object

    The response of the HTTP request.

    │ │ │ +
    responserequests.Response object

    The response of the HTTP request.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.nrao.NraoClass.html │ │ │ @@ -363,15 +363,15 @@ │ │ │ raise an exception but returns a null result (this sort of behavior │ │ │ seems unique to the NRAO archive)

    │ │ │ │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responseResponse

    The HTTP response returned from the service.

    │ │ │ +
    responseResponse

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -543,15 +543,15 @@ │ │ │ raise an exception but returns a null result (this sort of behavior │ │ │ seems unique to the NRAO archive)

    │ │ │ │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responseResponse

    The HTTP response returned from the service.

    │ │ │ +
    responseResponse

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.ogle.OgleClass.html │ │ │ @@ -259,15 +259,15 @@ │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │
    Raises
    │ │ │
    │ │ │
    CoordParseError

    Exception raised for malformed coordinate input

    │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.simbad.SimbadClass.html │ │ │ @@ -332,15 +332,15 @@ │ │ │
    get_query_payloadbool, optional

    When set to True the method returns the HTTP request parameters. │ │ │ Defaults to False.

    │ │ │
    │ │ │
    │ │ │
    │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    Response of the query from the server.

    │ │ │ +
    responserequests.Response

    Response of the query from the server.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -380,15 +380,15 @@ │ │ │
    get_query_payloadbool, optional

    When set to True the method returns the HTTP request parameters. │ │ │ Defaults to False.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    Response of the query from the server.

    │ │ │ +
    responserequests.Response

    Response of the query from the server.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -429,15 +429,15 @@ │ │ │
    get_query_payloadbool, optional

    When set to True the method returns the HTTP request parameters. │ │ │ Defaults to False.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    Response of the query from the server.

    │ │ │ +
    responserequests.Response

    Response of the query from the server.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -479,15 +479,15 @@ │ │ │ │ │ │
    cachebool

    Cache the query?

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    Response of the query from the server

    │ │ │ +
    responserequests.Response

    Response of the query from the server

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -534,15 +534,15 @@ │ │ │
    get_query_payloadbool, optional

    When set to True the method returns the HTTP request parameters. │ │ │ Defaults to False.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    Response of the query from the server

    │ │ │ +
    responserequests.Response

    Response of the query from the server

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -579,15 +579,15 @@ │ │ │
    │ │ │
    object_namestr

    name of object to be queried

    │ │ │
    │ │ │
    │ │ │
    │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    Response of the query from the server.

    │ │ │ +
    responserequests.Response

    Response of the query from the server.

    │ │ │
    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │
    │ │ │ @@ -634,15 +634,15 @@ │ │ │
    get_query_payloadbool, optional

    When set to True the method returns the HTTP request parameters. │ │ │ Defaults to False.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    Response of the query from the server

    │ │ │ +
    responserequests.Response

    Response of the query from the server

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -700,15 +700,15 @@ │ │ │
    get_query_payloadbool, optional

    When set to True the method returns the HTTP request parameters. │ │ │ Defaults to False.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    Response of the query from the server.

    │ │ │ +
    responserequests.Response

    Response of the query from the server.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.splatalogue.SplatalogueClass.html │ │ │ @@ -479,15 +479,15 @@ │ │ │ │ │ │
    show_nrao_recommendedbool

    Display NRAO Recommended Frequencies

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The response of the HTTP request.

    │ │ │ +
    responserequests.Response

    The response of the HTTP request.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.ukidss.UkidssClass.html │ │ │ @@ -633,15 +633,15 @@ │ │ │
    constraintsstr, optional

    SQL constraints to the search. Default is empty (no constrains │ │ │ applied).

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.utils.send_request.html │ │ │ @@ -98,15 +98,15 @@ │ │ │
    headersdict

    POST or GET headers. user-agent will be set to │ │ │ astropy:astroquery.version

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    Response object returned by the remote server

    │ │ │ +
    responserequests.Response

    Response object returned by the remote server

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.vizier.VizierClass.html │ │ │ @@ -276,15 +276,15 @@ │ │ │
    │ │ │
    catalogstr, Resource, or list, optional

    The catalog(s) that will be retrieved

    │ │ │
    │ │ │
    │ │ │
    │ │ │
    Returns
    │ │ │
    │ │ │ -
    responseResponse

    Returned if asynchronous method used

    │ │ │ +
    responseResponse

    Returned if asynchronous method used

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -358,15 +358,15 @@ │ │ │
    kwargsdict

    Any key/value pairs besides “catalog” will be parsed │ │ │ as additional column filters.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The response of the HTTP request.

    │ │ │ +
    responserequests.Response

    The response of the HTTP request.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │

    Examples

    │ │ │
    >>> from astroquery.vizier import Vizier
    │ │ │  >>> # note that glon/glat constraints here *must* be floats
    │ │ │ @@ -450,15 +450,15 @@
    │ │ │  specify a coordinate frame here instead (today, J2000, B1975,
    │ │ │  B1950, B1900, B1875, B1855, Galactic, Supergal., Ecl.J2000, )

    │ │ │ │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responseResponse

    The response of the HTTP request.

    │ │ │ +
    responseResponse

    The response of the HTTP request.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │
    │ │ │ @@ -536,15 +536,15 @@ │ │ │
    column_filters: dict, optional

    Constraints on columns of the result. The dictionary contains │ │ │ the column name as keys, and the constraints as values.

    │ │ │
    │ │ │
    │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The response of the HTTP request.

    │ │ │ +
    responserequests.Response

    The response of the HTTP request.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.vsa.VsaClass.html │ │ │ @@ -633,15 +633,15 @@ │ │ │
    constraintsstr, optional

    SQL constraints to the search. Default is empty (no constrains │ │ │ applied).

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.wfau.BaseWFAUClass.html │ │ │ @@ -552,15 +552,15 @@ │ │ │
    constraintsstr, optional

    SQL constraints to the search. Default is empty (no constrains │ │ │ applied).

    │ │ │
    │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │ +
    responserequests.Response

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/api/astroquery.xmatch.XMatchClass.html │ │ │ @@ -232,15 +232,15 @@ │ │ │ regions.CircleSkyRegion object is given, only sources in │ │ │ this region will be considered.

    │ │ │ │ │ │ │ │ │ │ │ │
    Returns
    │ │ │
    │ │ │ -
    responseResponse

    The HTTP response returned from the service.

    │ │ │ +
    responseResponse

    The HTTP response returned from the service.

    │ │ │
    │ │ │
    │ │ │
    │ │ │ │ │ │ │ │ │ │ │ │ │ │ ├── ./usr/share/doc/python-astroquery-doc/html/cds/cds.html │ │ │ @@ -195,15 +195,15 @@ │ │ │ -- -- -- ... -- -- 0.2373 │ │ │ -- public master clonableOnce -- ... -- -- 0.08287 │ │ │ -- public master clonableOnce -- ... -- -- 0.02227 │ │ │ -- public master clonableOnce -- ... -- -- 0.02227 │ │ │ -- public master clonableOnce -- ... -- -- 0.02227 │ │ │
    │ │ │
    │ │ │ -

    You can also query the MOCServer on a regions.PolygonSkyRegion or even an mocpy.MOC following the same pattern i.e. just │ │ │ +

    You can also query the MOCServer on a regions.PolygonSkyRegion or even an mocpy.MOC following the same pattern i.e. just │ │ │ by replacing cone with a polygon or a MOC object.

    │ │ │

    By default, query_region() returns an astropy.table.Table object storing the data-sets │ │ │ as rows and their meta-datas as columns. Data-sets might have no information for a specific meta-data. If so, the value │ │ │ associated with this meta-data for this data-set is set to “-“. The above astropy table looks like :

    │ │ │
    │ │ │
    │ │ │

    Retrieve only a subset of meta-datas

    │ │ │ @@ -428,16 +428,16 @@ │ │ │
    │ │ │
    │ │ │

    This astropy table has only 3 rows although we know more data-sets match the query. It’s useful if you do not need │ │ │ to retrieve all the data-sets matching a query but only a few. Again, the result will come faster from the MOCServer because │ │ │ this operation is done at the server side.

    │ │ │
    │ │ │
    │ │ │ -

    Returning a MOC object as a result

    │ │ │ -

    Some users might want the union of all the MOCs from the data-sets matching the query. You can get a mocpy.MOC object │ │ │ +

    Returning a MOC object as a result

    │ │ │ +

    Some users might want the union of all the MOCs from the data-sets matching the query. You can get a mocpy.MOC object │ │ │ instead of an astropy.table.Table by setting the parameter return_moc to True. An additional parameter max_norder │ │ │ allows the user to set the resolution/precision of the returned MOC that he wants.

    │ │ │

    As an example, we would like to obtain the union of the spatial coverage of all the Hubble surveys:

    │ │ │
    >>> from mocpy import MOC
    │ │ │  >>> # We want to retrieve all the HST surveys i.e. the HST surveys covering any region of the sky.
    │ │ │  >>> allsky = CircleSkyRegion(coordinates.SkyCoord(0, 0, unit="deg"), coordinates.Angle(180, unit="deg"))
    │ │ │  >>> moc = cds.query_region(region=allsky,
    │ │ │ @@ -449,25 +449,25 @@
    │ │ │  ...                        meta_data="ID=*HST*")
    │ │ │  >>> moc.plot(title="Union of the spatial coverage of all the Hubble surveys.")
    │ │ │  
    │ │ │
    │ │ │ ../_images/HST_union.png │ │ │
    │ │ │
    │ │ │ -

    Retrieve the MOC of a specific data-set

    │ │ │ +

    Retrieve the MOC of a specific data-set

    │ │ │

    Finally, if you want to retrieve the MOC of a specific data-set, please consider using the find_datasets │ │ │ method with the ID of the data-set you want to retrieve the MOC along with the return_moc parameter set to True. │ │ │ -The last example will show you how to get the MOC (i.e. a mocpy.MOC object) of the GALEXGR6/AIS/FUV survey.

    │ │ │ +The last example will show you how to get the MOC (i.e. a mocpy.MOC object) of the GALEXGR6/AIS/FUV survey.

    │ │ │
    >>> from mocpy import MOC
    │ │ │  >>> moc_galex=cds.find_datasets(meta_data="ID=CDS/P/GALEXGR6/AIS/FUV", return_moc=True)
    │ │ │  >>> moc_galex.plot("MOC associated to CDS/P/GALEXGR6/AIS/FUV.")
    │ │ │  
    │ │ │
    │ │ │ ../_images/MOC_GALEXGR6_AIS_FUV.png │ │ │ -

    The cds package can therefore be used in complementarity with mocpy. We can now retrieve mocpy.MOC objects │ │ │ +

    The cds package can therefore be used in complementarity with mocpy. We can now retrieve mocpy.MOC objects │ │ │ coming from the MOCServer and manipulate them in a python session with mocpy.

    │ │ │
    │ │ │
    │ │ │
    │ │ │
    │ │ │

    Reference/API

    │ │ │
    │ │ ├── ./usr/share/doc/python-astroquery-doc/html/testing.html │ │ │ @@ -102,30 +102,30 @@ │ │ │
    class MockResponse(object):
    │ │ │  
    │ │ │      def __init__(self, content):
    │ │ │          self.content = content
    │ │ │  
    │ │ │
    │ │ │

    MockResponse is an object intended to have any of the attributes that a │ │ │ -normal requests.Response object would have. However, it only needs to │ │ │ +normal requests.Response object would have. However, it only needs to │ │ │ implement the methods that are actually used within the tests.

    │ │ │

    The tricky bits are in the pytest.fixture.

    │ │ │

    The first little magical function is the patch_x function, where x should │ │ │ either be post or get.

    │ │ │
    @pytest.fixture
    │ │ │  def patch_get(request):
    │ │ │      try:
    │ │ │          mp = request.getfixturevalue("monkeypatch")
    │ │ │      except AttributeError:  # pytest < 3
    │ │ │          mp = request.getfuncargvalue("monkeypatch")
    │ │ │      mp.setattr(requests.Session, 'request', get_mockreturn)
    │ │ │      return mp
    │ │ │  
    │ │ │
    │ │ │ -

    This function, when called, changes the requests.Session’s request method │ │ │ +

    This function, when called, changes the requests.Session’s request method │ │ │ to call the get_mockreturn function, defined │ │ │ below. @pytest.fixture means that, if any function in this test_module.py │ │ │ file accepts patch_get as an argument, patch_get will be called prior to │ │ │ running that function.

    │ │ │

    get_mockreturn is simple but important: this is where you define a function │ │ │ to return the appropriate data stored in the data/ directory as a readable │ │ │ object within the MockResponse class: