1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
|
<!DOCTYPE doctype PUBLIC "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="GENERATOR" content="Mozilla/4.78 [en] (X11; U; Linux
2.4.7-10 i686) [Netscape]">
<title>Catalogs</title>
</head>
<body alink="#ff0000" bgcolor="#ffffff" link="#0000ee" text="#000000"
vlink="#551a8b">
<h3><img alt="" src="../sun.gif" align="middle" width="100"
height="98"> Catalogs</h3>
<blockquote>
<p>DS9 provides full support for loading, displaying, filtering,
and saving catalogs. DS9 allows you to overlay symbols from
multiple catalogs on the current image.</p>
<p>Local and on-line catalog access is supported. Most major
catalogs can be retrieved from online servers. Both the CDS and
SDSS catalog servers are now supported. Local catalog files in
starbase (rdb) or CSV (with or without header) are supported.</p>
<p>On-line catalogs are available via services provided by the
VizieR catalog access tool, CDS, Strasbourg, France (VizieR is a
joint effort of the Centre de Donnees Astronomiques de
Strasbourg and ESA-ESRIN Information Systems Division) and by
the Sloan Digital Sky Survey.</p>
<p>A selection of popular catalogs is provided in the Analysis
menu. In addition, you can search for other catalogs based on
title, keywords, mission, wavelength, and object type.</p>
<p>When a catalog is overlayed on an image, each displayed catalog
symbol consists of a shape, color, and text. An advanced symbol
editor is available that allows you to specify the shape, size,
color, and text of each symbol, based on catalog column values.
These symbol expressions can be saved for future use.</p>
<p>Along with the overlay display, a catalog list is provided in a
separate window. It displays the column values for each catalog
object. The catalog list can be sorted and filtered, and the
catalog display will be automatically updated. Advanced
filtering options are available. Catalogs can be loaded and
saved as local files in ASCII Starbase format. Each catalog
contains header information which can be displayed. The list can
be printed separately from the image.</p>
<p>An interactive connection between the displayed catalog symbols
and the catalog list is provided. When you select one or more
rows within the catalog list, the corresponding symbols are
highlighted on the image display. Conversely, selecting multiple
symbols on the image display will highlight the corresponding
rows within the catalog list. Catalog symbols can be converted
to regions for use with analysis tasks.</p>
<p><b>Filter Option</b></p>
<p>The catalog list can be sorted and filtered, and the catalog
display will be automatically updated. A filter is conditional
expression, when evaluated for each row of the catalog, if true,
the row is displayed, and if false, the row is not displayed.
The conditional expression can be any valid TCL expression. The
value of a column may be indicated with <tt>$<column
name></tt>.</p>
<blockquote> <tt>$_RAJ2000>180. && $_RAJ2000<270.</tt><br>
<tt>$Jmag>11</tt><br>
<tt>log($Kmag*10)<.3</tt> </blockquote>
<p><b>Advanced Symbol Editor</b></p>
<p>An advanced symbol editor is available that allows you to
specify the shape, size, color, and text of each symbol, based
on catalog column values. For each row of the catalog, one or
more conditional expressions are evaluated. For the first
expression to evaluate true, a given symbol is displayed, with
the specified shape, color, size and text properties. As with
the filter, the value of a particular column can be indicated as
<tt>$<column name>.</tt></p>
<p>For the condition entry, the expression you type in is
automatically evaluated via TCL <tt>expr</tt> after macro
expansion.</p>
<blockquote> <tt>1 #
always</tt><br>
<tt>0 #
never</tt><br>
<tt>true #
always</tt><br>
<tt>false #
never</tt><br>
<tt>$Jmag>2 #
conditional</tt><br>
<tt>sin($Jmag)>.5
# conditional</tt><br>
<tt>[string equal $Class
SNR] # conditional</tt><br>
<tt>[regexp {*SNR*}
$Class] #
conditional</tt><br>
</blockquote>
<p>For the size, size2, and angle entries, the expression you type
in is also automatically evaluated via TCL <tt>expr</tt> after
macro expansion.</p>
<blockquote> <tt>2 #
value of '2' is used</tt><br>
<tt>$Jmag #
value of column Jmag is used</tt><br>
<tt>$Jmag/2. #
value of column Jmag div 2 is used</tt><br>
<tt>(4+2)/3 #
value of '2' is used</tt><br>
</blockquote>
<p>For the text portion, this is not true. It is assumed to be
text, unless you explicitly use an <tt>expr </tt>operator.</p>
<blockquote> <tt>foo #
will put 'foo' above the symbol</tt><br>
<tt>$Jmag #
will put the value of column Jmag above the symbol</tt><br>
<tt>(4+2)/3 #
will put the text '(4+2)/3' above the symbol</tt><br>
<tt>[expr (4+2)/3] # will put the text '2' above the
symbol</tt><br>
<tt>[expr $Jmag/2.] # will take the value of Jmag and div
by 2</tt><br>
</blockquote>
<p>And finally, one special case for shape = text and text =
empty. In this case, the row number is displayed. </p>
</blockquote>
</body>
</html>
|