NED
NASA/IPAC Extragalactic Database for galaxies and extragalactic objects.
Module name:
nedPython class:
astroquery.ipac.ned.NedFunctions: 17
Call any function below with the astroquery_execute MCP tool. Descriptions are taken from the upstream astroquery/astropy docstrings.
Function |
Summary |
|---|---|
Removes all cache files. |
|
Helper function that returns a list of urls from which to download |
|
Query function to fetch FITS images for a given identifier. |
|
Serves the same purpose as |
|
Query function to fetch FITS files of spectra for a given identifier. |
|
Serves the same purpose as |
|
Fetches the specified data table for the object from NED and returns |
|
Serves the same purpose as |
|
Queries objects by name from the NED Service and returns the Main |
|
Serves the same purpose as |
|
Used to retrieve all objects contained in a particular |
|
Serves the same purpose as |
|
Used to query a region around a known identifier or given |
|
Serves the same purpose as |
|
Used to query the Ned service via the IAU name. Equivalent to the |
|
Serves the same purpose as |
|
Resets the cache location to the default astropy cache |
Functions
clear_cache
Call via MCP
astroquery_execute(
module_name="ned",
function_name="clear_cache",
params={},
)
- NedClass.clear_cache()
Removes all cache files.
get_image_list
Call via MCP
astroquery_execute(
module_name="ned",
function_name="get_image_list",
params={"object_name": "<object_name>"},
)
- NedClass.get_image_list(object_name, *, item='image', file_format='fits', get_query_payload=False)
Helper function that returns a list of urls from which to download the FITS images.
- Parameters:
object_name (
str) – name of the identifier to query.get_query_payload (
bool, optional) – if set toTruethen returns the dictionary sent as the HTTP request. Defaults toFalseitem (
str, optional) – Can be either ‘image’ or ‘spectra’. Defaults to ‘image’. Required to decide the right URL to query.file_format (
str, optional) – Format of images/spectra to return. Defaults to ‘fits’. Other options available: ‘author-ascii’, ‘NED-ascii’, ‘VO-table’.
- Return type:
listofimage urls
get_images
Call via MCP
astroquery_execute(
module_name="ned",
function_name="get_images",
params={"object_name": "<object_name>"},
)
- NedClass.get_images(object_name, *, get_query_payload=False, show_progress=True)
Query function to fetch FITS images for a given identifier.
get_images_async
Call via MCP
astroquery_execute(
module_name="ned",
function_name="get_images_async",
params={"object_name": "<object_name>"},
)
- NedClass.get_images_async(object_name, *, get_query_payload=False, show_progress=True)
Serves the same purpose as
get_imagesbut returns file-handlers to the remote files rather than downloading them.
get_spectra
Call via MCP
astroquery_execute(
module_name="ned",
function_name="get_spectra",
params={"object_name": "<object_name>"},
)
- NedClass.get_spectra(object_name, *, get_query_payload=False, show_progress=True)
Query function to fetch FITS files of spectra for a given identifier.
get_spectra_async
Call via MCP
astroquery_execute(
module_name="ned",
function_name="get_spectra_async",
params={"object_name": "<object_name>"},
)
- NedClass.get_spectra_async(object_name, *, get_query_payload=False, show_progress=True)
Serves the same purpose as
get_spectrabut returns file-handlers to the remote fits files rather than downloading them.
get_table
Call via MCP
astroquery_execute(
module_name="ned",
function_name="get_table",
params={"object_name": "<object_name>"},
)
- NedClass.get_table(object_name, *, table='photometry', get_query_payload=False, verbose=False, **kwargs)
Fetches the specified data table for the object from NED and returns it as an
astropy.table.Table.- Parameters:
object_name (
str) – name of the identifier to query.table (
str, optional) – Must be one of [‘photometry’|’positions’|’diameters’|’redshifts’|’references’|’object_notes’]. Specifies the type of data-table that must be fetched for the given object. Defaults to ‘photometry’.output_table_format (
int,[optional for photometry]) – specifies the format of the output table. Must be 1, 2 or 3. Defaults to 1. These options stand for: (1) Data as Published and Homogenized (mJy) (2) Data as Published (3) Homogenized Units (mJy)from_year (
int,[optional for references]) – 4 digit year from which to get the references. Defaults to 1800to_year (
int,[optional for references]) – 4 digit year upto which to fetch the references. Defaults to the current year.extended_search (
bool,[optional for references]) – If set toTrue, returns all objects beginning with the same identifier name. Defaults toFalse.get_query_payload (
bool, optional) – if set toTruethen returns the dictionary sent as the HTTP request. Defaults toFalse.verbose (
bool,optional.) – When set toTruedisplays warnings if the returned VOTable does not conform to the standard. Defaults toFalse.
- Returns:
result – The result of the query as an
astropy.table.Tableobject.- Return type:
get_table_async
Call via MCP
astroquery_execute(
module_name="ned",
function_name="get_table_async",
params={"object_name": "<object_name>"},
)
- NedClass.get_table_async(object_name, *, table='photometry', get_query_payload=False, **kwargs)
Serves the same purpose as
query_regionbut returns the raw HTTP response rather than theastropy.table.Tableobject.- Parameters:
object_name (
str) – name of the identifier to query.table (
str, optional) – Must be one of [‘photometry’|’positions’|’diameters’|’redshifts’|’references’|’object_notes’]. Specifies the type of data-table that must be fetched for the given object. Defaults to ‘photometry’.from_year (
int,[optional for references]) – 4 digit year from which to get the references. Defaults to 1800to_year (
int,[optional for references]) – 4 digit year upto which to fetch the references. Defaults to the current year.extended_search (
bool,[optional for references]) – If set toTrue, returns all objects beginning with the same identifier name. Defaults toFalse.get_query_payload (
bool, optional) – if set toTruethen returns the dictionary sent as the HTTP request. Defaults toFalse.
- Returns:
response – The HTTP response returned from the service.
- Return type:
requests.Response
query_object
Call via MCP
astroquery_execute(
module_name="ned",
function_name="query_object",
params={"object_name": "<object_name>"},
)
- NedClass.query_object(object_name, *, get_query_payload=False, verbose=False)
Queries objects by name from the NED Service and returns the Main Source Table.
- Parameters:
object_name (
str) – name of the identifier to query.get_query_payload (
bool, optional) – if set toTruethen returns the dictionary sent as the HTTP request. Defaults toFalse.verbose (
bool,optional.) – When set toTruedisplays warnings if the returned VOTable does not conform to the standard. Defaults toFalse.
- Returns:
result – The result of the query as an
astropy.table.Tableobject.- Return type:
query_object_async
Call via MCP
astroquery_execute(
module_name="ned",
function_name="query_object_async",
params={"object_name": "<object_name>"},
)
- NedClass.query_object_async(object_name, *, get_query_payload=False)
Serves the same purpose as
query_objectbut returns the raw HTTP response rather than theastropy.table.Tableobject.
query_refcode
Call via MCP
astroquery_execute(
module_name="ned",
function_name="query_refcode",
params={"refcode": "<refcode>"},
)
- NedClass.query_refcode(refcode, *, get_query_payload=False, verbose=False)
Used to retrieve all objects contained in a particular reference. Equivalent to by refcode queries of the web interface.
- Parameters:
refcode (
str) – 19 digit reference code. Example: 1997A&A…323…31K.get_query_payload (
bool, optional) – if set toTruethen returns the dictionary sent as the HTTP request. Defaults toFalse.verbose (
bool,optional.) – When set toTruedisplays warnings if the returned VOTable does not conform to the standard. Defaults toFalse.
- Returns:
result – The result of the query as an
astropy.table.Tableobject.- Return type:
query_refcode_async
Call via MCP
astroquery_execute(
module_name="ned",
function_name="query_refcode_async",
params={"refcode": "<refcode>"},
)
- NedClass.query_refcode_async(refcode, *, get_query_payload=False)
Serves the same purpose as
query_regionbut returns the raw HTTP response rather than theastropy.table.Tableobject.
query_region
Call via MCP
astroquery_execute(
module_name="ned",
function_name="query_region",
params={"coordinates": "<coordinates>"},
)
- NedClass.query_region(coordinates, *, radius=<Quantity 1. arcmin>, equinox='J2000.0', get_query_payload=False, verbose=False)
Used to query a region around a known identifier or given coordinates. Equivalent to the near position and near name queries from the Ned web interface.
- Parameters:
coordinates (
strorastropy.coordinatesobject) – 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 appropriateastropy.coordinatesobject. ICRS coordinates may also be entered as strings as specified in theastropy.coordinatesmodule.radius (
strorQuantityobject, optional) – The string must be parsable byAngle. The appropriateQuantityobject fromastropy.unitsmay also be used. Defaults to 1 arcmin.equinox (
str, optional) – The equinox may be either J2000.0 or B1950.0. Defaults to J2000.0get_query_payload (
bool, optional) – if set toTruethen returns the dictionary sent as the HTTP request. Defaults toFalse.verbose (
bool,optional.) – When set toTruedisplays warnings if the returned VOTable does not conform to the standard. Defaults toFalse.
- Returns:
result – The result of the query as an
astropy.table.Tableobject.- Return type:
query_region_async
Call via MCP
astroquery_execute(
module_name="ned",
function_name="query_region_async",
params={"coordinates": "<coordinates>"},
)
- NedClass.query_region_async(coordinates, *, radius=<Quantity 1. arcmin>, equinox='J2000.0', get_query_payload=False)
Serves the same purpose as
query_regionbut returns the raw HTTP response rather than theastropy.table.Tableobject.- Parameters:
coordinates (
strorastropy.coordinatesobject) – 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 appropriateastropy.coordinatesobject. ICRS coordinates may also be entered as strings as specified in theastropy.coordinatesmodule.radius (
strorQuantityobject, optional) – The string must be parsable byastropy.coordinates.Angle. The appropriateQuantityobject fromastropy.unitsmay also be used. Defaults to 1 arcmin.equinox (
str, optional) – The equinox may be either J2000.0 or B1950.0. Defaults to J2000.0get_query_payload (
bool, optional) – if set toTruethen returns the dictionary sent as the HTTP request. Defaults toFalse.
- Returns:
response – The HTTP response returned from the service
- Return type:
requests.Response
query_region_iau
Call via MCP
astroquery_execute(
module_name="ned",
function_name="query_region_iau",
params={"iau_name": "<iau_name>"},
)
- NedClass.query_region_iau(iau_name, *, frame='Equatorial', equinox='B1950.0', get_query_payload=False, verbose=False)
Used to query the Ned service via the IAU name. Equivalent to the IAU format queries of the Web interface.
- Parameters:
iau_name (
str) – IAU coordinate-based name of target on which search is centered. Definition of IAU coordinates at https://cds.unistra.fr/Dic/iau-spec.html.frame (
str, optional) – May be one of ‘Equatorial’, ‘Ecliptic’, ‘Galactic’, ‘SuperGalactic’. Defaults to ‘Equatorial’.equinox (
str, optional) – The equinox may be one of J2000.0 or B1950.0. Defaults to B1950.0get_query_payload (
bool, optional) – if set toTruethen returns the dictionary sent as the HTTP request. Defaults toFalseverbose (
bool,optional.) – When set toTruedisplays warnings if the returned VOTable does not conform to the standard. Defaults toFalse.
- Returns:
result – The result of the query as an
astropy.table.Tableobject.- Return type:
query_region_iau_async
Call via MCP
astroquery_execute(
module_name="ned",
function_name="query_region_iau_async",
params={"iau_name": "<iau_name>"},
)
- NedClass.query_region_iau_async(iau_name, *, frame='Equatorial', equinox='B1950.0', get_query_payload=False)
Serves the same purpose as
query_region_iaubut returns the raw HTTP response rather than theastropy.table.Tableobject.- Parameters:
iau_name (
str) – IAU coordinate-based name of target on which search is centered. Definition of IAU coordinates at https://cds.unistra.fr/Dic/iau-spec.html.frame (
str, optional) – May be one of ‘Equatorial’, ‘Ecliptic’, ‘Galactic’, ‘SuperGalactic’. Defaults to ‘Equatorial’.equinox (
str, optional) – The equinox may be one of J2000.0 or B1950.0. Defaults to B1950.0get_query_payload (
bool, optional) – if set toTruethen returns the dictionary sent as the HTTP request. Defaults toFalse
- Returns:
response – The HTTP response returned from the service.
- Return type:
requests.Response
reset_cache_location
Call via MCP
astroquery_execute(
module_name="ned",
function_name="reset_cache_location",
params={},
)
- NedClass.reset_cache_location()
Resets the cache location to the default astropy cache