Files
sics/nxamor.w
2000-02-07 10:38:55 +00:00

48 lines
1.5 KiB
OpenEdge ABL

\subsection{AMOR NeXus Routines}
This module implements a few functions for writing NeXus data files
for the reflectoemter AMOR at SINQ, PSI. Nothing very exciting here:
this is mostly boring repetetive code. Three functions are defined:
@d namor @{
int WriteAmorHeader(char *file, SConnection *pCon);
int WriteAmorScan(char *file, SConnection *pCon, pScanData pScan);
int WriteAmorTOF(char *file, SConnection *pCon, pHistMem pHM);
int AmorStore(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
int AmorStoreMake(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
@}
\begin{description}
\item[WriteAmorHeader] writes all the AMOR header information and the
zillions of motors.
\item[WriteAmorScan] writes data when AMOR was operated in scanning
mode.
\item[WriteAmorTOF] writes AMOR data when used with the PSD in
time-of-flight mode.
\item[AmorStore] the command function implementing the storeamor
command.
\item[AmorStoreMake] the initialization function which creates the
storeamor command.
\end{description}
@o nxamor.h @{
/*------------------------------------------------------------------------
N X A M O R
Some routines for writing NeXus files for the reflectometer AMOR at
SINQ.
copyright: see copyright.h
Mark Koennecke, September 1999
----------------------------------------------------------------------*/
#ifndef NXAMOR
#define NXAMOR
@<namor@>
#endif
@}