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: unk/Ohana/doc/www/html/DVO/cmd-summary.htm
===================================================================
--- /trunk/Ohana/doc/www/html/DVO/cmd-summary.htm	(revision 4734)
+++ 	(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: unk/Ohana/doc/www/html/DVO/userguide.htm
===================================================================
--- /trunk/Ohana/doc/www/html/DVO/userguide.htm	(revision 4734)
+++ 	(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>
Index: /trunk/Ohana/doc/www/html/IPP-subsystems/pclient/index.htm
===================================================================
--- /trunk/Ohana/doc/www/html/IPP-subsystems/pclient/index.htm	(revision 4734)
+++ /trunk/Ohana/doc/www/html/IPP-subsystems/pclient/index.htm	(revision 4735)
@@ -32,18 +32,19 @@
 samping pcontrol with output from the jobs.  
 
-<h3>Commands</h3>
+<h3>Command Summary</h3>
 
 <p>
 pclient has a very limited command set, as follows:
-<ul>
-<li> job (command) : start the job (UNIX command) in the background.
-<li> check         : return the current job status
-<li> status        : return the current job status (?)
-<li> stdout        : dump the stdout stream accumulated from the job
-back to the calling program.
-<li> stderr        : dump the stderr stream accumulated from the job
-back to the calling program.
-<li> reset         : kill (if needed) the job and reset to accept
-another job.
-</ul>
 
+<pre>
+job           : start the job (UNIX command) in the background.
+check         : return the current job status
+status        : return the current job status (?)
+stdout        : dump the stdout stream accumulated from the job
+                back to the calling program.
+stderr        : dump the stderr stream accumulated from the job
+                back to the calling program.
+reset         : kill (if needed) the job and reset to accept
+                another job.
+</pre>
+
Index: /trunk/Ohana/doc/www/html/IPP-subsystems/pcontrol/index.htm
===================================================================
--- /trunk/Ohana/doc/www/html/IPP-subsystems/pcontrol/index.htm	(revision 4734)
+++ /trunk/Ohana/doc/www/html/IPP-subsystems/pcontrol/index.htm	(revision 4735)
@@ -245,2 +245,17 @@
 IPP Image Server.
 
+<h3>Command Summary</h3>
+
+<pre>
+check                -- get job or host status
+delete               -- delete job
+host                 -- add / delete / modify host
+job                  -- add job
+jobstack             -- list jobs for a single stack
+kill                 -- kill job
+pulse                -- set system pulse
+status               -- get system status
+stderr               -- get stderr buffer for job
+stdout               -- get stdout buffer for job
+verbose              -- set the verbose mode for job
+</pre>
Index: /trunk/Ohana/doc/www/html/IPP-subsystems/psched/index.htm
===================================================================
--- /trunk/Ohana/doc/www/html/IPP-subsystems/psched/index.htm	(revision 4734)
+++ /trunk/Ohana/doc/www/html/IPP-subsystems/psched/index.htm	(revision 4735)
@@ -363,2 +363,23 @@
 task and job lists with the command <tt>pulse (usec)</tt), which
 takes as an argument, the number of microseconds between timeouts.
+
+<h3>Command Summary</h3>
+
+<pre>
+controller                  -- controller commands
+task                        -- define a schedulable task
+host                        -- define host machine for a task
+nmax                        -- define maximum number of jobs for a task
+trange                      -- define valid/invalid time periods for a task
+task.exit                   -- define exit macros for a task
+task.exec                   -- define pre-exec macro for a task
+command                     -- define executed command for a task
+periods                     -- define time scales for a task
+run                         -- run the scheduler
+stop                        -- stop the scheduler
+pulse                       -- set the scheduler update period
+status                      -- get system status
+kill                        -- kill job
+delete                      -- delete job
+verbose                     -- set/toggle verbose mode
+</pre>
Index: /trunk/Ohana/doc/www/html/Opihi-Programs/DIMM/commands.htm
===================================================================
--- /trunk/Ohana/doc/www/html/Opihi-Programs/DIMM/commands.htm	(revision 4735)
+++ /trunk/Ohana/doc/www/html/Opihi-Programs/DIMM/commands.htm	(revision 4735)
@@ -0,0 +1,59 @@
+<meta name=file  content=dimm>
+ <meta name=title content=dimm user's guide>
+ <meta name=page  content=dimm>
+ 
+ <table>
+  <tr><td> altaz         </td><td>      altaz / celestial coord conversions </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> camera        </td><td>      camera functions </td></tr>
+  <tr><td> center        </td><td>      center the Kii window at coords </td></tr>
+  <tr><td> clear         </td><td>      erase plot </td></tr>
+  <tr><td> clip          </td><td>      clip values in a buffer to be within a range </td></tr>
+  <tr><td> concat        </td><td>      expand vector dimension </td></tr>
+  <tr><td> coords        </td><td>      load coordinates for buffer from file </td></tr>
+  <tr><td> create        </td><td>      create a new vector </td></tr>
+  <tr><td> cursor        </td><td>      get coordinates from the Kii window </td></tr>
+  <tr><td> cut           </td><td>      extract a cut across an image </td></tr>
+  <tr><td> datafile      </td><td>      define file to read vectors </td></tr>
+  <tr><td> delete        </td><td>      delete a buffer </td></tr>
+  <tr><td> erase         </td><td>      erase objects on an overlay </td></tr>
+  <tr><td> extract       </td><td>      extract a portion of a buffer into another buffer </td></tr>
+  <tr><td> file          </td><td>      test file </td></tr>
+  <tr><td> findstars     </td><td>      find objects on image </td></tr>
+  <tr><td> focus         </td><td>      skyprobe focus </td></tr>
+  <tr><td> gauss         </td><td>      get statistics on a star, assuming gaussian profile </td></tr>
+  <tr><td> getchr        </td><td>      find character in string </td></tr>
+  <tr><td> header        </td><td>      print buffer header </td></tr>
+  <tr><td> histogram     </td><td>      histogram of vector </td></tr>
+  <tr><td> imhist        </td><td>      histogram of an image region </td></tr>
+  <tr><td> jpeg          </td><td>      interpolate between vector pairs </td></tr>
+  <tr><td> keyword       </td><td>      extract a FITS keyword from buffer header </td></tr>
+  <tr><td> labels        </td><td>      define labels for plot </td></tr>
+  <tr><td> limits        </td><td>      define plot limits </td></tr>
+  <tr><td> load          </td><td>      load an SAOimage style overlay </td></tr>
+  <tr><td> mcreate       </td><td>      create a matrix </td></tr>
+  <tr><td> plot          </td><td>      plot a pair of vectors </td></tr>
+  <tr><td> ps            </td><td>      make PS file from Kii </td></tr>
+  <tr><td> rd            </td><td>      read an image from a file </td></tr>
+  <tr><td> read          </td><td>      read vectors from datafile </td></tr>
+  <tr><td> rebin         </td><td>      rebin data by factor of N </td></tr>
+  <tr><td> resize        </td><td>      change Kii window size </td></tr>
+  <tr><td> save          </td><td>      save an SAOimage style overlay </td></tr>
+  <tr><td> set           </td><td>      do image arithmetic </td></tr>
+  <tr><td> sort          </td><td>      sort vectors by key </td></tr>
+  <tr><td> sprintf       </td><td>      formatted print to a variable </td></tr>
+  <tr><td> star          </td><td>      star stats at rough coords </td></tr>
+  <tr><td> stats         </td><td>      give statistics on a portion of a buffer </td></tr>
+  <tr><td> strlen        </td><td>      string length </td></tr>
+  <tr><td> style         </td><td>      set the style for graph plots </td></tr>
+  <tr><td> subset        </td><td>      reduce vector dimension </td></tr>
+  <tr><td> substr        </td><td>      substring </td></tr>
+  <tr><td> telescope     </td><td>      telescope communications </td></tr>
+  <tr><td> textline      </td><td>      write text on Kapa window </td></tr>
+  <tr><td> tv            </td><td>      display an image on the Kii window </td></tr>
+  <tr><td> vectors       </td><td>      list vectors </td></tr>
+  <tr><td> vstat         </td><td>      vector statistics </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>
+ </table>
Index: /trunk/Ohana/doc/www/html/Opihi-Programs/DIMM/index.htm
===================================================================
--- /trunk/Ohana/doc/www/html/Opihi-Programs/DIMM/index.htm	(revision 4735)
+++ /trunk/Ohana/doc/www/html/Opihi-Programs/DIMM/index.htm	(revision 4735)
@@ -0,0 +1,20 @@
+<meta name=file  content=DIMM>
+<meta name=title content=DIMM user's guide>
+<meta name=page  content=DIMM>
+
+<h3> Introduction </h3>
+
+DIMM is a control shell for the CFHT DIMM Telescope based on the Opihi
+shell.  See the Opihi documentation for further descriptions of the
+tools provided by the Opihi shell.  In addition to the basic Opihi
+functions and the astronomy functions from Mana, DIMM provides a
+collection of telescope and camera control functions.
+
+<h3> Mana astronomy functions</h3>
+
+<pre>
+altaz                      -- altaz / celestial coord conversions
+camera                     -- camera functions
+findstars                  -- find objects on image
+telescope                  -- telescope communications
+</pre>
Index: unk/Ohana/doc/www/html/Opihi-Programs/DIMM/userguide.htm
===================================================================
--- /trunk/Ohana/doc/www/html/Opihi-Programs/DIMM/userguide.htm	(revision 4734)
+++ 	(revision )
@@ -1,59 +1,0 @@
-<meta name=file  content=dimm>
- <meta name=title content=dimm user's guide>
- <meta name=page  content=dimm>
- 
- <table>
-  <tr><td> altaz         </td><td>      altaz / celestial coord conversions </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> camera        </td><td>      camera functions </td></tr>
-  <tr><td> center        </td><td>      center the Kii window at coords </td></tr>
-  <tr><td> clear         </td><td>      erase plot </td></tr>
-  <tr><td> clip          </td><td>      clip values in a buffer to be within a range </td></tr>
-  <tr><td> concat        </td><td>      expand vector dimension </td></tr>
-  <tr><td> coords        </td><td>      load coordinates for buffer from file </td></tr>
-  <tr><td> create        </td><td>      create a new vector </td></tr>
-  <tr><td> cursor        </td><td>      get coordinates from the Kii window </td></tr>
-  <tr><td> cut           </td><td>      extract a cut across an image </td></tr>
-  <tr><td> datafile      </td><td>      define file to read vectors </td></tr>
-  <tr><td> delete        </td><td>      delete a buffer </td></tr>
-  <tr><td> erase         </td><td>      erase objects on an overlay </td></tr>
-  <tr><td> extract       </td><td>      extract a portion of a buffer into another buffer </td></tr>
-  <tr><td> file          </td><td>      test file </td></tr>
-  <tr><td> findstars     </td><td>      find objects on image </td></tr>
-  <tr><td> focus         </td><td>      skyprobe focus </td></tr>
-  <tr><td> gauss         </td><td>      get statistics on a star, assuming gaussian profile </td></tr>
-  <tr><td> getchr        </td><td>      find character in string </td></tr>
-  <tr><td> header        </td><td>      print buffer header </td></tr>
-  <tr><td> histogram     </td><td>      histogram of vector </td></tr>
-  <tr><td> imhist        </td><td>      histogram of an image region </td></tr>
-  <tr><td> jpeg          </td><td>      interpolate between vector pairs </td></tr>
-  <tr><td> keyword       </td><td>      extract a FITS keyword from buffer header </td></tr>
-  <tr><td> labels        </td><td>      define labels for plot </td></tr>
-  <tr><td> limits        </td><td>      define plot limits </td></tr>
-  <tr><td> load          </td><td>      load an SAOimage style overlay </td></tr>
-  <tr><td> mcreate       </td><td>      create a matrix </td></tr>
-  <tr><td> plot          </td><td>      plot a pair of vectors </td></tr>
-  <tr><td> ps            </td><td>      make PS file from Kii </td></tr>
-  <tr><td> rd            </td><td>      read an image from a file </td></tr>
-  <tr><td> read          </td><td>      read vectors from datafile </td></tr>
-  <tr><td> rebin         </td><td>      rebin data by factor of N </td></tr>
-  <tr><td> resize        </td><td>      change Kii window size </td></tr>
-  <tr><td> save          </td><td>      save an SAOimage style overlay </td></tr>
-  <tr><td> set           </td><td>      do image arithmetic </td></tr>
-  <tr><td> sort          </td><td>      sort vectors by key </td></tr>
-  <tr><td> sprintf       </td><td>      formatted print to a variable </td></tr>
-  <tr><td> star          </td><td>      star stats at rough coords </td></tr>
-  <tr><td> stats         </td><td>      give statistics on a portion of a buffer </td></tr>
-  <tr><td> strlen        </td><td>      string length </td></tr>
-  <tr><td> style         </td><td>      set the style for graph plots </td></tr>
-  <tr><td> subset        </td><td>      reduce vector dimension </td></tr>
-  <tr><td> substr        </td><td>      substring </td></tr>
-  <tr><td> telescope     </td><td>      telescope communications </td></tr>
-  <tr><td> textline      </td><td>      write text on Kapa window </td></tr>
-  <tr><td> tv            </td><td>      display an image on the Kii window </td></tr>
-  <tr><td> vectors       </td><td>      list vectors </td></tr>
-  <tr><td> vstat         </td><td>      vector statistics </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>
- </table>
Index: unk/Ohana/doc/www/html/Opihi-Programs/Mana/cmd-list.htm
===================================================================
--- /trunk/Ohana/doc/www/html/Opihi-Programs/Mana/cmd-list.htm	(revision 4734)
+++ 	(revision )
@@ -1,108 +1,0 @@
-<meta name=file  content=mana>
- <meta name=title content=mana user's guide>
- <meta name=page  content=mana>
- 
- <table>
- <tr><td> accum            </td><td> accumulate vector values in another vector                 </td></tr> 
- <tr><td> applyfit         </td><td> apply fit coeffs to generate vector                        </td></tr> 
- <tr><td> applyfit2d       </td><td> apply fit coeffs to generate vector                        </td></tr> 
- <tr><td> biassub          </td><td> subtract medianed overscan row or column                   </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> buftovec         </td><td> convert an image buffer to a single vector                 </td></tr> 
- <tr><td> center           </td><td> center the Kii window at coords                            </td></tr> 
- <tr><td> clear            </td><td> erase plot                                                 </td></tr> 
- <tr><td> clip             </td><td> clip values in a buffer to be within a range               </td></tr> 
- <tr><td> cmpload          </td><td> load stars from a cmp file on overlay                      </td></tr> 
- <tr><td> concat           </td><td> expand vector dimension                                    </td></tr> 
- <tr><td> contour          </td><td> send contour to overlay                                    </td></tr> 
- <tr><td> coords           </td><td> load coordinates for buffer from file                      </td></tr> 
- <tr><td> create           </td><td> create a new vector                                        </td></tr> 
- <tr><td> cursor           </td><td> get coordinates from the Kii window                        </td></tr> 
- <tr><td> cut              </td><td> extract a cut across an image                              </td></tr> 
- <tr><td> cval             </td><td> small median image                                         </td></tr> 
- <tr><td> datafile         </td><td> define file to read vectors                                </td></tr> 
- <tr><td> delete           </td><td> delete a buffer                                            </td></tr> 
- <tr><td> demux            </td><td> demux an image pixels interleaved in Nx by Ny sections     </td></tr> 
- <tr><td> device           </td><td> set / get current graphics device </td><td>                </td></tr> 
- <tr><td> dimendown        </td><td> convert matrix to vector                                   </td></tr> 
- <tr><td> dimenup          </td><td> convert vector to matrix                                   </td></tr> 
- <tr><td> drizzle          </td><td> transform image to image                                   </td></tr> 
- <tr><td> erase            </td><td> erase objects on an overlay                                </td></tr> 
- <tr><td> extract          </td><td> extract a portion of a buffer into another buffer          </td></tr> 
- <tr><td> fft1d            </td><td> fft on the pixel-stream in an image                        </td></tr> 
- <tr><td> fft2d            </td><td> fft on an image                                            </td></tr> 
- <tr><td> file             </td><td> test file                                                  </td></tr> 
- <tr><td> fit              </td><td> least-squares fit to vectors                               </td></tr> 
- <tr><td> fit2d            </td><td> least-squares fit to vectors                               </td></tr> 
- <tr><td> flux             </td><td> flux in a convex contour                                   </td></tr> 
- <tr><td> gauss            </td><td> get statistics on a star, assuming gaussian profile        </td></tr> 
- <tr><td> gaussj           </td><td> solve Ax = B (N-D)                                         </td></tr> 
- <tr><td> getchr           </td><td> find character in string                                   </td></tr> 
- <tr><td> grid             </td><td> wait until return is typed                                 </td></tr> 
- <tr><td> header           </td><td> print buffer header                                        </td></tr> 
- <tr><td> histogram        </td><td> histogram of vector                                        </td></tr> 
- <tr><td> imfit            </td><td> fit function                                               </td></tr> 
- <tr><td> imhist           </td><td> histogram of an image region                               </td></tr> 
- <tr><td> integrate        </td><td> integrate a vector                                         </td></tr> 
- <tr><td> interpolate      </td><td> interpolate between vector pairs                           </td></tr> 
- <tr><td> jpeg             </td><td> interpolate between vector pairs                           </td></tr> 
- <tr><td> kern             </td><td> convolve with 3x3 kernel                                   </td></tr> 
- <tr><td> keyword          </td><td> extract a FITS keyword from buffer header                  </td></tr> 
- <tr><td> labels           </td><td> define labels for plot                                     </td></tr> 
- <tr><td> limits           </td><td> define plot limits                                         </td></tr> 
- <tr><td> load             </td><td> load an SAOimage style overlay                             </td></tr> 
- <tr><td> mcreate          </td><td> create a matrix                                            </td></tr> 
- <tr><td> medianmap        </td><td> small median image                                         </td></tr> 
- <tr><td> memory           </td><td> long listing of the allocated memory                       </td></tr> 
- <tr><td> mget             </td><td> extract a vector from a matrix                             </td></tr> 
- <tr><td> minterp          </td><td> interpolate image pixels                                   </td></tr> 
- <tr><td> mkgauss          </td><td> insert a gaussian in an image                              </td></tr> 
- <tr><td> mset             </td><td> insert a vector in a matrix                                </td></tr> 
- <tr><td> multifit         </td><td> solve for overlapping orders in ESI data                   </td></tr> 
- <tr><td> objload          </td><td> load stars from an obj file on overlay                     </td></tr> 
- <tr><td> outline          </td><td> vector statistics                                          </td></tr> 
- <tr><td> peak             </td><td> find vector peak in range                                  </td></tr> 
- <tr><td> plot             </td><td> plot a pair of vectors                                     </td></tr> 
- <tr><td> point            </td><td> load overlay with single point                             </td></tr> 
- <tr><td> profile          </td><td> radial profile at X, Y                                     </td></tr> 
- <tr><td> ps               </td><td> make PS file from Kii                                      </td></tr> 
- <tr><td> rd               </td><td> read an image from a file                                  </td></tr> 
- <tr><td> read             </td><td> read vectors from datafile                                 </td></tr> 
- <tr><td> rebin            </td><td> rebin data by factor of N                                  </td></tr> 
- <tr><td> resize           </td><td> change Kii window size                                     </td></tr> 
- <tr><td> roll             </td><td> roll image to new start point                              </td></tr> 
- <tr><td> rotate           </td><td> rotate image                                               </td></tr> 
- <tr><td> save             </td><td> save an SAOimage style overlay                             </td></tr> 
- <tr><td> scalen           </td><td> get / set real bzero / bscale values                       </td></tr> 
- <tr><td> section          </td><td> define section of graph                                    </td></tr> 
- <tr><td> select           </td><td> selective vector assignment                                </td></tr> 
- <tr><td> set              </td><td> do image arithmetic                                        </td></tr> 
- <tr><td> sexigesimal      </td><td> convert to/from sexigesimal/decimal                        </td></tr> 
- <tr><td> shift            </td><td> shift data in an image                                     </td></tr> 
- <tr><td> simsignal        </td><td> simulate sine-wave with Nbit A/D and given S/N             </td></tr> 
- <tr><td> sort             </td><td> sort vectors by key                                        </td></tr>                        
- <tr><td> spline.apply     </td><td> apply spline fit to generate an image                      </td></tr> 
- <tr><td> spline.construct </td><td> create spline 2nd deriv. terms                             </td></tr> 
- <tr><td> sprintf          </td><td> formatted print to a variable                              </td></tr> 
- <tr><td> star             </td><td> star stats at rough coords                                 </td></tr> 
- <tr><td> stats            </td><td> give statistics on a portion of a buffer                   </td></tr> 
- <tr><td> strlen           </td><td> string length                                              </td></tr> 
- <tr><td> style            </td><td> set the style for graph plots                              </td></tr> 
- <tr><td> subset           </td><td> reduce vector dimension                                    </td></tr> 
- <tr><td> substr           </td><td> substring                                                  </td></tr> 
- <tr><td> svd              </td><td> singular value decomposition of a matrix                   </td></tr> 
- <tr><td> swapbytes        </td><td> byte swap thing                                            </td></tr> 
- <tr><td> textline         </td><td> write text on Kapa window                                  </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> unsign           </td><td> toggle the UNSIGN status                                   </td></tr> 
- <tr><td> vclip            </td><td> clip values in a vector to be within a range               </td></tr> 
- <tr><td> vcontour         </td><td> create contour vectors                                     </td></tr> 
- <tr><td> vectors          </td><td> list vectors                                               </td></tr> 
- <tr><td> vstat            </td><td> vector statistics                                          </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> zplot            </td><td> plot x y with size scaled by z                             </td></tr> 
- </table>
Index: /trunk/Ohana/doc/www/html/Opihi-Programs/Mana/commands.htm
===================================================================
--- /trunk/Ohana/doc/www/html/Opihi-Programs/Mana/commands.htm	(revision 4735)
+++ /trunk/Ohana/doc/www/html/Opihi-Programs/Mana/commands.htm	(revision 4735)
@@ -0,0 +1,108 @@
+<meta name=file  content=mana>
+ <meta name=title content=mana user's guide>
+ <meta name=page  content=mana>
+ 
+ <table>
+ <tr><td> accum            </td><td> accumulate vector values in another vector                 </td></tr> 
+ <tr><td> applyfit         </td><td> apply fit coeffs to generate vector                        </td></tr> 
+ <tr><td> applyfit2d       </td><td> apply fit coeffs to generate vector                        </td></tr> 
+ <tr><td> biassub          </td><td> subtract medianed overscan row or column                   </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> buftovec         </td><td> convert an image buffer to a single vector                 </td></tr> 
+ <tr><td> center           </td><td> center the Kii window at coords                            </td></tr> 
+ <tr><td> clear            </td><td> erase plot                                                 </td></tr> 
+ <tr><td> clip             </td><td> clip values in a buffer to be within a range               </td></tr> 
+ <tr><td> cmpload          </td><td> load stars from a cmp file on overlay                      </td></tr> 
+ <tr><td> concat           </td><td> expand vector dimension                                    </td></tr> 
+ <tr><td> contour          </td><td> send contour to overlay                                    </td></tr> 
+ <tr><td> coords           </td><td> load coordinates for buffer from file                      </td></tr> 
+ <tr><td> create           </td><td> create a new vector                                        </td></tr> 
+ <tr><td> cursor           </td><td> get coordinates from the Kii window                        </td></tr> 
+ <tr><td> cut              </td><td> extract a cut across an image                              </td></tr> 
+ <tr><td> cval             </td><td> small median image                                         </td></tr> 
+ <tr><td> datafile         </td><td> define file to read vectors                                </td></tr> 
+ <tr><td> delete           </td><td> delete a buffer                                            </td></tr> 
+ <tr><td> demux            </td><td> demux an image pixels interleaved in Nx by Ny sections     </td></tr> 
+ <tr><td> device           </td><td> set / get current graphics device </td><td>                </td></tr> 
+ <tr><td> dimendown        </td><td> convert matrix to vector                                   </td></tr> 
+ <tr><td> dimenup          </td><td> convert vector to matrix                                   </td></tr> 
+ <tr><td> drizzle          </td><td> transform image to image                                   </td></tr> 
+ <tr><td> erase            </td><td> erase objects on an overlay                                </td></tr> 
+ <tr><td> extract          </td><td> extract a portion of a buffer into another buffer          </td></tr> 
+ <tr><td> fft1d            </td><td> fft on the pixel-stream in an image                        </td></tr> 
+ <tr><td> fft2d            </td><td> fft on an image                                            </td></tr> 
+ <tr><td> file             </td><td> test file                                                  </td></tr> 
+ <tr><td> fit              </td><td> least-squares fit to vectors                               </td></tr> 
+ <tr><td> fit2d            </td><td> least-squares fit to vectors                               </td></tr> 
+ <tr><td> flux             </td><td> flux in a convex contour                                   </td></tr> 
+ <tr><td> gauss            </td><td> get statistics on a star, assuming gaussian profile        </td></tr> 
+ <tr><td> gaussj           </td><td> solve Ax = B (N-D)                                         </td></tr> 
+ <tr><td> getchr           </td><td> find character in string                                   </td></tr> 
+ <tr><td> grid             </td><td> wait until return is typed                                 </td></tr> 
+ <tr><td> header           </td><td> print buffer header                                        </td></tr> 
+ <tr><td> histogram        </td><td> histogram of vector                                        </td></tr> 
+ <tr><td> imfit            </td><td> fit function                                               </td></tr> 
+ <tr><td> imhist           </td><td> histogram of an image region                               </td></tr> 
+ <tr><td> integrate        </td><td> integrate a vector                                         </td></tr> 
+ <tr><td> interpolate      </td><td> interpolate between vector pairs                           </td></tr> 
+ <tr><td> jpeg             </td><td> interpolate between vector pairs                           </td></tr> 
+ <tr><td> kern             </td><td> convolve with 3x3 kernel                                   </td></tr> 
+ <tr><td> keyword          </td><td> extract a FITS keyword from buffer header                  </td></tr> 
+ <tr><td> labels           </td><td> define labels for plot                                     </td></tr> 
+ <tr><td> limits           </td><td> define plot limits                                         </td></tr> 
+ <tr><td> load             </td><td> load an SAOimage style overlay                             </td></tr> 
+ <tr><td> mcreate          </td><td> create a matrix                                            </td></tr> 
+ <tr><td> medianmap        </td><td> small median image                                         </td></tr> 
+ <tr><td> memory           </td><td> long listing of the allocated memory                       </td></tr> 
+ <tr><td> mget             </td><td> extract a vector from a matrix                             </td></tr> 
+ <tr><td> minterp          </td><td> interpolate image pixels                                   </td></tr> 
+ <tr><td> mkgauss          </td><td> insert a gaussian in an image                              </td></tr> 
+ <tr><td> mset             </td><td> insert a vector in a matrix                                </td></tr> 
+ <tr><td> multifit         </td><td> solve for overlapping orders in ESI data                   </td></tr> 
+ <tr><td> objload          </td><td> load stars from an obj file on overlay                     </td></tr> 
+ <tr><td> outline          </td><td> vector statistics                                          </td></tr> 
+ <tr><td> peak             </td><td> find vector peak in range                                  </td></tr> 
+ <tr><td> plot             </td><td> plot a pair of vectors                                     </td></tr> 
+ <tr><td> point            </td><td> load overlay with single point                             </td></tr> 
+ <tr><td> profile          </td><td> radial profile at X, Y                                     </td></tr> 
+ <tr><td> ps               </td><td> make PS file from Kii                                      </td></tr> 
+ <tr><td> rd               </td><td> read an image from a file                                  </td></tr> 
+ <tr><td> read             </td><td> read vectors from datafile                                 </td></tr> 
+ <tr><td> rebin            </td><td> rebin data by factor of N                                  </td></tr> 
+ <tr><td> resize           </td><td> change Kii window size                                     </td></tr> 
+ <tr><td> roll             </td><td> roll image to new start point                              </td></tr> 
+ <tr><td> rotate           </td><td> rotate image                                               </td></tr> 
+ <tr><td> save             </td><td> save an SAOimage style overlay                             </td></tr> 
+ <tr><td> scalen           </td><td> get / set real bzero / bscale values                       </td></tr> 
+ <tr><td> section          </td><td> define section of graph                                    </td></tr> 
+ <tr><td> select           </td><td> selective vector assignment                                </td></tr> 
+ <tr><td> set              </td><td> do image arithmetic                                        </td></tr> 
+ <tr><td> sexigesimal      </td><td> convert to/from sexigesimal/decimal                        </td></tr> 
+ <tr><td> shift            </td><td> shift data in an image                                     </td></tr> 
+ <tr><td> simsignal        </td><td> simulate sine-wave with Nbit A/D and given S/N             </td></tr> 
+ <tr><td> sort             </td><td> sort vectors by key                                        </td></tr>                        
+ <tr><td> spline.apply     </td><td> apply spline fit to generate an image                      </td></tr> 
+ <tr><td> spline.construct </td><td> create spline 2nd deriv. terms                             </td></tr> 
+ <tr><td> sprintf          </td><td> formatted print to a variable                              </td></tr> 
+ <tr><td> star             </td><td> star stats at rough coords                                 </td></tr> 
+ <tr><td> stats            </td><td> give statistics on a portion of a buffer                   </td></tr> 
+ <tr><td> strlen           </td><td> string length                                              </td></tr> 
+ <tr><td> style            </td><td> set the style for graph plots                              </td></tr> 
+ <tr><td> subset           </td><td> reduce vector dimension                                    </td></tr> 
+ <tr><td> substr           </td><td> substring                                                  </td></tr> 
+ <tr><td> svd              </td><td> singular value decomposition of a matrix                   </td></tr> 
+ <tr><td> swapbytes        </td><td> byte swap thing                                            </td></tr> 
+ <tr><td> textline         </td><td> write text on Kapa window                                  </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> unsign           </td><td> toggle the UNSIGN status                                   </td></tr> 
+ <tr><td> vclip            </td><td> clip values in a vector to be within a range               </td></tr> 
+ <tr><td> vcontour         </td><td> create contour vectors                                     </td></tr> 
+ <tr><td> vectors          </td><td> list vectors                                               </td></tr> 
+ <tr><td> vstat            </td><td> vector statistics                                          </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> zplot            </td><td> plot x y with size scaled by z                             </td></tr> 
+ </table>
Index: /trunk/Ohana/doc/www/html/Opihi-Programs/Mana/index.htm
===================================================================
--- /trunk/Ohana/doc/www/html/Opihi-Programs/Mana/index.htm	(revision 4735)
+++ /trunk/Ohana/doc/www/html/Opihi-Programs/Mana/index.htm	(revision 4735)
@@ -0,0 +1,48 @@
+<meta name=file  content=Mana>
+<meta name=title content=Mana user's guide>
+<meta name=page  content=Mana>
+
+<h3> Introduction </h3>
+
+Mana is a basic image and data analysis program based on the Opihi
+shell.  See the Opihi documentation for further descriptions of the
+tools provided by the Opihi shell.  In addition to these functions,
+Mana provides a collection of astronomical functions.
+
+<h3> Mana astronomy functions</h3>
+
+<pre>
+  findpeaks              -- find image peaks
+  fitcontour             -- fit ellipse contour
+  starcontour            -- object contour
+  rawstars               -- find raw star stats
+  biassub                -- subtract medianed overscan row or column
+  cgrid                  -- plot sky coordinate grid
+  coords                 -- load coordinates for buffer from file
+  cplot                  -- plot vectors in sky coordinates
+  csystem                -- convert between coordinate systems
+  ctimes                 -- convert between time formats
+  cval                   -- cosmic ray flux?
+  czplot                 -- plot scaled vectors in sky coordinates
+  drizzle                -- transform image to image
+  flux                   -- flux in a convex contour
+  gauss                  -- get statistics on a star, assuming gaussian profile
+  getvel                 -- rotcurve to velocities
+  imfit                  -- fit function
+  imsub                  -- subtract function
+  medianmap              -- small median image
+  mkgauss                -- generate a 2-D gaussian centered in image
+  multifit               -- fit multi-order spectrum
+  objload                -- plot obj data on Ximage 
+  outline                -- fit outline region
+  polar                  -- convert polar image to cartesian
+  precess                -- precess coordinates
+  profile                -- radial profile at X, Y
+  region                 -- define sky region for plot
+  rotcurve               -- convert CO images to polar coords
+  scale                  -- get / set real bzero / bscale values
+  sexigesimal            -- convert to/from sexigesimal/decimal
+  spec                   -- extract a spectrum
+  star                   -- star stats at rough coords
+  transform              -- geometric transformation of image
+</pre>
Index: /trunk/Ohana/doc/www/html/Opihi-Programs/index.htm
===================================================================
--- /trunk/Ohana/doc/www/html/Opihi-Programs/index.htm	(revision 4734)
+++ /trunk/Ohana/doc/www/html/Opihi-Programs/index.htm	(revision 4735)
@@ -28,5 +28,5 @@
 <p>
 The command-line interaction is based on the readline libraries and
-behaves like #tcsh/#.  Arrows can be used for editing.  There is both
+behaves like <tt>tcsh</tt>.  Arrows can be used for editing.  There is both
 command and file completion with the TAB key.  You can also use
 emacs-like commands such as ctrl-a to reach the beginning of the line
@@ -59,11 +59,12 @@
 consist of the standard math operators (+,-,*,/) as well as any
 already-defined variables and the functions log(), ln(), sqrt(),
-exp(), ten() ($10^x$), sin(), cos(), etc.  Other special operators are
-the carret (^) for exponetiation (eg, 2^3 is 8) and the @ symbol as a
-binary arc-tangent (eg, 1@3 is 18.43 degrees).  In addition, the
-operator #<</# returns the minimum of the two surrounding values, and
-#>>/# returns the maximum.  Variables can be numeric or character
-strings.  If the shell does not understand the syntax of the line as a
-math expression, it is assumed to be a string.
+exp(), ten() (10<sup>x</sup>), sin(), cos(), etc.  Other special
+operators are the carret (^) for exponetiation (eg, 2^3 is 8) and the
+@ symbol as a binary arc-tangent (eg, 1@3 is 18.43 degrees).  In
+addition, the operator <tt><<</tt> returns the minimum of the two
+surrounding values, and <tt>>></tt> returns the maximum.  Variables
+can be numeric or character strings.  If the shell does not understand
+the syntax of the line as a math expression, it is assumed to be a
+string.
 
 <em>local variables</em>
@@ -82,8 +83,8 @@
 
 would give the response 7.07107 if $fred had the value of 10.0.  There
-are math functions #cos/#, #sin/#, and #tan/#, which operate on radian
-expressions, and also #dcos/#, #dsin/#, #dtan/#, which operate on
+are math functions <tt>cos</tt>, <tt>sin</tt>, and <tt>tan</tt>, which operate on radian
+expressions, and also <tt>dcos</tt>, <tt>dsin</tt>, <tt>dtan</tt>, which operate on
 degree expressions.  There are also the equivalent inverse functions:
-eg., #asin/# and #dasin/# return radians and degrees, respectively.
+eg., <tt>asin</tt> and <tt>dasin</tt> return radians and degrees, respectively.
 The help section on Math defines all of the available math functions.
 
@@ -130,4 +131,13 @@
 
 <h4> queues </h4>
+
+<pre>
+queuelist                 -- list existing queues
+queuesize                 -- return the length of the given queue
+queueinit                 -- create a zero-length queues
+queuedelete               -- delete a queues
+queuepush                 -- add an item to the end of the queue
+queuepop                  -- remove and return the first item in the queue
+</pre>
 
 A queue is a data construct consisting of a sequence of lines from
@@ -267,41 +277,115 @@
 exit                      -- exit program 
 help                      -- get help on a function 
+config                    -- reload configuration information
+exit                      -- exit program 
+quit                      -- exit program 
+wait                      -- wait until return is typed
+sleep                     -- sleep for N seconds
+usleep                    -- sleep for N microseconds
+which                     -- show command 
+cd                        -- change current working directory
+pwd                       -- report current working directory
+date                      -- return the current date
+file                      -- test file existence
+memory                    -- long listing of the allocated memory
+version                   -- list version information
+</pre>
+
+Most of these commands should be clear from the simple descriptions
+above, or from the online help.  The command ?? prints the system
+variables.  The <tt>help</tt> command will provide help on a single
+command or, without any arguments, will list all available help files
+(this includes general help not associated with a specific command).
+
+<h3> String Manipulation and other data commands </h3>
+
+<pre>
+local                     -- define local variables
 output                    -- redirect output to file
-quit                      -- exit program 
 scan                      -- scan line from keyboard or file to variable 
-wait                      -- wait until return is typed
-which                     -- show command 
-</pre>
-
-Most of these are self-explanatory.  The command ?? prints the system
-variables.  The <tt>help</tt> command will provide help on a single
-command or, without any arguments, will list all available help
-files (this includes general help not associated with a specific
-command).  
-
-<em>output</em>
-
-<em>scan</em>
-
-<h3> 1D Data and the Graphing Window </h3>
-
-<h3> Vector Plotting </h3>
+sprintf                   -- formatted print to a variable
+fprintf                   -- formatted print to standard output
+getchr                    -- find character in string
+strlen                    -- string length
+substr                    -- substring
+</pre>
+
+These commands provide a few tools to manipulate data in opihi
+variables.  The #local/# command specifies that the given variable is
+local to its macro.  The #output/# command changes the default output
+destination for functions which print results to the screen.  This
+function does not zero the file length; new output is appended to the
+file.  The command #scan/# reads specific lines from a file, an
+optionally places them in an opihi variable (EOF is returned at the
+end of a file).  The group of commands #getchr/#, #strlen/#, and
+#substr/# provide the ability to manipulate the elements of a string.
+Finally, #sprintf/# and #fprintf/# perform formatted output to a
+variable and to the screen, respectively.  
+
+<h3> Vectors</h3>
+
+<h4>Vector Manipulation Functions</h4>
+
+<pre>
+create                    -- create a new vector
+hist                      -- create histogram from a vector
+print                     -- write vectors to file
+vectors                   -- list vectors
+accum                     -- accumulate vector values in another vector
+applyfit                  -- apply fit to new vector
+applyfit2d                -- apply 2-d fit to new vector
+circstats                 -- circular statistics
+concat                    -- reduce vector dimension
+datafile                  -- define file to read vectors
+delete                    -- delete vectors or matrices
+fft1d                     -- fft on the pixel-stream in an image
+fit                       -- fit polynomial to vector pair
+gaussdev                  -- generate a gaussian deviate vector
+gaussint                  -- return the integrated gaussian vector
+histogram                 -- generate histogram from vector
+integrate                 -- integrate a vector
+interpolate               -- interpolate between vector pairs
+vectors                   -- list vectors
+medacc                    -- accumulate vector values in another vector
+peak                      -- find vector peak in range
+read                      -- read vectors from datafile
+set                       -- image and vector math
+sort                      -- sort list of vectors
+subset                    -- expand vector dimension
+uniq                      -- create a uniq vector subset from a vector
+vbin                      -- bin values in a vector to be within a range
+vclip                     -- clip values in a vector to be within a range
+select                    -- selective vector assignment
+vgauss         
+vgrid          
+vload                     -- load vectors on Kii
+vstat                     -- get info from imreg database
+vsmooth                   -- gaussian smooth of a vector
+vroll                     -- roll vector elements
+vpop                      -- remove first element
+write                     -- write vectors to datafile
+</pre>
+
+<h4>The Graphing Window (Kapa)</h4>
 
 <pre>
 box                       -- draw a box on the plot
 clear                     -- erase plot
-create                    -- create a new vector
 cursor                    -- get coords from cursor
 grid                      -- plot cartesian grid
-hist                      -- create histogram from a vector
 labels                    -- define labels for plot
 limits                    -- define plot limits
 plot                      -- plot a pair of vectors
-print                     -- write vectors to file
 ps                        -- define labels for plot
-set                       -- vector math
 style                     -- set the style for graph plots
-vectors                   -- list vectors
 zplot                     -- plot scaled points 
+device                    -- set / get current graphics device
+jpeg                      -- write text line on graph
+line                      -- plot line
+dot                       -- plot a single point
+resize                    -- set graphics/image window size
+section                   -- define section of graph
+textline                  -- write text line on graph
+zplot                     -- plot x y with size scaled by z
 </pre>
 
@@ -314,17 +398,13 @@
 
 <p>
-In addition to scalar variables, <tt>status</tt> can manipulate and
-display 1-D vector variables.  Many of the commands which extract data
-from the photometry database place the data in vectors as well as
-plotting them.  A vector can also be created based on a number
-sequence with the command <tt>create name Nelements start delta</tt>.
-The resulting vector has $Nelements$ entries, starting at a value of
-$start$ and running until $start + delta*Nelements$.  If $delta$ is
-0.0, all elements will have the value of $start$.  A histogram of a vector
-may be made with the command <tt>hist</tt>, which creates a new vector
-containing the histogram of the first vector.  The data range and bin
-size of the histogram are defined in same way as with create.  This
-makes it easy to create the index vector that goes with a histogram
-vector:  
+A vector can be created based on a number sequence with the command
+<tt>create name Nelements start delta</tt>.  The resulting vector has
+#Nelements/# entries, starting at a value of #start/# and running
+until #start + delta*Nelements/#.  If #delta/# is 0.0, all elements
+will have the value of #start/#.  A histogram of a vector may be made
+with the command <tt>hist</tt>, which creates a new vector containing
+the histogram of the first vector.  The data range and bin size of the
+histogram are defined in same way as with create.  This makes it easy
+to create the index vector that goes with a histogram vector:
 
 <pre>
@@ -411,6 +491,73 @@
 green, blue, and yellow overlays.
 
-<h3> programming considerations </h3>
+<h4>Image Manipulation Functions</h4>
+
+<pre>
+clip                      -- clip values in a buffer to be within a range
+contour                   -- create contour from image
+cut                       -- extract a cut across an image
+extract                   -- extract a portion of a buffer into another buffer
+fft2d                     -- fft on an image
+fit2d                     -- fit 2-d polynomial to vector triplet
+header                    -- print buffer header
+imcut                     -- linear image cut between arbitrary coords
+imhist                    -- histogram of an image region
+imsmooth                  -- circular gaussian smoothing
+kern                      -- convolve with 3x3 kernel
+keyword                   -- extract a FITS keyword from buffer header
+buffers                   -- list the currently allocated buffers
+mcreate                   -- create a matrix
+minterp                   -- interpolate image pixels
+rd                        -- load fits image
+rdseg                     -- read a segment of an image from a file
+rebin                     -- rebin data by factor of N
+roll                      -- roll image to new start point
+rotate                    -- rotate image
+set                       -- image and vector math
+shift                     -- shift data in an image
+spline.apply              -- apply spline fit to generate an image
+spline.const              -- create spline 2nd deriv. terms
+stats                     -- give statistics on a portion of a buffer
+subraster                 -- subraster of fits image
+unsign                    -- toggle the UNSIGN status
+wd                        -- write an image to a file
+zap                       -- delete pixels
+</pre>
+
+<h4>The Image Display Window (Kii)</h4>
+
+<pre>
+ps                        -- define labels for plot
+center                    -- center image on coords
+device                    -- set / get current graphics device
+erase                     -- erase objects on an overlay
+jpeg                      -- write text line on graph
+load                      -- load an SAOimage style overlay
+point                     -- load overlay with single point
+save                      -- save an SAOimage style overlay
+resize                    -- set graphics/image window size
+tv                        -- display an image on the Kii window
+tvcontour                 -- send contour to overlay
+tvgrid                    -- wait until return is typed
+</pre>
+
+
+<h4>Other data functions</h4>
+
+<pre>
+gaussj                    -- solve Ax = B (N-D)
+gridify                   -- convert vector triplet to buffer
+ungridify                 -- convert buffer region to vector triplet
+dimendown                 -- convert matrix to vector
+dimenup                   -- convert vector to matrix
+mget                      -- extract a vector from a matrix
+mset                      -- insert a vector in a matrix
+svd                       -- singular value decomposition of a matrix
+swapbytes                 -- byte swap thing
+</pre>
+
+
+
+<h3> Programming Considerations </h3>
 The programming structure of the Opihi front-end
-makes it very easy to add commands to the package; more about this
-later.
+makes it very easy to add commands to the package.
