AMOR 2 Theta

The movement off the two theta is quite complex at the reflectometer AMOR. The angle of the detector itself is expressed by translations along the optical bench and in height. Then the angle of the detector needs to be adjusted as well. Moreover some diaphragms along the way from the sample to the detector need adjustment as well. In polarizing mode the analyzer position must be corrected as well. In order to do this a virtual motor has been created which takes care of this movement. As such this object has no real user interface except the usual printing of the position when the name of the virtual motor is typed. However, in order to do his work this virtual motor needs a lot of parameters. These are described below. It is assumed that the virtual motors name is a2t.

Parameters needed by the AMOR virtual two theta motor

detectord
distance of the detector from the sample.
d4d
distance of diaphragm 4 from the sample.
d5d
distance of diaphragm 5 from the sample.
sampleh
An additive factor describing the height of the sample, i.e. the height of the table itself.
detectorh
The base height of the detector.
d4h
The base height of diaphragm 4.
d5h
The base height of diaphragm 5.
interrupt
The interrupt to issue if this motor fails to operate.
The values of parameters can be inquired by typing:
a2t parname
and set by:
a2t parname newval
For example:
a2t detectord
155.
a2t detectord 300.