#
# File defining names of commands, information lines and classes
#
# First classes. The format is rigid here. class then a blank followed
# by the class name (up to 16 characters)
#
#CCCC NNNNNNNNNNNNNNNN
class Input           # data input commands.
class Output          # data output commands.
class Arithematic     # basic arithematic commands.
class Polarisation    # anything to do with spectropolarimetry
class Calibration     # arc, flux etc, calibration.
class Display         # plotting.
class Information     # information about slots.
class Miscellaneous   # anything that does not fit into other classes.
class Manipulation    # spectrum operations of more sophistication than arithematic.
class Headers         # listing/editing etc of spectrum headers.
class Fitting         # gaussian/poly/spline etc fitting.
class Measurement     # measurement wavelengths, fluxes etc.
class Fudging         # detailed editing of spectra.
class Binary          # commands to do with binary stars.
class Time_series     # commands to do with time variability.
class Flags           # molly customisation options.
#
# Now commands
#
load     -- read in spectra.             # Input
plot     -- plots spectra.               # Display
quit     -- quits program (also EXIT).   # Miscellaneous
exit     -- exits program (also QUIT).   # Miscellaneous
select   -- sets selection criteria.     # Headers
help     -- gets help on a command.      # Information
?        -- gets help on a command.      # Information
xyr      -- set plot X,Y ranges.         # Display
device   -- set plot device.             # Display
show     -- one line header list.        # Information Headers
flis     -- full header list.            # Information Headers
cadd     -- adds constant to spectra.    # Arithematic
csub     -- subtracts const off spectra. # Arithematic
cmul     -- multiplies spectra by const. # Arithematic
cdiv     -- divides spectra by constant. # Arithematic
add      -- add spectra together.        # Arithematic
sub      -- subtract spectra.            # Arithematic
mul      -- multiply spectra.            # Arithematic
div      -- divide spectra.              # Arithematic
blaze    -- echelle blaze correction     # Arithematic
axes     -- set spectrum plot axes.      # Display
close    -- close plot device.           # Display
vbin     -- rebin onto velocity scale.   # Manipulation
wbin     -- rebin onto wavelength scale. # Manipulation
lruby    -- load RUBY data.              # Input
average  -- average spectra.             # Arithematic Manipulation
write    -- dumps spectra to disk.       # Output
pfit     -- fits poly to continuum.      # Fitting
sfit     -- fits spline to continuum.    # Fitting
hfix     -- compute HJDs etc.            # Headers
phase    -- set phases.                  # Headers Binary
lhst     -- load HST ASCII file.         # Input
light    -- light curve.                 # Display Binary Time_series
trail    -- plot trailed spectrum.       # Display Binary Time_series
pbin     -- phase bin.                   # Manipulation Binary
colour   -- set colours.                 # Display
wdopp    -- dump a Doppler file.         # Output
edit     -- edit headers.                # Headers
wasc     -- dump spectrum to ASCII file. # Output
clip     -- clip pixels from spectra.    # Fudging
cursor   -- measure X,Y with cursor.     # Measurement Display
patch    -- patch spectrum with cursor.  # Fudging Measurement
copy     -- copy a spectrum.             # Miscellaneous
rvel     -- measure radial velocities.   # Measurement
lasc     -- load ASCII column data.      # Input
arc      -- fit arc spectra.             # Calibration
lndf     -- load NDF spectra.            # Input
acal     -- apply arc calibration.       # Calibration
flux     -- fit flux spectra.            # Calibration
cset     -- set regions to a constant.   # Fudging
teplot   -- telluric extinction plot.    # Calibration
fcal     -- apply flux calibration.      # Calibration
limit    -- limit range of flux.         # Fudging
move     -- shift out velocities.        # Binary Time_series Manipulation
wcomb    -- combine water stars.         # Calibration
xcor     -- cross-correlates spectra.    # Measurement
sine     -- sinusoidal velocity shift.   # Binary Manipulation
clear    -- clear slots.                 # Miscellaneous
drift    -- plots arc drift.             # Calibration Display
rbroad   -- apply rotational broadening. # Manipulation Binary
gsm      -- gaussian smooth.             # Arithematic Manipulation
noise    -- add noise to spectra.        # Miscellaneous
bfilt    -- band-pass filter.            # Arithematic Manipulation
optsub   -- optimum subtraction.         # Arithematic
fixerr   -- fix error bars.              # Fudging
interp   -- interpolate over bad pixels. # Fudging
red      -- redden/deredden spectra.     # Manipulation
smear    -- smear spectrum.              # Arithematic Manipulation
barb     -- arbitrarily broaden spectra. # Arithematic Manipulation
sdec     -- time series to cosine/sine.  # Time_series Binary Fitting
pgram    -- compute Scargle periodogram. # Time_series Binary
sadd     -- add sinusoid to data.        # Time_series Binary
llig     -- read light curve as spectra. # Fudging
tpoly    -- subtract polys versus HJD.   # Time_series Binary Fitting
back     -- back projects + plot.        # Binary
bndf     -- back proj. dump to NDF.      # Binary Output
orbit    -- orbit solution.              # Binary
orber    -- orbit errors.                # Binary
molly    -- the program.                 # Miscellaneous Information
label    -- label a plot.                # Display
boot     -- bootstrap spectra.           # Fudging
clean    -- clean out cosmic rays.       # Fudging
emask    -- mask bad error values.       # Fudging
mask     -- apply mask to spectra.       # Fudging
hedhist  -- histogram of header param.   # Headers Display
info     -- gives useful data (Help).    # Information
chead    -- copy headers.                # Headers
hedplt   -- header item plots.           # Headers Display
bbody    -- generate black-body spec.    # Miscellaneous
mtoasc   -- molly to ASCII conversion.   # Input Output
asctom   -- ASCII to Molly conversion.   # Input Output
mxpix    -- set maximum pixels/spec.     # Miscellaneous
lfor     -- load foreign MOLLY file.     # Input
ccal     -- copy wave + flux cal.        # Miscellaneous Calibration
mlims    -- type out MOLLY limits.       # Information
fake     -- fakes a spectrum.            # Fudging
user     -- lists, edit user commands.   # Information
mag      -- compute relative mags.       # Measurement
wndf     -- write spectra out to NDF.    # Output
mgfit    -- multiple gaussian fits.      # Fitting Measurement
emul     -- multiply error bars.         # Fudging
tbin     -- rebin to template scale.     # Manipulation
type     -- type spectrum to screen.     # Information
lwidth   -- set line width for plots.    # Display
lstyle   -- set line style for plots.    # Display
offset   -- set offset between spectra.  # Display
lcolour  -- set colours for line plots.  # Display
dcolour  -- set data colour for plots.   # Display
font     -- set font for plots.          # Display
csize    -- set character sizes.         # Display
alabel   -- set axis labels on plots.    # Display
clobber  -- overwrite files on output.   # Flags
pclose   -- close plots at start.        # Flags Display
zero     -- plot zero levels.            # Flags
confirm  -- confirm user input.          # Flags
id       -- add user id to plots.        # Flags Display
mute     -- mute some terminal output.   # Flags
molex    -- assume extension .mol.       # Flags
eplot    -- set plotting of errors.      # Flags Display
stype    -- set spectrum plot type.      # Display
aspect   -- set plot aspect ratio        # Display
flare    -- estimate flare spectrum.     # Time_series
rmsspec  -- compute RMS spectrum.        # Time_series
extrapol -- compute RMS spectrum.        # Time_series
putlab   -- put a label on a plot.       # Display
ecopy    -- copy errors between spectra. # Display
fitspec  -- fit to tabulated models      # Fitting
genspec  -- interpolate tabulated models # Fitting Manipulation
tabred   -- input a table.               # Input
bckfil   -- back-projection filter.      # Binary Arithematic
exp      -- take exponential of spectra. # Arithematic
log      -- take logarithm of spectra.   # Arithematic
hstsdf   -- read HST SDF format files.   # Input
group    -- group spectra.               # Arithematic Manipulation
chisq    -- compute chi**2 obs cf mods.  # Fitting
wfits    -- Write spectra as FITS files  # Output
lfits    -- Read spectra from FITS files # Input
cpol     -- Computes Stokes I and V      # Polarisation Arithematic
