Files
sics/singlex.h
koennecke 86e246416b - Added bridge functions to histmemsec to make it look more like histmem
- Modifed many modules using histmem to work also with histmemsec
- Extended tasker with task names and task groups
- There is a new taskobj which allows to list tasks and to interact with them.
- Task now supports running Tcl functions as tasks
- There is a new experimental sctcomtask module which allows to define communication
  tasks against a scriptcontext. This is a new feature which should facilitate
  writing sequential scripts using asynchronous communication.
- A fix to make spss7 work when there are no switches
- ORION support for single X. TRICS measures crystals hanging down, ORION
  standing up


SKIPPED:
	psi/ease.c
	psi/faverage.c
	psi/jvlprot.c
	psi/make_gen
	psi/pardef.c
	psi/polterwrite.c
	psi/psi.c
	psi/sinq.c
	psi/spss7.c
2012-12-20 11:32:33 +00:00

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
} 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_ */