Triple Axis Spectrometer Specific Commands

One aim for the implementation of the triple axis spectrometer in SICS was to implement as closely as possible the command set of the ILL program MAD. For this, there are two implementations: an older one where most things werde done in C-code. And a newer one which implements a relaxter MAD emulation. The problem with the MAD emulation is that MAD relies on the order of variables and motors in memory. The newer MAD emulation obeys this only for the qh, qk, ql and en variables. This section describes the newer more portable TAS setup. There are some C-modules and a lots of scripts which implement the MAD emulation.

The TAS requires the following initializations in its instrument file:

MakeTasUB tasub
Installs the TAS crystallographic calculation module into SICS. It will have the name tasub (recommended).
MakeTasScan iscan tasub
Installs the module with the TAS specific scan functions into SICS. The TAS implements its own data format resembling the ILL TAS data format.
Moreover it is required to add the peak center module, drive, exe and a lot of variables: polfile, alf1-4, bet1-4, ETAM ETAS ETAA.

The scripts for the MAD emulation live in the file tasubcom.tcl. This file will need little editing in order to cope with another triple axis machine, just a couple of path variables will need to be changed.