- Fixed a few problems with hklscan
- Added transfer of zipped data to conman.c, histogram memory software in order to support the TRICS status display. - Upgraded TRICS data file writing. - First installment of triple axis spectrometer support: initialization of data structures and an implementation of the MAD dr(ive) command.
This commit is contained in:
17
scan.w
17
scan.w
@ -61,6 +61,7 @@ steps in scan processing which is already partly implemented.
|
||||
SConnection *pCon;
|
||||
char pRecover[1024];
|
||||
char pHeaderFile[1024];
|
||||
int (*PrepareScan)(pScanData self);
|
||||
int (*WriteHeader)(pScanData self);
|
||||
int (*WriteScanPoints)
|
||||
(pScanData self,
|
||||
@ -128,6 +129,9 @@ line is permitted.
|
||||
finding data.
|
||||
\item[pCon] The connection object to use for error reporting during scan
|
||||
execution.
|
||||
\item[PrepareScan] checks limits of scan variables and memorizes
|
||||
important scan information. Sometimes this is not wanted, that is why
|
||||
it is parametrized here.
|
||||
\item[WriteHeader] is a pointer to a function which writes the header part
|
||||
of the scan file. Replace this function if another data format is needed.
|
||||
\item[WriteScanPoints] is a pointer to a function which will be called after
|
||||
@ -204,7 +208,12 @@ functions:
|
||||
/*
|
||||
resets the configurable scan functions to their default values.
|
||||
*/
|
||||
|
||||
int NonCheckPrepare(pScanData self);
|
||||
/*
|
||||
a function for the PrepareScan field in the scan data structure
|
||||
which does not check the boundaries of the scan as the default
|
||||
PrepareScan does.
|
||||
*/
|
||||
/*------------------------ Interpreter Interface --------------------------*/
|
||||
int ScanFactory(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[]);
|
||||
@ -254,6 +263,12 @@ summed counts and the variance. See the section on integrate for more
|
||||
details.
|
||||
\item[ResetScanFunctions] reinstalls the default functions for scan
|
||||
processing into the ScanData structure.
|
||||
\item[NonCheckPrepare] Before a scan is started, various data
|
||||
structures in the scan object are initialized. Thereby the scan
|
||||
boundaries are checked against the motor limits. For some scans this
|
||||
is not feasible. This version omits this check and must be entered as
|
||||
the PrepareScan function field in the scan data structure by code
|
||||
using the scan module.
|
||||
\item[SimScan] creates a simulated gaussian peak with the given
|
||||
parameters. Used for debugging several things.
|
||||
\item[ScanFactory] is the SICS interpreter object creation function
|
||||
|
Reference in New Issue
Block a user