Bases: astroquery.query.BaseQuery
Attributes Summary
CATALOG_PREFIX | str(object=’‘) -> string |
FITS_PREFIX | str(object=’‘) -> string |
PLACEHOLDER | int(x=0) -> int or long |
Methods Summary
get_catalog(*args, **kwds) | Download catalog of ALFALFA source properties. |
get_spectrum(*args, **kwds) | Download spectrum from ALFALFA catalogue. |
query_region(*args, **kwds) | Perform object cross-ID in ALFALFA. |
Attributes Documentation
Methods Documentation
Download catalog of ALFALFA source properties.
Returns : | Dictionary of results, each element is a masked array. : |
---|
Notes
This catalog has ~15,000 entries, so after it’s downloaded, it is made global to save some time later.
Download spectrum from ALFALFA catalogue.
Parameters : | agc : int
ascii : bool
|
---|---|
Returns : | PyFITS HDUList. Spectrum is in hdulist[0].data[0][2] : |
See also
Perform object cross-ID in ALFALFA.
Search for objects near position (ra, dec) within some radius.
Parameters : | coordinates : str or astropy.coordinates object
radius : str or astropy.units.Quantity object, optional
optical_counterpart : bool
See documentation for astropy.coordinates.angles for more information : about (‘ra’, ‘dec’, ‘unit’) parameters. : |
---|---|
Returns : | AGC number for object nearest supplied position. : |
Examples
>>> agc = alfalfa.crossID(ra='0h8m05.63s', dec='14d50m23.3s', dr)
>>> for match in xid:
>>> print match['ra'], match['dec'], match['objid']