
\documentclass[psfig,preprint]{aastex}
\usepackage{graphicx}
\usepackage[verbose]{wrapfig}
\begin{document}
\tolerance=10000
\def\simlt{\lower.5ex\hbox{$\; \buildrel < \over \sim \;$}}
\def\simgt{\lower.5ex\hbox{$\; \buildrel > \over \sim \;$}}


\section {IDL PROCEDURES---SPECIAL FOR FRANK! }
\subsection{For Controlling the Dish}
\begin{enumerate}

\item {\tt pointdish} moves the telescope to a specified
  (alt\_enc,az\_enc). You can specify either one or both coordinates. Example:
  \\
{\tt print, pointdish( alt=20)} \\
{\tt pointdish} has the {\tt /nolimits} option, which ignores the
software limits. Useful for testing, but {\it dangerous} if you make a
mistake; you can ruin the optical fiber and the drive system.

\item {\tt pointl} moves the telescope to a specified (alt,az). You must
  specify both coordinates. Example:
  \\
{\tt print, pointl( alt=20, az=180)} \\
It points to earth-based coordinates unless the {\tt /encoder} keyword
is set.

\item {\tt maint} moves the telescope to maintenance position
\item {\tt stow} moves the telescope to stow position
\item {\tt pointl\_radec} moves the telescope to a specified (ra,dec),
  sun, or moon, depending on which keywords you set.

\item {\tt follow} tracks a given (ra,dec), sun, or moon and can write a
  file containing relevant pointing data.
\end{enumerate}

\subsection{For Taking Data}
\begin{enumerate}
\item {\tt noise} turns on or off the calibration noise diode. Examples:
{\tt noise, /on} and {\tt noise, /off} 

\item {\tt rxpwr} returns the channel-integrated spectral power from the
  ROACH box as input. So to see the rf power of the noise diode:
\begin{verbatim}
noise, /off
wait,4
print, rxpwr()
noise, /on
wait,4
print, rxpwr()
\end{verbatim}

\item {\tt set\_lhp} sets the frequency and level of the l.o.\ {\it
  Important:} the resolution of the l.o.\ is 10 KHz; see the
  documentation for this procedure.
\item {\tt startchart1} runs a `chart recorder' using the
  channel-integrated spectral power from the ROACH box as input. 
\item {\tt getspect} sets the l.o.\ and the noise diode (unless keywords
  are selected to inhibit this), then averages a specified number of
  spectra from the ROACH box and optionally plots or saves the result in
  an IDL save file, which contain ancillary info such as Julian day. ra,
  dec, etc.
\item {\tt leuschner\_rx} Take and record spectra with the ROACH box.
\item {\tt filename} generate a filename of the form:
  {\tt jjjjjjj.jjjjjj\_sn0000\_nd1\_1270123456}
\item {\tt fits\_to\_sav} converts a fits file, which contains nrspectra
  spectra, into a sav file with a single spectrum equal to the avg,
  also the median. Also lots of ancillary info, all in a structure
\item {\tt frq} calculate the array of IF or RF freqs from the tags in
  the standard output structure.
\end{enumerate}


\end{document}

