Index: trunk/Ohana/doc/www/html/DVO/DVO-shell.htm
===================================================================
--- trunk/Ohana/doc/www/html/DVO/DVO-shell.htm	(revision 4735)
+++ trunk/Ohana/doc/www/html/DVO/DVO-shell.htm	(revision 4735)
@@ -0,0 +1,175 @@
+<meta name=file  content=dvo>
+<meta name=title content=DVO Examples>
+<meta name=page  content=DVO Examples>
+
+<h3> Database Functions </h3>
+
+<pre>
+gcat                        -- get catalog at location
+gimages                     -- get images at location
+gstar                       -- get star statistics
+extract                     -- extract average vectors from catalogs
+mextract                    -- extract measurement vectors from catalogs
+imstats                    -- plot image statistics
+imextract                   -- extract image vectors from database
+lcat                        -- list catalogs in display region
+cmatch                      -- match two catalogs
+</pre>
+
+<p>
+There are a variety of other commands which directly refer to the
+photometry database.  Some of these functions extract data of various
+types from the database, others perform more complex plotting
+operations.  The commands listed above are those which simply extract
+data from the database.  The first three list information relevant to
+a specific RA, DEC location on the sky: <tt>gcat (RA) (DEC)</tt> lists
+the catalog at the specified location and places the name in the
+variable <tt>$CATNAME</tt>, <tt>gimages (RA) (DEC)</tt> lists all images
+which overlap the specified location, <tt>gstars (RA) (DEC) (RADIUS)</tt>
+lists data about the stars within a specified radius of the specified
+location (all numbers above are given in decimal degrees).  Similarly,
+<tt>lcat</tt> lists the catalogs in the region.  Imstats lists statistics
+about each image
+
+<p>
+The next three commands extract a specific piece of information from
+the photometry database and places it in a vector.  First,
+<tt>extract</tt> will extract average values for each star and place
+it in a vector.  Next, <tt>mextract</tt> will extract measurement
+values for each star and place it in a vector: as a result a single
+star may have multiple entries in the measurement vectors.  Finally,
+<tt>imextract</tt> will extract image statistics into vectors (not yet
+implemented).
+
+
+<pre>
+catalog                    -- plot catalog stars
+cgrid                      -- plot sky coordinate grid
+cplot                      -- plot vectors in sky coordinates
+czplot                     -- plot scaled vectors in sky coordinates
+images                     -- plot image boxes
+imdense                    -- image density plot
+lcurve                     -- plot lightcurve for a star
+pcat                       -- plot catalog boundaries
+region                     -- define sky region for plot
+resid                      -- plot residuals
+simage                     -- plot stars in an image
+</pre>
+
+<p>
+There are two types of database plotting functions: those that display
+or refer to the spatial charateristics of the data and those that
+refer to other types of charatersitics, such as the time domain.  The
+graphics window 0 is reserved for all plots of objects on the sky.
+The command <tt>region</tt> defines the current sky coordinates for plots
+in graphic window 0.  The command <tt>pcat</tt> plots the outline of all
+photometry database files which are within the currently defined
+region (and by default, only those with data).  <tt>images</tt> plots the
+outline of the images in the image database, while <tt>imdense</tt> shows
+the number of images at a location by randomly spacing dots within the
+boundary of the images.  The command <tt>cgrid</tt>
+draws a grid in celestial coordinates on the for the current region.
+
+<p>
+The most complex, but also one of the most useful command is
+<tt>catalog</tt>, which plots the positions of stars in the photometry
+database (and others) on the sky.  There are many options to this
+command.  One set allows the user to plot stars from the photometry
+database (the default), from the HST GSC, or from an ASCII text file
+with RA, DEC, and Mag in specified columns.  If the ASCII file has a
+fixed number of bytes per line, the data can be more quickly loaded.
+The size of the points may be scaled by the star magnitude, by the
+number of observations of the star, or by the number of missing
+datapoints for the star.  In addition, points may be plotted only if
+they land in specified magnitude ranges, or with specified numbers of
+measurements, or missed measurements.  Also, objects may be plotted
+only if they have a specified Average.code, so that only asteroids or
+only perfect stars may be plotted.  The plotted vectors may be saved,
+if desired, and the source catalog epoch may be specified as different
+from J2000 (only valid for ASCII data).
+
+<p>
+Several other commands relate to non-spatial charateristics of images
+and stars.  <tt>lcurve</tt> will plot a light curve for all stars within
+some radius of a point.  <tt>resid</tt> plots the photometry residuals
+for a particular region file.  
+
+<h3> Some Examples </h3>
+
+\begin{figure}
+%\psfig{file=fullsky.ps,width=16cm}
+\caption{\label{allsky} \small
+  Map of the entire sky, and images added to database.  }
+\end{figure}
+
+<p>
+Fig.~\ref{allsky} shows a map of the entire sky, and the location
+of the images currently in the database.  This picture was made with
+the following commands: (output is not shown) 
+
+<pre>
+dvo: region 0 0 90 gls
+dvo: cgrid
+dvo: style -lw 2 -c red 
+dvo: images
+dvo: ps
+</pre>
+
+<p>
+In this example, on the graphics window, the image boxes are shown in
+red.  The user now has the possiblitiy of using the cursor command to
+narrow in on a specific region, and so forth.  
+
+\begin{figure}
+%\psfig{file=polar.ps,width=16cm}
+\caption{\label{polar} \small
+  Map of the sky in polar project, and images added to database.  }
+\end{figure}
+
+<p>
+Fig.~\ref{allsky} shows a map of the entire sky, and the location of
+the images currently in the database from a polar project.  This
+picture was made with the following commands: (output is not shown)
+
+<pre>
+dvo: region 0 0 90 zea
+dvo: cgrid
+dvo: style -lw 2 -c red 
+dvo: images
+dvo: ps
+</pre>
+
+<p>
+In this example, on the graphics window, the image boxes are shown in
+red.  The user now has the possiblitiy of using the cursor command to
+narrow in on a specific region, and so forth.  
+
+\begin{figure}
+%\psfig{file=catalog.ps,width=9cm}
+\caption{\label{catalog} \small
+  Comparison between HST GSC and photometry database astrometry.  }
+\end{figure}
+
+<p>
+Fig.~\ref{catalog} shows an example comparison of the photometry
+database star positions and the HST Guide Star Catalog star positions.
+The crosses are all objects in the photometry database, while the
+boxes are only the stars identified as USNO stars.  The circles are
+the stars from the HST GSC.  The size of both points is a function of
+brightness.  This plot was made with the following commands (starting
+from the previous image):
+
+<pre>
+dvo: cursor  (typed 1 on region of interest)
+1 137.097858 22.698305
+q 137.097858 22.698305
+dvo: region $R1 $D1 0.2 TAN
+dvo: cgrid
+dvo: box
+dvo: style -pt 0 
+dvo: gcat $R1 $D1 
+  0 n2230/1951.cpt *
+dvo: style -pt 2; cat -all -m 12 18
+dvo: style -pt 1; cat -all -m 12 18 -ID $USNO
+dvo: style -pt 7; cat -all -m 12 18 -g
+</pre>
Index: trunk/Ohana/doc/www/html/DVO/cmd-summary.htm
===================================================================
--- trunk/Ohana/doc/www/html/DVO/cmd-summary.htm	(revision 4733)
+++ 	(revision )
@@ -1,111 +1,0 @@
-<meta name=file  content=dvo-cmds>
-<meta name=title content=DVO commands>
-<meta name=page  content=DVO commands>
-
-<table>
- <tr><td> abszero        </td><td> find filter zeropts </td></tr>
- <tr><td> applyfit       </td><td> apply fit to new vector </td></tr>
- <tr><td> applyfit2d     </td><td> apply 2-d fit to new vector </td></tr>
- <tr><td> badimages      </td><td> look for images with anomalous astrometry </td></tr>
- <tr><td> box            </td><td> draw a box on the plot </td></tr>
- <tr><td> buffers        </td><td> list the currently allocated buffers </td></tr>
- <tr><td> calextract  	 </td><td> extract photometry calibration </td></tr>
- <tr><td> calmextract 	 </td><td> extract photometry calibration </td></tr>
- <tr><td> cals           </td><td> plot calibration data </td></tr>
- <tr><td> catalog        </td><td> plot catalog stars </td></tr>
- <tr><td> ccd         	 </td><td> plot color-color diagram </td></tr>
- <tr><td> ccdextract     </td><td> extract star coords from color-color diagram </td></tr>
- <tr><td> center      	 </td><td> center image on coords </td></tr>
- <tr><td> cgrid          </td><td> plot sky coordinate grid </td></tr>
- <tr><td> clear          </td><td> erase plot </td></tr>
- <tr><td> cmatch         </td><td> match two catalogs </td></tr>
- <tr><td> cmd            </td><td> plot cmd of stars in current region </td></tr>
- <tr><td> cmdextract     </td><td> extract stars based on cmd regions </td></tr>
- <tr><td> cmpread        </td><td> read data from cmp format files </td></tr>
- <tr><td> concat         </td><td> reduce vector dimension </td></tr>
- <tr><td> contour        </td><td> create contour from image </td></tr>
- <tr><td> cplot          </td><td> plot vectors in sky coordinates </td></tr>
- <tr><td> create         </td><td> create a new vector </td></tr>
- <tr><td> csystem        </td><td> convert between coordinate systems </td></tr>
- <tr><td> ctimes         </td><td> convert between time formats </td></tr>
- <tr><td> cursor         </td><td> get coords from cursor </td></tr>
- <tr><td> czplot         </td><td> plot scaled vectors in sky coordinates </td></tr>
- <tr><td> datafile       </td><td> define file to read vectors </td></tr>
- <tr><td> date        	 </td><td> get current date </td></tr>
- <tr><td> ddmagextr      </td><td> plot magnitude differences </td></tr>
- <tr><td> ddmags         </td><td> plot magnitude differences </td></tr>
- <tr><td> delete         </td><td> delete vectors or matrices </td></tr>
- <tr><td> device         </td><td> set / get current graphics device </td></tr>
- <tr><td> dmagextract    </td><td> extract stars based on differential magnitudes between filters </td></tr>
- <tr><td> dmags          </td><td> plot differential magnitudes between filters </td></tr>
- <tr><td> dmt            </td><td> plot mag scatter </td></tr>
- <tr><td> dumpmags       </td><td> custom dB dumping thingy </td></tr>
- <tr><td> elixir         </td><td> get status info from elixir </td></tr>
- <tr><td> extract        </td><td> extract vectors from catalogs </td></tr>
- <tr><td> file           </td><td> test for a file </td></tr>
- <tr><td> fit            </td><td> fit polynomial to vector pair </td></tr>
- <tr><td> fit2d          </td><td> fit 2-d polynomial to vector triplet </td></tr>
- <tr><td> gaussj      	 </td><td> solve Ax = B (N-D)\n </td></tr>
- <tr><td> gcat           </td><td> get catalog at location </td></tr>
- <tr><td> gimages        </td><td> get images at location </td></tr>
- <tr><td> grid           </td><td> plot cartesian grid </td></tr>
- <tr><td> gstar          </td><td> get star statistics </td></tr>
- <tr><td> gtypes         </td><td> get type fractions </td></tr>
- <tr><td> histogram      </td><td> generate histogram from vector </td></tr>
- <tr><td> images         </td><td> plot image boxes </td></tr>
- <tr><td> imbox          </td><td> plot expected image box </td></tr>
- <tr><td> imdata         </td><td> extract data for specific images </td></tr>
- <tr><td> imdense        </td><td> image density plot </td></tr>
- <tr><td> imextract      </td><td> extract vectors from catalogs </td></tr>
- <tr><td> imlist         </td><td> list image info </td></tr>
- <tr><td> imphot         </td><td> image photometry info </td></tr>
- <tr><td> imrough        </td><td> get info from imruf database </td></tr>
- <tr><td> imsearch       </td><td> get info from imreg database </td></tr>
- <tr><td> imstats        </td><td> plot image statistics </td></tr>
- <tr><td> interpolate    </td><td> interpolate between vector pairs </td></tr>
- <tr><td> jpeg           </td><td> write text line on graph </td></tr>
- <tr><td> labels         </td><td> define labels for plot </td></tr>
- <tr><td> lcat           </td><td> list catalogs in region </td></tr>
- <tr><td> lcurve         </td><td> plot lightcurve for a star </td></tr>
- <tr><td> limits         </td><td> define plot limits </td></tr>
- <tr><td> mcreate     	 </td><td> create a matrix </td></tr>
- <tr><td> mextract       </td><td> extract vectors from catalogs </td></tr>
- <tr><td> mget        	 </td><td> extract a vector from a matrix </td></tr>
- <tr><td> mset        	 </td><td> insert a vector in a matrix </td></tr>
- <tr><td> pcat           </td><td> plot catalog boundaries </td></tr>
- <tr><td> photcodes      </td><td> list photometry codes </td></tr>
- <tr><td> photresid      </td><td> plot photometry residuals </td></tr>
- <tr><td> plot           </td><td> plot a pair of vectors </td></tr>
- <tr><td> pmeasure       </td><td> plot individual measurements </td></tr>
- <tr><td> precess        </td><td> precess coordinates </td></tr>
- <tr><td> print          </td><td> write vectors to file </td></tr>
- <tr><td> procks         </td><td> plot rocks </td></tr>
- <tr><td> ps             </td><td> define labels for plot </td></tr>
- <tr><td> rd             </td><td> load fits image </td></tr>
- <tr><td> read           </td><td> read vectors from datafile </td></tr>
- <tr><td> region         </td><td> define sky region for plot </td></tr>
- <tr><td> resid          </td><td> plot residuals </td></tr>
- <tr><td> resize         </td><td> set graphics/image window size </td></tr>
- <tr><td> section        </td><td> define section of graph </td></tr>
- <tr><td> set            </td><td> vector math </td></tr>
- <tr><td> simage         </td><td> plot stars in an image </td></tr>
- <tr><td> sort           </td><td> sort list of vectors </td></tr>
- <tr><td> sprintf     	 </td><td> formated print to variable </td></tr>
- <tr><td> stats          </td><td> give statistics on a portion of a buffer </td></tr>
- <tr><td> style          </td><td> set the style for graph plots </td></tr>
- <tr><td> subpix      	 </td><td> get subpixel positions </td></tr>
- <tr><td> subraster      </td><td> subraster of fits image </td></tr>
- <tr><td> subset         </td><td> expand vector dimension </td></tr>
- <tr><td> textline       </td><td> write text line on graph </td></tr>
- <tr><td> tv         	 </td><td> display an image on the Kii window </td></tr>
- <tr><td> uniq           </td><td> create a uniq vector subset from a vector </td></tr>
- <tr><td> vclip       	 </td><td> clip a vector </td></tr>
- <tr><td> vectobuf       </td><td> convert vector triplet to buffer </td></tr>
- <tr><td> vectors        </td><td> list vectors </td></tr>
- <tr><td> vstat          </td><td> get info from imreg database </td></tr>
- <tr><td> wd         	 </td><td> write an image to a file </td></tr>
- <tr><td> write          </td><td> write vectors to datafile </td></tr>
- <tr><td> zap         	 </td><td> delete pixels </td></tr>
- <tr><td> zeropts        </td><td> show filter zeropts </td></tr>
- <tr><td> zplot          </td><td> plot x y with size scaled by z </td></tr>
-</table>
Index: trunk/Ohana/doc/www/html/DVO/commands.htm
===================================================================
--- trunk/Ohana/doc/www/html/DVO/commands.htm	(revision 4735)
+++ trunk/Ohana/doc/www/html/DVO/commands.htm	(revision 4735)
@@ -0,0 +1,111 @@
+<meta name=file  content=dvo-cmds>
+<meta name=title content=DVO commands>
+<meta name=page  content=DVO commands>
+
+<table>
+ <tr><td> abszero        </td><td> find filter zeropts </td></tr>
+ <tr><td> applyfit       </td><td> apply fit to new vector </td></tr>
+ <tr><td> applyfit2d     </td><td> apply 2-d fit to new vector </td></tr>
+ <tr><td> badimages      </td><td> look for images with anomalous astrometry </td></tr>
+ <tr><td> box            </td><td> draw a box on the plot </td></tr>
+ <tr><td> buffers        </td><td> list the currently allocated buffers </td></tr>
+ <tr><td> calextract  	 </td><td> extract photometry calibration </td></tr>
+ <tr><td> calmextract 	 </td><td> extract photometry calibration </td></tr>
+ <tr><td> cals           </td><td> plot calibration data </td></tr>
+ <tr><td> catalog        </td><td> plot catalog stars </td></tr>
+ <tr><td> ccd         	 </td><td> plot color-color diagram </td></tr>
+ <tr><td> ccdextract     </td><td> extract star coords from color-color diagram </td></tr>
+ <tr><td> center      	 </td><td> center image on coords </td></tr>
+ <tr><td> cgrid          </td><td> plot sky coordinate grid </td></tr>
+ <tr><td> clear          </td><td> erase plot </td></tr>
+ <tr><td> cmatch         </td><td> match two catalogs </td></tr>
+ <tr><td> cmd            </td><td> plot cmd of stars in current region </td></tr>
+ <tr><td> cmdextract     </td><td> extract stars based on cmd regions </td></tr>
+ <tr><td> cmpread        </td><td> read data from cmp format files </td></tr>
+ <tr><td> concat         </td><td> reduce vector dimension </td></tr>
+ <tr><td> contour        </td><td> create contour from image </td></tr>
+ <tr><td> cplot          </td><td> plot vectors in sky coordinates </td></tr>
+ <tr><td> create         </td><td> create a new vector </td></tr>
+ <tr><td> csystem        </td><td> convert between coordinate systems </td></tr>
+ <tr><td> ctimes         </td><td> convert between time formats </td></tr>
+ <tr><td> cursor         </td><td> get coords from cursor </td></tr>
+ <tr><td> czplot         </td><td> plot scaled vectors in sky coordinates </td></tr>
+ <tr><td> datafile       </td><td> define file to read vectors </td></tr>
+ <tr><td> date        	 </td><td> get current date </td></tr>
+ <tr><td> ddmagextr      </td><td> plot magnitude differences </td></tr>
+ <tr><td> ddmags         </td><td> plot magnitude differences </td></tr>
+ <tr><td> delete         </td><td> delete vectors or matrices </td></tr>
+ <tr><td> device         </td><td> set / get current graphics device </td></tr>
+ <tr><td> dmagextract    </td><td> extract stars based on differential magnitudes between filters </td></tr>
+ <tr><td> dmags          </td><td> plot differential magnitudes between filters </td></tr>
+ <tr><td> dmt            </td><td> plot mag scatter </td></tr>
+ <tr><td> dumpmags       </td><td> custom dB dumping thingy </td></tr>
+ <tr><td> elixir         </td><td> get status info from elixir </td></tr>
+ <tr><td> extract        </td><td> extract vectors from catalogs </td></tr>
+ <tr><td> file           </td><td> test for a file </td></tr>
+ <tr><td> fit            </td><td> fit polynomial to vector pair </td></tr>
+ <tr><td> fit2d          </td><td> fit 2-d polynomial to vector triplet </td></tr>
+ <tr><td> gaussj      	 </td><td> solve Ax = B (N-D)\n </td></tr>
+ <tr><td> gcat           </td><td> get catalog at location </td></tr>
+ <tr><td> gimages        </td><td> get images at location </td></tr>
+ <tr><td> grid           </td><td> plot cartesian grid </td></tr>
+ <tr><td> gstar          </td><td> get star statistics </td></tr>
+ <tr><td> gtypes         </td><td> get type fractions </td></tr>
+ <tr><td> histogram      </td><td> generate histogram from vector </td></tr>
+ <tr><td> images         </td><td> plot image boxes </td></tr>
+ <tr><td> imbox          </td><td> plot expected image box </td></tr>
+ <tr><td> imdata         </td><td> extract data for specific images </td></tr>
+ <tr><td> imdense        </td><td> image density plot </td></tr>
+ <tr><td> imextract      </td><td> extract vectors from catalogs </td></tr>
+ <tr><td> imlist         </td><td> list image info </td></tr>
+ <tr><td> imphot         </td><td> image photometry info </td></tr>
+ <tr><td> imrough        </td><td> get info from imruf database </td></tr>
+ <tr><td> imsearch       </td><td> get info from imreg database </td></tr>
+ <tr><td> imstats        </td><td> plot image statistics </td></tr>
+ <tr><td> interpolate    </td><td> interpolate between vector pairs </td></tr>
+ <tr><td> jpeg           </td><td> write text line on graph </td></tr>
+ <tr><td> labels         </td><td> define labels for plot </td></tr>
+ <tr><td> lcat           </td><td> list catalogs in region </td></tr>
+ <tr><td> lcurve         </td><td> plot lightcurve for a star </td></tr>
+ <tr><td> limits         </td><td> define plot limits </td></tr>
+ <tr><td> mcreate     	 </td><td> create a matrix </td></tr>
+ <tr><td> mextract       </td><td> extract vectors from catalogs </td></tr>
+ <tr><td> mget        	 </td><td> extract a vector from a matrix </td></tr>
+ <tr><td> mset        	 </td><td> insert a vector in a matrix </td></tr>
+ <tr><td> pcat           </td><td> plot catalog boundaries </td></tr>
+ <tr><td> photcodes      </td><td> list photometry codes </td></tr>
+ <tr><td> photresid      </td><td> plot photometry residuals </td></tr>
+ <tr><td> plot           </td><td> plot a pair of vectors </td></tr>
+ <tr><td> pmeasure       </td><td> plot individual measurements </td></tr>
+ <tr><td> precess        </td><td> precess coordinates </td></tr>
+ <tr><td> print          </td><td> write vectors to file </td></tr>
+ <tr><td> procks         </td><td> plot rocks </td></tr>
+ <tr><td> ps             </td><td> define labels for plot </td></tr>
+ <tr><td> rd             </td><td> load fits image </td></tr>
+ <tr><td> read           </td><td> read vectors from datafile </td></tr>
+ <tr><td> region         </td><td> define sky region for plot </td></tr>
+ <tr><td> resid          </td><td> plot residuals </td></tr>
+ <tr><td> resize         </td><td> set graphics/image window size </td></tr>
+ <tr><td> section        </td><td> define section of graph </td></tr>
+ <tr><td> set            </td><td> vector math </td></tr>
+ <tr><td> simage         </td><td> plot stars in an image </td></tr>
+ <tr><td> sort           </td><td> sort list of vectors </td></tr>
+ <tr><td> sprintf     	 </td><td> formated print to variable </td></tr>
+ <tr><td> stats          </td><td> give statistics on a portion of a buffer </td></tr>
+ <tr><td> style          </td><td> set the style for graph plots </td></tr>
+ <tr><td> subpix      	 </td><td> get subpixel positions </td></tr>
+ <tr><td> subraster      </td><td> subraster of fits image </td></tr>
+ <tr><td> subset         </td><td> expand vector dimension </td></tr>
+ <tr><td> textline       </td><td> write text line on graph </td></tr>
+ <tr><td> tv         	 </td><td> display an image on the Kii window </td></tr>
+ <tr><td> uniq           </td><td> create a uniq vector subset from a vector </td></tr>
+ <tr><td> vclip       	 </td><td> clip a vector </td></tr>
+ <tr><td> vectobuf       </td><td> convert vector triplet to buffer </td></tr>
+ <tr><td> vectors        </td><td> list vectors </td></tr>
+ <tr><td> vstat          </td><td> get info from imreg database </td></tr>
+ <tr><td> wd         	 </td><td> write an image to a file </td></tr>
+ <tr><td> write          </td><td> write vectors to datafile </td></tr>
+ <tr><td> zap         	 </td><td> delete pixels </td></tr>
+ <tr><td> zeropts        </td><td> show filter zeropts </td></tr>
+ <tr><td> zplot          </td><td> plot x y with size scaled by z </td></tr>
+</table>
Index: trunk/Ohana/doc/www/html/DVO/index.htm
===================================================================
--- trunk/Ohana/doc/www/html/DVO/index.htm	(revision 4735)
+++ trunk/Ohana/doc/www/html/DVO/index.htm	(revision 4735)
@@ -0,0 +1,19 @@
+<meta name=file  content=DVO>
+<meta name=title content=DVO System>
+<meta name=page  content=The DVO System>
+
+<h3> Introduction </h3>
+
+DVO (the Desktop Virtual Observatory) is system for manipulating
+collections of images and measurements related to astronomical
+objects.  The DVO system consists of several programs which insert
+data in the database system, or manipulate data in the database.  One
+of these is the <tt>DVO shell</tt>, which provides a command-line
+driven, programmable user interface to the objects and measurements in
+the database.  The DVO shell is based on the Opihi shell, which
+provides the tools to manipulate and display data in various
+representations.  The DVO shell adds to this basic command set a
+collection of functions which provide direct access to the contents of
+the DVO database tables.
+
+
Index: trunk/Ohana/doc/www/html/DVO/userguide.htm
===================================================================
--- trunk/Ohana/doc/www/html/DVO/userguide.htm	(revision 4733)
+++ 	(revision )
@@ -1,175 +1,0 @@
-<meta name=file  content=dvo>
-<meta name=title content=DVO Examples>
-<meta name=page  content=DVO Examples>
-
-<h3> Database Functions </h3>
-
-<pre>
-gcat                        -- get catalog at location
-gimages                     -- get images at location
-gstar                       -- get star statistics
-extract                     -- extract average vectors from catalogs
-mextract                    -- extract measurement vectors from catalogs
-imstats                    -- plot image statistics
-imextract                   -- extract image vectors from database
-lcat                        -- list catalogs in display region
-cmatch                      -- match two catalogs
-</pre>
-
-<p>
-There are a variety of other commands which directly refer to the
-photometry database.  Some of these functions extract data of various
-types from the database, others perform more complex plotting
-operations.  The commands listed above are those which simply extract
-data from the database.  The first three list information relevant to
-a specific RA, DEC location on the sky: <tt>gcat (RA) (DEC)</tt> lists
-the catalog at the specified location and places the name in the
-variable <tt>$CATNAME</tt>, <tt>gimages (RA) (DEC)</tt> lists all images
-which overlap the specified location, <tt>gstars (RA) (DEC) (RADIUS)</tt>
-lists data about the stars within a specified radius of the specified
-location (all numbers above are given in decimal degrees).  Similarly,
-<tt>lcat</tt> lists the catalogs in the region.  Imstats lists statistics
-about each image
-
-<p>
-The next three commands extract a specific piece of information from
-the photometry database and places it in a vector.  First,
-<tt>extract</tt> will extract average values for each star and place
-it in a vector.  Next, <tt>mextract</tt> will extract measurement
-values for each star and place it in a vector: as a result a single
-star may have multiple entries in the measurement vectors.  Finally,
-<tt>imextract</tt> will extract image statistics into vectors (not yet
-implemented).
-
-
-<pre>
-catalog                    -- plot catalog stars
-cgrid                      -- plot sky coordinate grid
-cplot                      -- plot vectors in sky coordinates
-czplot                     -- plot scaled vectors in sky coordinates
-images                     -- plot image boxes
-imdense                    -- image density plot
-lcurve                     -- plot lightcurve for a star
-pcat                       -- plot catalog boundaries
-region                     -- define sky region for plot
-resid                      -- plot residuals
-simage                     -- plot stars in an image
-</pre>
-
-<p>
-There are two types of database plotting functions: those that display
-or refer to the spatial charateristics of the data and those that
-refer to other types of charatersitics, such as the time domain.  The
-graphics window 0 is reserved for all plots of objects on the sky.
-The command <tt>region</tt> defines the current sky coordinates for plots
-in graphic window 0.  The command <tt>pcat</tt> plots the outline of all
-photometry database files which are within the currently defined
-region (and by default, only those with data).  <tt>images</tt> plots the
-outline of the images in the image database, while <tt>imdense</tt> shows
-the number of images at a location by randomly spacing dots within the
-boundary of the images.  The command <tt>cgrid</tt>
-draws a grid in celestial coordinates on the for the current region.
-
-<p>
-The most complex, but also one of the most useful command is
-<tt>catalog</tt>, which plots the positions of stars in the photometry
-database (and others) on the sky.  There are many options to this
-command.  One set allows the user to plot stars from the photometry
-database (the default), from the HST GSC, or from an ASCII text file
-with RA, DEC, and Mag in specified columns.  If the ASCII file has a
-fixed number of bytes per line, the data can be more quickly loaded.
-The size of the points may be scaled by the star magnitude, by the
-number of observations of the star, or by the number of missing
-datapoints for the star.  In addition, points may be plotted only if
-they land in specified magnitude ranges, or with specified numbers of
-measurements, or missed measurements.  Also, objects may be plotted
-only if they have a specified Average.code, so that only asteroids or
-only perfect stars may be plotted.  The plotted vectors may be saved,
-if desired, and the source catalog epoch may be specified as different
-from J2000 (only valid for ASCII data).
-
-<p>
-Several other commands relate to non-spatial charateristics of images
-and stars.  <tt>lcurve</tt> will plot a light curve for all stars within
-some radius of a point.  <tt>resid</tt> plots the photometry residuals
-for a particular region file.  
-
-<h3> Some Examples </h3>
-
-\begin{figure}
-%\psfig{file=fullsky.ps,width=16cm}
-\caption{\label{allsky} \small
-  Map of the entire sky, and images added to database.  }
-\end{figure}
-
-<p>
-Fig.~\ref{allsky} shows a map of the entire sky, and the location
-of the images currently in the database.  This picture was made with
-the following commands: (output is not shown) 
-
-<pre>
-dvo: region 0 0 90 gls
-dvo: cgrid
-dvo: style -lw 2 -c red 
-dvo: images
-dvo: ps
-</pre>
-
-<p>
-In this example, on the graphics window, the image boxes are shown in
-red.  The user now has the possiblitiy of using the cursor command to
-narrow in on a specific region, and so forth.  
-
-\begin{figure}
-%\psfig{file=polar.ps,width=16cm}
-\caption{\label{polar} \small
-  Map of the sky in polar project, and images added to database.  }
-\end{figure}
-
-<p>
-Fig.~\ref{allsky} shows a map of the entire sky, and the location of
-the images currently in the database from a polar project.  This
-picture was made with the following commands: (output is not shown)
-
-<pre>
-dvo: region 0 0 90 zea
-dvo: cgrid
-dvo: style -lw 2 -c red 
-dvo: images
-dvo: ps
-</pre>
-
-<p>
-In this example, on the graphics window, the image boxes are shown in
-red.  The user now has the possiblitiy of using the cursor command to
-narrow in on a specific region, and so forth.  
-
-\begin{figure}
-%\psfig{file=catalog.ps,width=9cm}
-\caption{\label{catalog} \small
-  Comparison between HST GSC and photometry database astrometry.  }
-\end{figure}
-
-<p>
-Fig.~\ref{catalog} shows an example comparison of the photometry
-database star positions and the HST Guide Star Catalog star positions.
-The crosses are all objects in the photometry database, while the
-boxes are only the stars identified as USNO stars.  The circles are
-the stars from the HST GSC.  The size of both points is a function of
-brightness.  This plot was made with the following commands (starting
-from the previous image):
-
-<pre>
-dvo: cursor  (typed 1 on region of interest)
-1 137.097858 22.698305
-q 137.097858 22.698305
-dvo: region $R1 $D1 0.2 TAN
-dvo: cgrid
-dvo: box
-dvo: style -pt 0 
-dvo: gcat $R1 $D1 
-  0 n2230/1951.cpt *
-dvo: style -pt 2; cat -all -m 12 18
-dvo: style -pt 1; cat -all -m 12 18 -ID $USNO
-dvo: style -pt 7; cat -all -m 12 18 -g
-</pre>
