
This is our new RELEASE-4_0 branch which was taken from ansto/93d9a7c Conflicts: .gitignore SICSmain.c asynnet.c confvirtualmot.c counter.c devexec.c drive.c event.h exebuf.c exeman.c histmem.c interface.h motor.c motorlist.c motorsec.c multicounter.c napi.c napi.h napi4.c network.c nwatch.c nxscript.c nxxml.c nxxml.h ofac.c reflist.c scan.c sicshipadaba.c sicsobj.c site_ansto/docs/Copyright.txt site_ansto/instrument/lyrebird/config/tasmad/sicscommon/nxsupport.tcl site_ansto/instrument/lyrebird/config/tasmad/taspub_sics/tasscript.tcl statusfile.c tasdrive.c tasub.c tasub.h tasublib.c tasublib.h
53 lines
1.2 KiB
C
53 lines
1.2 KiB
C
/**
|
|
* This is the header file for the single crystal diffraction module within SICS.
|
|
* This is a master module which initializes all the other ones and holds
|
|
* data structures and entities particular to single crystal diffraction.
|
|
*
|
|
* copyright: see file COPYRIGHT
|
|
*
|
|
* Mark Koennecke, July 2008
|
|
*/
|
|
#ifndef SINGLEX_H_
|
|
#define SINGLEX_H_
|
|
#include <sics.h>
|
|
#include <motor.h>
|
|
#include "reflist.h"
|
|
#include "sginfo.h"
|
|
#include "singlediff.h"
|
|
|
|
typedef enum {
|
|
TwoTheta, Omega, Chi, Phi, Nu, Sgu, Sgl, None
|
|
} MotorFunction;
|
|
pMotor SXGetMotor(MotorFunction m);
|
|
const char *SXGetMotorName(MotorFunction m);
|
|
|
|
const double *SXGetUB();
|
|
void SXSetUB(double ub[9]);
|
|
|
|
double *SXGetPlanenormal();
|
|
void SXSetPlanenormal(double planeNormal[3]);
|
|
|
|
const double *SXGetCell();
|
|
void SXSetCell(double c[6]);
|
|
|
|
double SXGetLambda();
|
|
|
|
pSICSOBJ SXGetReflectionList();
|
|
|
|
typedef enum {
|
|
Bisecting, NB, Tas, BiNB, BiO,
|
|
} SingleXModes;
|
|
|
|
SingleXModes SXGetMode();
|
|
void SXSetMode(SingleXModes m);
|
|
|
|
pSingleDiff SXGetDiffractometer();
|
|
|
|
T_SgInfo *SXGetSpaceGroup();
|
|
|
|
|
|
int MakeSingleX(SConnection * pCon, SicsInterp * pSics,
|
|
void *data, int argc, char *argv[]);
|
|
|
|
#endif /*SINGLEX_H_ */
|