IRSA
NASA/IPAC Infrared Science Archive.
Module name:
irsaPython class:
astroquery.ipac.irsa.IrsaFunctions: 7
Call any function below with the astroquery_execute MCP tool. Descriptions are taken from the upstream astroquery/astropy docstrings.
Function |
Summary |
|---|---|
Return information of available IRSA catalogs. |
|
Return information of available IRSA SIAv2 collections to be used in |
|
Return list of columns of a given IRSA catalog. |
|
Queries the IRSA TAP server around a coordinate and returns a |
|
Use standard SIA2 attributes to query the IRSA SIA service. |
|
Use standard SSA attributes to query the IRSA SSA service. |
|
Send query to IRSA TAP. Results in |
Functions
list_catalogs
Call via MCP
astroquery_execute(
module_name="irsa",
function_name="list_catalogs",
params={},
)
- IrsaClass.list_catalogs(*, full=False, filter=None, include_metadata_tables=False, cache=False)
Return information of available IRSA catalogs.
- Parameters:
full (
bool) – If True returns the full schema as aTable. If False returns a dictionary of the table names and their description.filter (
strorNone) – If specified we only return catalogs when their catalog_name or the short description contains the filter string (case-insensitive). Note this may not be all the relevant catalogs from a given mission, do consult the unfiltered list when in doubt.include_metadata_tables (
bool) – If True returns not just the catalogs but all table holdings including the image metadata tables. These are not suitable for spatial queries with e.g.query_region.
list_collections
Call via MCP
astroquery_execute(
module_name="irsa",
function_name="list_collections",
params={},
)
- IrsaClass.list_collections(*, servicetype=None, filter=None)
Return information of available IRSA SIAv2 collections to be used in
query_siaqueries.- Parameters:
- Returns:
collections – A table listing all the possible collections for IRSA SIA queries.
- Return type:
A `~astropy.table.Tableobject.`
list_columns
Call via MCP
astroquery_execute(
module_name="irsa",
function_name="list_columns",
params={"catalog": "<catalog>"},
)
query_region
Call via MCP
astroquery_execute(
module_name="irsa",
function_name="query_region",
params={},
)
- IrsaClass.query_region(coordinates=None, *, catalog=None, spatial='Cone', radius=<Quantity 10. arcsec>, width=None, polygon=None, get_query_payload=False, columns='*', async_job=False, verbose=False, cache=True)
Queries the IRSA TAP server around a coordinate and returns a
Tableobject.- Parameters:
coordinates (
str,astropy.coordinatesobject) – Gives the position of the center of the cone or box if performing a cone or box search. Required if spatial is'Cone'or'Box'. Ignored if spatial is'Polygon'or'All-Sky'.catalog (
str) – The catalog to be used. To list the available catalogs, uselist_catalogs().spatial (
str) – Type of spatial query:'Cone','Box','Polygon', and'All-Sky'. Defaults to'Cone'.radius (
strorQuantityobject,[optional for spatial is ````’Cone’:py:class:`]`) – The string must be parsable byAngle. The appropriateQuantityobject fromastropy.unitsmay also be used. Defaults to 10 arcsec.width (
str,Quantityobject [Required for spatial is ``'Box':py:class:``]) – The string must be parsable byAngle. The appropriateQuantityobject fromastropy.unitsmay also be used.polygon (
list,[Required for spatial is ````’Polygon’:py:class:`]`) – A list of(ra, dec)pairs (as tuples), in decimal degrees, outlining the polygon to search in. It can also be a list ofastropy.coordinatesobject or strings that can be parsed byastropy.coordinates.ICRS.get_query_payload (
bool, optional) – IfTruethen returns the dictionary sent as the HTTP request. Defaults toFalse.columns (
str, optional) – Target column list with value separated by a comma(,)async_job (
bool, optional) – if True query is run in asynchronous mode
- Returns:
table
- Return type:
A `~astropy.table.Tableobject.`
query_sia
Call via MCP
astroquery_execute(
module_name="irsa",
function_name="query_sia",
params={},
)
- IrsaClass.query_sia(*, pos=None, band=None, time=None, pol=None, field_of_view=None, spatial_resolution=None, spectral_resolving_power=None, exptime=None, timeres=None, publisher_did=None, facility=None, collection=None, instrument=None, data_type=None, calib_level=None, target_name=None, res_format=None, maxrec=None, **kwargs)
Use standard SIA2 attributes to query the IRSA SIA service.
- Parameters:
pos (
singleorlistoftuples) – angle units (default: deg) the positional region(s) to be searched for data. Each region can be expressed as a tuple representing a CIRCLE, RANGE or POLYGON as follows: (ra, dec, radius) - for CIRCLE. (angle units - defaults to) (long1, long2, lat1, lat2) - for RANGE (angle units required) (ra, dec, ra, dec, ra, dec … ) ra/dec points for POLYGON all in angle unitsband (
scalar,tuple(interval)orlistoftuples) – (spectral units (default: meter) the energy interval(s) to be searched for data.time (
singleorlistofTimeorcompatible strings) – the time interval(s) to be searched for data.pol (
singleorlistofstr from ``pyvo.dam.obscore.POLARIZATION_STATES``) – the polarization state(s) to be searched for data.field_of_view (
singleorlistoftuples) – angle units (default arcsec) the range(s) of field of view (size) to be searched for dataspatial_resolution (
singleorlistoftuples) – angle units required the range(s) of spatial resolution to be searched for dataspectral_resolving_power (
singleorlistoftuples) – the range(s) of spectral resolving power to be searched for dataexptime (
singleorlistoftuples) – time units (default: second) the range(s) of exposure times to be searched for datatimeres (
singleoflistoftuples) – time units (default: second) the range(s) of temporal resolution to be searched for datapublisher_did (
singleorlistofstr) – specifies the unique identifier of dataset(s). It is global because it must include information regarding the publisher (obs_publisher_did in ObsCore)collection (
singleorlistofstr) – name of the collection that the data belongs tofacility (
singleorlistofstr) – specifies the name of the facility (usually telescope) where the data was acquired.instrument (
singleorlistofstr) – specifies the name of the instrument with which the data was acquired.data_type (
'image'|``’cube’``) – specifies the type of the datacalib_level (
singleorlist from enum) –pyvo.dam.obscore.CALIBRATION_LEVELSspecifies the calibration level of the data. Can be a single value or a list of valuestarget_name (
singleorlistofstr) – specifies the name of the target (e.g. the intention of the original science program or observation)res_format (
singleorlistofstrings) – specifies response format(s).max_records (
int) – allows the client to limit the number or records in the response**kwargs (
custom query parameters) – single or a list of values (or tuples for intervals) custom query parameters that a specific service accepts. The values of the parameters need to follow the SIA2 format and represent the appropriate quantities (where applicable).
- Return type:
Results in `~astropy.table.Tableformat.`
query_ssa
Call via MCP
astroquery_execute(
module_name="irsa",
function_name="query_ssa",
params={},
)
- IrsaClass.query_ssa(*, pos=None, radius=None, band=None, time=None, collection=None)
Use standard SSA attributes to query the IRSA SSA service.
- Parameters:
pos (
SkyCoordclass orsequenceoftwo floats) – the position of the center of the circular search region. assuming icrs decimal degrees if unit is not specified.raidus (
Quantityclass orscalar float) – the radius of the circular region around pos in which to search. assuming icrs decimal degrees if unit is not specified.band (
Quantityclass orsequenceoftwo floats) – the bandwidth range the observations belong to. assuming meters if unit is not specified.time (
Timeclass orsequenceoftwo strings) – the datetime range the observations were made in. assuming iso 8601 if format is not specified.collection (
str) – Name of the collection that the data belongs to.
- Return type:
Results in `~astropy.table.Tableformat.`
query_tap
Call via MCP
astroquery_execute(
module_name="irsa",
function_name="query_tap",
params={"query": "<query>"},
)
- IrsaClass.query_tap(query, *, async_job=False, maxrec=None)
Send query to IRSA TAP. Results in
TAPResultsformat. result.to_qtable inQTableformat- Parameters:
- Returns: