Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1488
News FAQ
Search Home


next up previous contents index
Next: cscatalog.done - Function Up: cscatalog - Tool Previous: cscatalog.queryimage - Function


cscatalog.querydirection - Function



Package vo
Module conesearch
Tool cscatalog


Query a catalog for a direction return a componentlist


Synopsis
querydirection(direction, sr, catalog, fluxrange)


Description
This queries a specific catalog for a given direction. The VOTable is returned after conversion to a componentlist tool. The componentlist tool is anonymous and must be renamed using the componentlist.rename function.



Arguments

direction   Direction measure
    Allowed: Measure
    Default: none
sr   Search radius
    Allowed: Quantity
    Default: '1deg'
catalog   Catalog to be queried
    Allowed: NVSS|FIRST|WENSS
    Default: NVSS
fluxrange   Flux limitation
    Allowed: Vector of quantities
    Default: F


Returns
componentlist


Example
# 
# Make a componentlist holding all sources with 10 degrees of 3C84
#
include 'cscatalog.g';
cs:=cscatalog();
cl:=cs.querydirection(dm.source('3C84'), sr='10deg', 'NVSS', fluxrange='5mJy');
if(is_fail(cl)) fail;
cs.done();





next up previous contents index
Next: cscatalog.done - Function Up: cscatalog - Tool Previous: cscatalog.queryimage - Function   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-08-01