IRSA IDL Tools
Version 1.0
Last Updated: 5 May 2011
Contents
- README
- query_irsa_cat.pro - queries IRSA catalogs, returning an IDL structure
- read_ipac_table.pro - reads an IPAC Table file into an IDL structure
- read_ipac_var.pro - converts an internal variable to an IDL structure
- write_ipac_table.pro - writes an IDL structure to an IPAC Table file
- is_it_number.pro - evaluates whether a string can be converted to a numeric data type (used by read_ipac_table.pro and read_ipac_var.pro)
Summary
IRSA provides a set of five IDL programs to assist users in working with catalogs and tables. The README included in the tarball contains installation instructions. The program query_irsa_cat.pro will run name or position searches on the specified catalog within a given radius. Programs are also provided to facilitate converting between IPAC Table format and IDL structures.
The catalog identifier for use with query_irsa_cat.pro can be found in the "catname" column here.
Examples
(1) Plot a histogram of the J magnitudes of all 2MASS point sources stars within 10 arcminutes of the center of the globular cluster M13.
IDL> info = query_irsa_cat('m13',radius=10,radunits='arcmin')
IDL> plothist,info.jm_m,xran=[10,20]
(2) Find the position of the faintest IRAS 60 micron source within 1 degree of central
position of the COSMOS survey (10:00:28.6 +02:12:21.0 in J2000).
IDL> info = query_irsa_cat([150.11916,2.202583], catalog='irasfsc', radius=1, radunits='deg')
IDL> idx = where(info.fnu_60 eq min(info.fnu_60))
IDL> print, (info.ra)[idx], (info.dec)[idx]
If you encounter any problems please send a bug report to the IRSA Help Desk.



