Commands to setup the data processing (mainly MYTHEN related)


\begin{DoxyItemize}
\item {\bfseries flatfield \mbox{[}fn\mbox{]}} {\ttfamily put} sets flatfield file to {\ttfamily fn} (relative to {\ttfamily ffdir}).  returns the flatfield file name relative to {\ttfamily ffdir} (string). If
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries ffdir \mbox{[}d\mbox{]}} Sets/gets the directory in which the flat field file is located. {\ttfamily Returns} {\ttfamily }(string) ffdir
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries ratecorr \mbox{[}ns\mbox{]}} Returns the dead time used for rate correections in ns (int). {\ttfamily put} sets the deadtime correction constant in ns, -\/1 will set it to default tau of settings (0 unset). {\ttfamily Returns} {\ttfamily }(double with 9 decimal digit precision)
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries badchannels \mbox{[}fn\mbox{]}} {\ttfamily put} sets the badchannels file to {\ttfamily fn} .  returns the bad channels file name. If
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries angconv \mbox{[}fn\mbox{]}} {\ttfamily put} sets the angular conversion file to {\ttfamily fn} .  returns the angular conversion file name. If
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries globaloff \mbox{[}f\mbox{]}} Sets/gets the beamline angular global offset (float).
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries fineoff \mbox{[}f\mbox{]}} Sets/gets the angular fine offset of the measurement (float).
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries binsize \mbox{[}f\mbox{]}} Sets/gets the bin size used for the angular conversion (float).
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries angdir \mbox{[}i\mbox{]}} Sets/gets the angular direction. 1 means increasing channels number as increasing angle, -\/1 increasing channel number decreasing angle.
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries moveflag \mbox{[}i\mbox{]}} Sets/gets the flag for physically moving the detector during the acquisition of several positions. 1 sets (moves), 0 unsets.
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries samplex \mbox{[}f\mbox{]}} Sets/gets the sample displacement in th direction parallel to the beam in um. Unused!
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries sampley \mbox{[}f\mbox{]}} Sets/gets the sample displacement in th direction orthogonal to the beam in um. Unused!
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries threaded \mbox{[}i\mbox{]}} Sets/gets the data processing threaded flag. 1 is threaded, 0 unthreaded.
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries darkimage fn} Loads the dark image to the detector from file fn (pedestal image). Cannot get.
\end{DoxyItemize}


\begin{DoxyItemize}
\item {\bfseries gainimage fn} Loads the gain image to the detector from file fn (gain map for translation into number of photons of an analog detector). Cannot get. 
\end{DoxyItemize}