aboutsummaryrefslogtreecommitdiff
path: root/noao/lib/scr
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /noao/lib/scr
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'noao/lib/scr')
-rw-r--r--noao/lib/scr/README5
-rw-r--r--noao/lib/scr/cosmicrays.key41
-rw-r--r--noao/lib/scr/deblend.key9
-rw-r--r--noao/lib/scr/fftmode.key37
-rw-r--r--noao/lib/scr/flatfit.key13
-rw-r--r--noao/lib/scr/fxcor.key99
-rw-r--r--noao/lib/scr/hdicgfit.key67
-rw-r--r--noao/lib/scr/icgfit.html83
-rw-r--r--noao/lib/scr/icgfit.key68
-rw-r--r--noao/lib/scr/idicgfit.key69
-rw-r--r--noao/lib/scr/igsfit.key29
-rw-r--r--noao/lib/scr/ilsetbins.key13
-rw-r--r--noao/lib/scr/pdm.key42
-rw-r--r--noao/lib/scr/sensfunc.key72
-rw-r--r--noao/lib/scr/setlimits.key21
-rw-r--r--noao/lib/scr/specmode.key34
-rw-r--r--noao/lib/scr/splot.key28
17 files changed, 730 insertions, 0 deletions
diff --git a/noao/lib/scr/README b/noao/lib/scr/README
new file mode 100644
index 00000000..4890e02a
--- /dev/null
+++ b/noao/lib/scr/README
@@ -0,0 +1,5 @@
+SCR -- Runtime files used to draw or display text or graphics on a terminal
+ screen.
+
+igsfit.key -- Interactive general surface fitting package used in
+ twodspec.longslit.fitcoords
diff --git a/noao/lib/scr/cosmicrays.key b/noao/lib/scr/cosmicrays.key
new file mode 100644
index 00000000..e5fd1dd0
--- /dev/null
+++ b/noao/lib/scr/cosmicrays.key
@@ -0,0 +1,41 @@
+ COSMIC RAY DETECTION AND REPLACEMENT
+
+
+INTERACTIVE IMAGE CURSOR COMMANDS
+
+When using the image display cursor to define a list of training objects
+the following keystrokes may be given.
+
+? Help
+c Identify the object as a cosmic ray
+s Identify the object as a star
+g Switch to the graphics plot
+q Quit and continue with the cleaning
+
+There are no colon commands.
+
+
+INTERACTIVE GRAPHICS CURSOR COMMANDS
+
+ The graph shows the ratio of the mean background subtracted flux within the
+detection window (excluding the candidate cosmic ray and the second brightest
+pixel) to the flux of the candidate cosmic ray pixel as a function of the
+mean flux. Both coordinates have been multiplied by 100 so the ratio is in
+precent. The peaks of extended objects have high flux ratios while true
+cosmic rays have low ratios. The main purpose of this step is to set the
+flux ratio threshold for discriminating stars and galaxies. The cursor
+keys are:
+
+? Help
+a Toggle between showing all objects and only the training objects
+d Mark candidate for replacement (applys to '+' points)
+q Quit. Returns to training or to replace the selected pixels
+r Redraw the graph
+s Make a surface plot for the candidate nearest the cursor
+t Set the flux ratio threshold at the y cursor position
+u Mark candidate to not be replaced (applys to 'x' points)
+w Adjust the graph window (see GTOOLS)
+<space> Print the pixel coordinates for a candidate
+
+There are no colon commands except those for the windowing options (type
+:\help or see GTOOLS).
diff --git a/noao/lib/scr/deblend.key b/noao/lib/scr/deblend.key
new file mode 100644
index 00000000..246821dc
--- /dev/null
+++ b/noao/lib/scr/deblend.key
@@ -0,0 +1,9 @@
+ SPLOT DEBLENDING OPTIONS
+
+a=0p1s Fit intensities and one sigma with positions fixed
+b=1p1s Fit intensities, one position, and one sigma with separations fixed
+c=np1s Fit intensities, positions, and one sigma
+d=0pns Fit intensities and sigmas with positions fixed
+e=1pns Fit intensities, one position, and sigmas with separations fixed
+f=npns Fit intensities, positions, and sigmas
+I Interrupt task immediately
diff --git a/noao/lib/scr/fftmode.key b/noao/lib/scr/fftmode.key
new file mode 100644
index 00000000..28f12068
--- /dev/null
+++ b/noao/lib/scr/fftmode.key
@@ -0,0 +1,37 @@
+
+ FOURIER MODE COMMAND SUMMARY
+
+ ? Help b PS before filter f FFT after filter
+ g FFT before filter i Period trend I Interrupt
+ o Obj B4/after filter p PS after filter q Quit
+ r Redraw s Spectrum mode t Temp B4/after filter
+ x Correlation mode
+
+ :plot What type of plot to draw :overlay Overlay filt function?
+ :split_plot Make a split-plot? :one_image What plot on screen
+ :when Plot before/after filter? :log_scale Plot on a Log scale?
+ :zoom FFT zoom parameter
+
+
+ ? Print list of cursor key and colon commands
+ b Display power spectra before filtering
+ f Display Fourier transforms after filtering
+ g Display Fourier transforms before filtering
+ i Print period trend information
+ I Interrupt
+ o Display object spectrum before and after filtering
+ p Display power spectra after filtering
+ q Quit
+ r Redraw
+ s Enter spectrum mode
+ t Display template spectrum before and after filtering
+ x Return to correlation mode
+
+ :plot [obj|ref] What type of plot to draw
+ :overlay [yes|no] Overlay filter function?
+ :split_plot [yes|no] Make a split-plot?
+ :one_image [obj|ref] What to put in single screen
+ :when [before|after] Plot before or after filtering?
+ :log_scale [yes|no] Plot on a Log scale?
+ :zoom [factor] FFT zoom parameter
+
diff --git a/noao/lib/scr/flatfit.key b/noao/lib/scr/flatfit.key
new file mode 100644
index 00000000..2c3048dd
--- /dev/null
+++ b/noao/lib/scr/flatfit.key
@@ -0,0 +1,13 @@
+ ? - Screen help
+ / - Status line help
+ e - Plot in residual error mode
+ f - Plot in fit to the data mode
+ o - Change order of fit
+ l - Change lower rejection sigma
+ u - Change upper rejection sigma
+ r - Reset fit to include rejected pixels
+ s - Change upper and lower sigmas to same value
+ i - Iterate again
+ n - Iterate N times
+ q - Quit and accept current solution
+ I - Interrupt task immediately
diff --git a/noao/lib/scr/fxcor.key b/noao/lib/scr/fxcor.key
new file mode 100644
index 00000000..51f50326
--- /dev/null
+++ b/noao/lib/scr/fxcor.key
@@ -0,0 +1,99 @@
+ RV Fourier Cross Correlation Task Commands
+
+ ? Help - Subtract blend + Toggle status line
+ a Antisymmetric plot b Fix the background c Cursor read
+ d Deblend e Summary plot f Fourier mode
+ g Mark limits of fit I Interrupt j Plot residuals
+ l Page results m Mark ccf points n Next
+ o Fit obj continuum p Previous q Quit
+ r Redraw s Spectrum mode t Fit temp continuum
+ v Verbose output w Write x Do correlation
+ y Set fit lower limit z Zoom on CCF
+
+ :apertures :apnum :apodize :autowrite :autodraw
+ :background :ccftype :comment :continuum :correction
+ :deltav :disp :filter :function :height
+ :imupdate :maxwidth :minwidth :nbang :next
+ :objects :output :osample :pbang :peak
+ :pixcorr :previous :printz :rebin :results
+ :rsample :sample :show :templates :tempvel
+ :tnum :unlearn :update :version :verbose
+ :wccf :weights :width :wincenter :window
+ :ymin :ymax
+
+
+ ? Print list of cursor key and colon commands
+ - Subtract blended component from correlation peak
+ + Toggle status line output
+ a Display the antisymmetric noise component of the correlation
+ b Fix the background level for the Gaussian fit
+ c Read the cursor in velocity and lag units
+ d Deblend multiple correlation peak
+ e Preview the summary plot of the correlation
+ f Fourier filtering and FFT display mode
+ g Mark correlation peak lag limits and fit
+ I Interrupt
+ j Plot the residuals of the fit to the peak
+ l Page the current logfile of results
+ m Plot polymarkers of actual CCF points on the plot
+ n Go to next (template --> aperture --> object)
+ o Fit or refit object spectrum continuum for subtraction
+ p Go to previous (template --> aperture --> object)
+ q Quit task
+ r Redraw
+ s Examine object/template spectra and display mode
+ t Fit or refit template spectrum continuum for subtraction
+ v Print full correlation results in text window
+ w Write current correlation results to the log file
+ x Compute correlation
+ y Mark correlation peak lower limit and fit
+ z Expand on different correlation peak using full correlation plot
+
+ :apertures [range] Set/Show list of apertures to process
+ :apnum [aperture] Set/Show specific aperture to process
+ :apodize [fraction] Set/Show fraction of endpts to apodize
+ :autowrite [y|n] Set/Show autowrite param
+ :autodraw [y|n] Set/Show autodraw param
+ :background [background|INDEF] Set/Show background fitting level
+ :ccftype [image|text] Set/Show type of CCF output
+ :comment [string] Add a comment to the output logs
+ :continuum [both|obj|temp|none] Set/Show which spectra to normalize
+ :correction shift Convert a pixel shift to a velocity
+ :deltav Print the velocity per pixel dispersion
+ :disp Print rebinned dispersion info
+ :filter [both|obj|temp|none] Set/Show which spectra to filter
+ :function [gaussian|lorentzian| Set/Show CCF peak fitting function
+ center1d|parabola]
+ :height [height] Set/SHow CCF peak fit height
+ :imupdate [y|n] Set/Show image update flag
+ :maxwidth [width] Set/Show min fitting width
+ :minwidth [width] Set/Show max fitting width
+ :nbang :Next command without a write
+ :next [temp|aperture|object] Go to next correlation pair
+ :objects [list] Set/Show object list
+ :output [fname] Set/Show output logfile
+ :osample [range] Set/Show object regions to correlate
+ :pbang :Previous command without a write
+ :peak [y|n] Set/Show peak height flag
+ :pixcorr [y|n] Set/Show pixel correlation flag
+ :previous [temp|aperture|object] Go to previous correlation pair
+ :printz [y|n] Toggle output of Z values vs. velocity
+ :rebin [small|large|obj|temp] Set/Show the rebin parameter
+ :results [file] Page results
+ :rsample [range] Set/Show template regions to correlate
+ :show [filt|contin|keyw] List current parameters
+ :templates [list] Set/Show template list
+ :tempvel [velocity] Set/Show template velocity
+ :tnum [temp_code] Move to a specific template in the list
+ :unlearn [filt|contin|keyw] Unlearn task parameters
+ :update [filt|contin|keyw] Update task parameters
+ :version Show task version number
+ :verbose [y|n] Set/Show verbose output flag
+ :wccf Write out the CCF to an image|file
+ :weights [weight] Set/Show fitting weights
+ :width [width] Set/Show fitting width about peak
+ :wincenter [center] Set/Show peak window center
+ :window [size] Set/Show size of window
+ :ymin [correlation height] Set/Show lower ccf plot scaling
+ :ymax [correlation height] Set/Show upper ccf plot scaling
+
diff --git a/noao/lib/scr/hdicgfit.key b/noao/lib/scr/hdicgfit.key
new file mode 100644
index 00000000..a635ff82
--- /dev/null
+++ b/noao/lib/scr/hdicgfit.key
@@ -0,0 +1,67 @@
+1. DTOI INTERACTIVE CURVE FITTING OPTIONS
+
+? Print options
+a Add point at the cursor position to sample (from HD curve only)
+c Print the coordinates and fit of point nearest the cursor
+d Delete data point nearest the cursor
+f Fit the data and redraw or overplot
+g Redefine graph keys. Any of the following data types may be along
+ either axis.
+ x Independent variable y Dependent variable
+ f Fitted value r Residual (y - f)
+ d Ratio (y / f) n Nonlinear part of y
+ u Density above fog
+o Overplot the next graph
+q Exit the interactive curve fitting. Carriage return will also exit.
+r Redraw graph
+u Undelete the deleted point nearest the cursor
+w Set the graph window. For help type 'w' followed by '?'.
+x Change the x value of the point nearest the cursor
+y Change the y value of the point nearest the cursor
+z Change the weight of the point nearest the cursor
+
+
+2. DTOI INTERACTIVE CURVE FITTING COLON COMMANDS
+
+The parameters are listed or set with the following commands which may be
+abbreviated. To list the value of a parameter type the command alone.
+
+:show [file] Show the values of all the parameters
+:vshow [file] Show the values of all the parameters verbosely
+:errors [file] Print the errors of the fit (default STDOUT)
+:reset Return to original conditions (x, y, wts and npts)
+:ebars [errors/weights] Error bars can indicate either errors or weights
+:function [value] Fitting function (power, cheby, legen, spline3, spline1)
+:transform [value] Set the transform type (none, logo, k50, k75)
+:fog [value] Change the fog level (or ":fog reset")
+:order [value] Fitting function order
+:quit Terminate HDFIT without updating database
+
+Additional commands are available for setting graph formats and manipulating
+the graphics. Use the following commands for help.
+
+:/help Print help for graph formatting option
+:.help Print help for cursor mode
+
+
+3. DTOI INTERACTIVE CURVE FITTING GRAPH KEYS
+
+The graph keys h, i, j, k, and l indicate the following types of graphs:
+h h = (x,y) transformed density vs. log exposure
+i i = (y,x) log exposrue vs. transformed density
+j j = (x,r) transformed density vs. residuals
+k k = (x,d) transformed density vs. the y(data)/y(fit) ratio
+l l = (y,u) log exposure vs. density above fog (HD Curve)
+
+The graph keys may be redefined to put any combination of axes type along
+either graph axis with the 'g' key. To define a graph key, select the desired
+key to redefine and then specify the axes types for the horizontal and vertical
+axes by a pair of comma separated types from the following:
+
+d Ratio (y / f)
+f Fitted values
+r Residuals of fit (y - f)
+n Nonlinear part of data (linear component of fit subtracted)
+x Indepedent variable
+y Dependent variable (data being fit)
+u User - which for the DTOI package is density above fog
diff --git a/noao/lib/scr/icgfit.html b/noao/lib/scr/icgfit.html
new file mode 100644
index 00000000..1aa77e8c
--- /dev/null
+++ b/noao/lib/scr/icgfit.html
@@ -0,0 +1,83 @@
+<HTML>
+<HEAD>
+<TITLE>
+INTERACTIVE CURVE FITTING CURSOR OPTIONS
+</TITLE>
+</HEAD>
+<BODY>
+<H3>1. INTERACTIVE CURVE FITTING CURSOR OPTIONS</H3>
+
+<PRE>
+? Print options
+a Add point to constrain fit
+c Print the coordinates and fit of point nearest the cursor
+d Delete data point nearest the cursor
+f Fit the data and redraw or overplot
+g Redefine graph keys. Any of the following data types may be along
+ either axis.
+ x Independent variable y Dependent variable
+ f Fitted value r Residual (y - f)
+ d Ratio (y / f) n Nonlinear part of y
+h-l Graph keys. Defaults are h=(x,y), i=(y,x), j=(x,r), k=(x,d), l=(x,n)
+o Overplot the next graph
+q Exit the interactive curve fitting. Carriage return will also exit.
+r Redraw graph
+s Set sample range with the cursor
+t Initialize the sample range to all points
+v Change the weight of the point nearest the cursor
+u Undelete the deleted point nearest the cursor
+w Set the graph window. For help type 'w' followed by '?'.
+x Change the x value of the point nearest the cursor
+y Change the y value of the point nearest the cursor
+z Delete sample region nearest cursor
+I Interrupt task immediately
+</PRE>
+
+<H3>2. INTERACTIVE CURVE FITTING COLON COMMANDS</H3>
+
+The parameters are listed or set with the following commands which may be
+abbreviated. To list the value of a parameter type the command alone.
+
+<PRE>
+:show [file] Show the values of all the parameters
+:vshow [file] Show the values of all the parameters verbosely
+:xyshow [file] Show the x, y, y fit, and weight data values
+:evaluate <value> Print the fit at the specified value
+:errors [file] Print the errors of the fit (default STDOUT)
+:function [value] Fitting function (chebyshev, legendre, spline3, spline1)
+:grow [value] Rejection growing radius
+:naverage [value] Sample averaging or medianing window
+:order [value] Fitting function order
+:low_reject [value] Low rejection threshold
+:high_reject [value] High rejection threshold
+:niterate [value] Number of rejection iterations
+:sample [value] Sample ranges
+:markrej [value] Mark rejected points?
+</PRE>
+
+Additional commands are available for setting graph formats and manipulating
+the graphics. Use the following commands for help.
+
+<PRE>
+:/help Print help for graph formatting option
+:.help Print help for general graphics options
+</PRE>
+
+<H3>3. INTERACTIVE CURVE FITTING GRAPH KEYS</H3>
+
+The graph keys are h, i, j, k, and l. The graph keys may be redefined to
+put any combination of axes types along either graph axis with the 'g' key.
+To define a graph key select the desired key to redefine and then specify
+the axes types for the horizontal and vertical axes by a pair of comma
+separated types from the following:
+
+<PRE>
+d Ratio (y / f)
+f Fitted values
+r Residuals of fit (y - f)
+n Nonlinear part of data (linear component of fit subtracted)
+x Indepedent variable
+y Dependent variable (data being fit)
+</PRE>
+</BODY>
+</HTML>
diff --git a/noao/lib/scr/icgfit.key b/noao/lib/scr/icgfit.key
new file mode 100644
index 00000000..dfa8a475
--- /dev/null
+++ b/noao/lib/scr/icgfit.key
@@ -0,0 +1,68 @@
+1. INTERACTIVE CURVE FITTING CURSOR OPTIONS
+
+? Print options
+a Add point to constrain fit
+c Print the coordinates and fit of point nearest the cursor
+d Delete data point nearest the cursor
+f Fit the data and redraw or overplot
+g Redefine graph keys. Any of the following data types may be along
+ either axis.
+ x Independent variable y Dependent variable
+ f Fitted value r Residual (y - f)
+ d Ratio (y / f) n Nonlinear part of y
+h-l Graph keys. Defaults are h=(x,y), i=(y,x), j=(x,r), k=(x,d), l=(x,n)
+o Overplot the next graph
+q Exit the interactive curve fitting. Carriage return will also exit.
+r Redraw graph
+s Set sample range with the cursor
+t Initialize the sample range to all points
+v Change the weight of the point nearest the cursor
+u Undelete the deleted point nearest the cursor
+w Set the graph window. For help type 'w' followed by '?'.
+x Change the x value of the point nearest the cursor
+y Change the y value of the point nearest the cursor
+z Delete sample region nearest cursor
+I Interrupt task immediately
+
+
+2. INTERACTIVE CURVE FITTING COLON COMMANDS
+
+The parameters are listed or set with the following commands which may be
+abbreviated. To list the value of a parameter type the command alone.
+
+:show [file] Show the values of all the parameters
+:vshow [file] Show the values of all the parameters verbosely
+:xyshow [file] Show the x, y, y fit, and weight data values
+:evaluate <value> Print the fit at the specified value
+:errors [file] Print the errors of the fit (default STDOUT)
+:function [value] Fitting function (chebyshev, legendre, spline3, spline1)
+:grow [value] Rejection growing radius
+:naverage [value] Sample averaging or medianing window
+:order [value] Fitting function order
+:low_reject [value] Low rejection threshold
+:high_reject [value] High rejection threshold
+:niterate [value] Number of rejection iterations
+:sample [value] Sample ranges
+:markrej [value] Mark rejected points?
+
+Additional commands are available for setting graph formats and manipulating
+the graphics. Use the following commands for help.
+
+:/help Print help for graph formatting option
+:.help Print help for general graphics options
+
+
+3. INTERACTIVE CURVE FITTING GRAPH KEYS
+
+The graph keys are h, i, j, k, and l. The graph keys may be redefined to
+put any combination of axes types along either graph axis with the 'g' key.
+To define a graph key select the desired key to redefine and then specify
+the axes types for the horizontal and vertical axes by a pair of comma
+separated types from the following:
+
+d Ratio (y / f)
+f Fitted values
+r Residuals of fit (y - f)
+n Nonlinear part of data (linear component of fit subtracted)
+x Indepedent variable
+y Dependent variable (data being fit)
diff --git a/noao/lib/scr/idicgfit.key b/noao/lib/scr/idicgfit.key
new file mode 100644
index 00000000..ae6ea537
--- /dev/null
+++ b/noao/lib/scr/idicgfit.key
@@ -0,0 +1,69 @@
+1. INTERACTIVE CURVE FITTING CURSOR KEYS
+
+? Print options
+a Add point to constrain fit (points are not added to feature list)
+c Print the coordinates and fit of point nearest the cursor
+d Delete data point nearest the cursor
+f Fit the data and redraw or overplot
+g Redefine graph keys. Any of the following data types may be along
+ either axis.
+ x Pixel coordinate y User coordinate f Fitted value
+ r Residual=(y - f) d Ratio=(y / f) n Nonlinear part of y
+ v Radial velocity=(y - f) / y * 30000
+h-l Graph keys. Defaults are h=(y,x), i=(y,v), j=(y,r), k=(y,d), l=(y,n)
+o Overplot the next graph
+q Exit the interactive curve fitting. Carriage return will also exit.
+r Redraw graph
+s Set sample range with the cursor
+t Initialize the sample range to all points
+u Undelete the deleted point nearest the cursor
+v Change the weight of the point nearest the cursor
+w Set the graph window. For help type 'w' followed by '?'.
+x Change the x value of the point nearest the cursor
+y Change the y value of the point nearest the cursor
+z Delete sample region nearest cursor
+I Interrupt task immediately
+
+
+2. INTERACTIVE CURVE FITTING COLON COMMANDS
+
+The parameters are listed or set with the following commands which may be
+abbreviated. To list the value of a parameter type the command alone.
+
+:show [file] Show the values of all the parameters
+:vshow [file] Show the values of all the parameters verbosely
+:xyshow [file] Show the x, y, y fit, and weight data values
+:evaluate <value> Print the fit at the specified value
+:errors [file] Print the errors of the fit (default STDOUT)
+:function [value] Fitting function (chebyshev, legendre, spline3, spline1)
+:grow [value] Rejection growing radius
+:naverage [value] Sample averaging or medianing window
+:order [value] Fitting function order
+:low_reject [value] Low rejection threshold
+:high_reject [value] High rejection threshold
+:niterate [value] Number of rejection iterations
+:sample [value] Sample ranges
+:markrej [value] Mark rejected points?
+
+Additional commands are available for setting graph formats and manipulating
+the graphics. Use the following commands for help.
+
+:/help Print help for graph formatting option
+:.help Print help for general graphics options
+
+
+3. INTERACTIVE CURVE FITTING GRAPH KEYS
+
+The graph keys are h, i, j, k, and l. The graph keys may be redefined to
+put any combination of axes types along either graph axis with the 'g' key.
+To define a graph key select the desired key to redefine and then specify
+the axes types for the horizontal and vertical axes by a pair of comma
+separated types from the following:
+
+d Ratio = (y / f)
+f Fitted values
+r Residuals of fit = (y - f)
+n Nonlinear part of data (linear component of fit subtracted)
+v Radial velocity = 30000 * (y - f) / y
+x Pixel coordinates
+y User coordinates
diff --git a/noao/lib/scr/igsfit.key b/noao/lib/scr/igsfit.key
new file mode 100644
index 00000000..e04357d6
--- /dev/null
+++ b/noao/lib/scr/igsfit.key
@@ -0,0 +1,29 @@
+ INTERACTIVE SURFACE FITTING
+
+? List commands
+c Print data values for point nearest the cursor
+d Delete the point or set of points with constant x, y, or z
+ nearest the cursor (p, x, y, z,)
+f Fit surface
+l Graph the last set of points (in zoom mode)
+n Graph the next set of points (in zoom mode)
+p Graph all features
+q Quit
+r Redraw a graph
+u Undelete the point or set of points with constant x, y, or z
+ nearest the cursor (p, x, y, z,)
+w Window the graph. Type '?' to the "window:" prompt for more help.
+x Select data for the x axis (x, y, z, s, r)
+y Select data for the y axis (x, y, z, s, r)
+z Zoom on the set of points with constant x, y, or z (x, y, z)
+ Unzoom with p
+I Interrupt task immediately
+
+:corners List the surface fit at the corners of the image
+:function type Set the function for the fitted surface (chebyshev, legendre)
+:show Show the fitting parameters
+:xorder value Set the x order for the fitted surface
+:yorder value Set the y order for the fitted surface
+
+:/help Additional graph formatting commands
+:.help Additional general graph commands
diff --git a/noao/lib/scr/ilsetbins.key b/noao/lib/scr/ilsetbins.key
new file mode 100644
index 00000000..ca8d2d35
--- /dev/null
+++ b/noao/lib/scr/ilsetbins.key
@@ -0,0 +1,13 @@
+ Set Illumination Bins
+
+? Print options
+i Clear the sample ranges
+q Exit interactive curve fitting
+s Set bins with the cursor
+I Interrupt task immediately
+
+The parameters are listed or set with the following commands which may be
+abbreviated. To list the value of a parameter type the command alone.
+
+:bins value Illumination bins
+:show Show the values of all the parameters
diff --git a/noao/lib/scr/pdm.key b/noao/lib/scr/pdm.key
new file mode 100644
index 00000000..e3a5fb2c
--- /dev/null
+++ b/noao/lib/scr/pdm.key
@@ -0,0 +1,42 @@
+ Phase Dispersion Minimization
+
+ ? list options
+ h graph data
+ i,k graph theta (abscissa) verses frequency or period respectively
+ p graph phase curve for period/frequency at cursor x position (th)
+ d,u delete or undelete respectively the point nearest cursor (d,ph)
+ f call ICFIT on displayed data (data or phase plot)
+ j subtract fit from data, use residuals
+ s set sample range for calculations (data plot)
+ t reset range to entire dataset (data plot)
+ g significance of theta at cursor x position (theta plot)
+ a amplitude and epoch at cursor x position or of plot (th,ph)
+ , set minp or minf to cursor x position (theta plot)
+ . set maxp or maxf to cursor x position (theta plot)
+ m mark range and find minimum in this range (theta plot)
+ e turn on/off error bars on phase plot, and if (phaseplot), replot
+ r replot
+ x remove a trend from the data by removing a bestfit line
+ z flip the y-axis scale
+ q quit
+
+ The following commands may be abbreviated. If entered without an
+ argument; :minp, :maxp, :minf, :maxf, and :ntheta will display the
+ named parameter; :show, :vshow will print to STDOUT; :signif, :ampep,
+ and :phase, will do the calculation at the remembered period.
+
+ :show [file] show parameter settings
+ :vshow [file] show verbose information
+
+ :minp :maxp [period] set/show min/max search period
+ :minf :maxf [frequency] set/show min/max search frequency
+ :ntheta [number] set/show number of points for theta
+ :sample [value] set/show the sample ranges
+
+ :signif [period] find theta significance
+ :ampep [period] amplitude and epoch
+ :phase [period] graph phase curve
+
+ :unreject unreject all the data points
+ :alldata reset range to entire dataset
+ :origdata reset data to original dataset
diff --git a/noao/lib/scr/sensfunc.key b/noao/lib/scr/sensfunc.key
new file mode 100644
index 00000000..1fc8bca3
--- /dev/null
+++ b/noao/lib/scr/sensfunc.key
@@ -0,0 +1,72 @@
+ SENSFUNC: Determine Sensitivity Function
+
+SUMMARY:
+
+? Help a Add data c Composite data d Delete data
+e Extinction f Fit (overplot) g Fit (redraw) i Info
+m Move data o Original data q Quit r Redraw
+s Shift data u Undelete data w Change weights I Interrupt
+
+:function [type] :graphs [types] :images [images] :marks types
+:order [value] :skys [images] :stats [file] :vstats [file]
+
+Graph types: a=(resid,airmass), c=(composite,lambda), e=(extinction,lambda)
+ i=(Fluxed image,lambda), r=(resid, lambda), s=(Sensitivity,lambda)
+
+
+CURSOR KEYS:
+
+? Print help
+a Add a point at the cursor position
+c Toggle composite points
+d Delete point, star, or wavelength nearest the cursor
+e Toggle residual extinction correction
+f Fit data with a sensitivity function and overplot the fit
+g Fit data with a sensitivity function and redraw the graphs
+i Print information about point nearest the cursor
+m Move point, star, wavelength nearest the cursor to new sensitivity
+o Reset to original data
+q Quit and write sensitivity function for current aperture
+r Redraw graph(s)
+s Toggle shift of standard stars to eliminate mean deviations
+u Undelete point, star, or wavelength nearest the cursor
+w Change weights of point, star, or wavelength nearest the cursor
+I Interrupt task immediately
+
+
+COLON COMMANDS AND ARGUMENTS:
+
+:function [type] Function to be fit to sensitivity data. The types are:
+ chebyshev - Chebyshev polynomial
+ legendre - Legendre polynomial
+ spline1 - Linear spline
+ spline3 - Cubic spline
+:graphs [types] Graphs to be displayed (up to four). The types are:
+ a - Residual sensitivity vs airmass
+ c - Composite residuals and error bars vs wavelength
+ e - Extinction (and revised extinction) vs wavelength
+ i - Flux calibrated image vs wavelength
+ r - Residual sensitivity vs wavelength
+ s - Sensitivity vs wavelength
+:images [images] Images to flux calibrate and plot (up to four images)
+:marks [marks] Mark types to use for included, deleted, and added points:
+ point, box, plus, cross, diamond, hline, vline,
+ hebar, vebar, circle
+:order [order] Order of function (polynomial terms or spline pieces)
+:skys [images] Sky images for flux calibration (optional, up to four images)
+:stats [file] Statistics about standard stars and sensitivity fit
+:vstats [file] Verbose statistics about standard stars and sensitivity fit
+
+
+EXAMPLES:
+
+:func spline3 Select cubic spline function
+:g srae Graph sensitivity, residuals, airmass, and extinction
+:g sii Graph sensitivity and two images
+:i n1.0004 n1.0008 Set first two images to graph (the defaults are
+ taken from the standard star list)
+:skys n1.0005 Subtract this sky image from first image for calibration
+:m plus Change the mark type for included points and don't
+ change the deleted or added point mark type
+:stats Print statistics to terminal
+:vstats stdstats Print verbose statistics to file
diff --git a/noao/lib/scr/setlimits.key b/noao/lib/scr/setlimits.key
new file mode 100644
index 00000000..6fa832c9
--- /dev/null
+++ b/noao/lib/scr/setlimits.key
@@ -0,0 +1,21 @@
+ SET EXTRACTION APERTURES
+
+? Display commands
+a Set the aperture number for the current aperture
+l Set the lower limit at the cursor for the current aperture
+u Set the upper limit at the cursor for the current aperture
+y Set the aperture limits at the Y cursor positions for the
+ aperture nearest the X cursor
++ Make the next aperture to the right the current aperture
+- Make the next aperture to the left the current aperture
+. Make the nearest aperture to the cursor the current aperture
+
+The following colon commands set or show various parameters.
+
+:show [file] Show or record the apertures
+:aperture [number] Show or set aperture number
+:lower [value] Show or set aperture lower limit
+:upper [value] Show or set aperture upper limit
+
+:.help Display cursor mode commands
+:/help Display formating commands
diff --git a/noao/lib/scr/specmode.key b/noao/lib/scr/specmode.key
new file mode 100644
index 00000000..1b3b90b1
--- /dev/null
+++ b/noao/lib/scr/specmode.key
@@ -0,0 +1,34 @@
+
+ SPECTRUM REVIEW COMMAND SUMMARY
+
+ ? Help b Select obj/temnp sample region
+ d Print velocity diff e Do summary plot
+ f Fourier mode i Original spectra
+ I Interrupt n Disp. cont. spectra
+ p Display prepared spectra q Quit
+ r Redraw s Select sample regions
+ u Unselect a sample region x Return to correlation mode
+
+ :osample List of object sample regions
+ :rsample List of template sample regions
+ :show Show the task parameters
+
+
+ ? Print list of cursor key and colon commands
+ b Select sample regions for both spectra
+ d Print velocity difference between two cursor positions
+ e Plot a preview of the summary plot
+ f Enter Fourier mode
+ i Display original input spectra
+ I Interrupt
+ n Display continuum subtracted spectra
+ p Display the prepared spectra prior to correlation
+ q Quit
+ r Redraw
+ s Select sample regions
+ u Unselect sample regions
+ x Return to correlation mode
+
+ :sample [list] List of sample regions
+ :show Show the task parameters
+
diff --git a/noao/lib/scr/splot.key b/noao/lib/scr/splot.key
new file mode 100644
index 00000000..468877eb
--- /dev/null
+++ b/noao/lib/scr/splot.key
@@ -0,0 +1,28 @@
+/ - Cycle thru short help on stat line p - Convert to wavelength scale
+? - This display q - Quit and exit
+a - Auto expand between cursors r - Replot current spectrum
+b - Set base plot level to 0.0 s - Smooth (boxcar)
+c - Print cursor position t - flaTTen and normalize to 1.0
+d - Deblend lines using Gaussians u - Set wavelength scale
+e - Equiv. width, integ flux, center v - Equiv. width -- width at 1/2 flux
+f - Arithmetic functions: log, sqrt... w - Window the graph
+g - Get new image and plot x - Connects 2 cursor positions
+h - Equiv. width -- one sided y - Plot std star flux from calib file
+i - Write current image as new image z - Expand x range by factor of 2
+j - Fudge a point to Y-cursor value - - (Minus) subtract deblended fit
+k - Equiv. width -- continuum = 1 . - Up slide spectrum
+l - Convert to F-lambda , - Down slide spectrum
+m - Mean, RMS, snr in marked region $ - Convert to channel scale
+n - Convert to F-nu I - Interrupt task immediately
+o - Overplot another spectrum # - Select new line/aperture
+G - Gaussian fit to single line
+
+For 'h' key:
+a - Left side for width at 1/2 flux l - Left side for continuum = 1
+b - Right side for width at 1/2 flux r - Right side for continuum = 1
+
+The colon commands do not allow abbreviations.
+
+:show - Show full output of deblending and equivalent width measurments
+:log - Enable logging to save_file
+:nolog - Disable logging to save_file