- Rearranged directory structure for forking out ANSTO
- Refactored site specific stuff into a site module - PSI specific stuff is now in the PSI directory. - The old version has been tagged with pre-ansto
This commit is contained in:
50
nxamor.w
Normal file
50
nxamor.w
Normal file
@@ -0,0 +1,50 @@
|
||||
\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
|
||||
#include <scan.h>
|
||||
#include <HistMem.h>
|
||||
@<namor@>
|
||||
#endif
|
||||
@}
|
||||
Reference in New Issue
Block a user