NoirlabClass¶
- class astroquery.noirlab.NoirlabClass(which='file')[source]¶
Bases:
BaseQueryReturn object used for searching the NOIRLab Archive.
Search either Files (which=file) or HDUs (which=hdu). Files will always be returned. But if which=hdu, individual HDUs must have RA,DEC fields. Typically this is only the case with some pipeline processed files.
Attributes Summary
Return version of Rest API used by this module.
Methods Summary
query_region(coordinate[, radius, cache])Query for NOIRLab observations by region of the sky.
Attributes Documentation
- ADS_URL = 'https://astroarchive.noao.edu/api/adv_search/fasearch'¶
- NAT_URL = 'https://astroarchive.noao.edu'¶
- SIA_URL = 'https://astroarchive.noao.edu/api/sia/voimg'¶
- TIMEOUT = 30¶
- api_version¶
Return version of Rest API used by this module.
If the Rest API changes such that the Major version increases, a new version of this module will likely need to be used.
Methods Documentation
- query_region(coordinate, radius=0.1, *, cache=True)[source]¶
Query for NOIRLab observations by region of the sky.
Given a sky coordinate and radius, returns a
Tableof NOIRLab observations.- Parameters:
- coordinatesstr or
coordinatesobject The target region which to search. It may be specified as a string or as the appropriate
coordinatesobject.- radiusstr or
Quantityobject, optional Default 0.1 degrees. The string must be parsable by
Angle. The appropriateQuantityobject fromunitsmay also be used.
- coordinatesstr or
- Returns:
- response
Table
- response