astroquery:docs

Nrao

class astroquery.nrao.core.Nrao[source] [edit on github]

Bases: astroquery.query.BaseQuery

Attributes Summary

DATA_URL str(object=’‘) -> string
TIMEOUT int(x=0) -> int or long
obs_bands list() -> new empty list
subarrays list() -> new empty list
telescope_code
telescope_config list() -> new empty list

Methods Summary

query_region(*args, **kwds) Queries the service and returns a table object.
query_region_async(*args, **kwds) Queries the NRAO data archive and fetches table of observation summaries.

Attributes Documentation

DATA_URL = 'https://archive.nrao.edu/archive/ArchiveQuery'
TIMEOUT = 60
obs_bands = ['ALL', '4', 'P', 'L', 'S', 'C', 'X', 'U', 'K', 'Ka', 'Q', 'W']
subarrays = ['ALL', 1, 2, 3, 4, 5]
telescope_code = {'gbt': 'GBT', 'all': 'ALL', 'historical_vla': 'VLA', 'vlba': 'VLBA', 'jansky_vla': 'EVLA'}
telescope_config = ['ALL', 'A', 'AB', 'BnA', 'B', 'BC', 'CnB', 'C', 'CD', 'DnC', 'D', 'DA']

Methods Documentation

static query_region(*args, **kwds) [edit on github]

Queries the service and returns a table object. Queries the NRAO data archive and fetches table of observation summaries.

Parameters :

coordinates : str or astropy.coordinates object

The target around which to search. It may be specified as a string in which case it is resolved using online services or as the appropriate astropy.coordinates object. ICRS coordinates may also be entered as a string.

radius : str or astropy.units.Quantity object, optional

The string must be parsable by astropy.coordinates.Angle. The appropriate Quantity object from astropy.units may also be used. Defaults to 1 degree.

equinox : str, optional

One of ‘J2000’ or ‘B1950’. Defaults to ‘J2000’.

telescope : str, optional

The telescope that produced the data. Defaults to ‘all’. Valid values are [‘gbt’, ‘all’, ‘historical_vla’, ‘vlba’, ‘jansky_vla’]

start_date : str, optional

The starting date and time of the observations , e.g. 2010-06-21 14:20:30 Decimal seconds are not allowed. Defaults to None for no constraints.

end_date : str, optional

The ending date and time of the observations , e.g. 2010-06-21 14:20:30 Decimal seconds are not allowed. Defaults to None for no constraints.

freq_low : astropy.units.Quantity object, optional

The lower frequency of the observations in proper units of frequency via astropy.units. Defaults to None for no constraints.

freq_up : astropy.units.Quantity object, optional

The upper frequency of the observations in proper units of frequency via astropy.units. Defaults to None for no constraints.

telescope_config : str, optional

Select the telescope configuration (only valid for VLA array). Defaults to ‘all’. Valid values are [‘all’, ‘A’, ‘AB’, ‘BnA’, ‘B’, ‘BC’, ‘CnB’, ‘C’, ‘CD’, ‘DnC’, ‘D’, ‘DA’]

obs_band : str, optional

The frequency bands for the observation. Defaults to ‘all’. Valid values are [‘all’, ‘4’, ‘P’, ‘L’, ‘S’, ‘C’, ‘X’, ‘U’, ‘K’, ‘Ka’, ‘Q’, ‘W’].

sub_array : str, number, optional

VLA subarray designations, may be set to an integer from 1 to 5. Defaults to ‘all’.

get_query_payload : bool, optional

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

Returns :

An `astropy.table.Table` object :

static query_region_async(*args, **kwds)[source] [edit on github]

Queries the NRAO data archive and fetches table of observation summaries.

Parameters :

coordinates : str or astropy.coordinates object

The target around which to search. It may be specified as a string in which case it is resolved using online services or as the appropriate astropy.coordinates object. ICRS coordinates may also be entered as a string.

radius : str or astropy.units.Quantity object, optional

The string must be parsable by astropy.coordinates.Angle. The appropriate Quantity object from astropy.units may also be used. Defaults to 1 degree.

equinox : str, optional

One of ‘J2000’ or ‘B1950’. Defaults to ‘J2000’.

telescope : str, optional

The telescope that produced the data. Defaults to ‘all’. Valid values are [‘gbt’, ‘all’, ‘historical_vla’, ‘vlba’, ‘jansky_vla’]

start_date : str, optional

The starting date and time of the observations , e.g. 2010-06-21 14:20:30 Decimal seconds are not allowed. Defaults to None for no constraints.

end_date : str, optional

The ending date and time of the observations , e.g. 2010-06-21 14:20:30 Decimal seconds are not allowed. Defaults to None for no constraints.

freq_low : astropy.units.Quantity object, optional

The lower frequency of the observations in proper units of frequency via astropy.units. Defaults to None for no constraints.

freq_up : astropy.units.Quantity object, optional

The upper frequency of the observations in proper units of frequency via astropy.units. Defaults to None for no constraints.

telescope_config : str, optional

Select the telescope configuration (only valid for VLA array). Defaults to ‘all’. Valid values are [‘all’, ‘A’, ‘AB’, ‘BnA’, ‘B’, ‘BC’, ‘CnB’, ‘C’, ‘CD’, ‘DnC’, ‘D’, ‘DA’]

obs_band : str, optional

The frequency bands for the observation. Defaults to ‘all’. Valid values are [‘all’, ‘4’, ‘P’, ‘L’, ‘S’, ‘C’, ‘X’, ‘U’, ‘K’, ‘Ka’, ‘Q’, ‘W’].

sub_array : str, number, optional

VLA subarray designations, may be set to an integer from 1 to 5. Defaults to ‘all’.

get_query_payload : bool, optional

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

Returns :

response : requests.Response

The HTTP response returned from the service.

Page Contents