Polarization Matrix
- polmat q h k l mn counts
Measures a complete polarization matrix at q position h k l. To make a single matrix 18 measurements are made, with positive and negative pf for each of the 9 elements of the matrix.
Total monitor counts for one matrix = 18 * counts
Polarization Matrix with Background Measurement
- polmat q h k l bq h' k' l' mn counts
The same as the measurement of the polarization matrix, but the measurement is repeated at the position h' k' l' to determine the background. Useful for peaks with weak intensity.
Total monitor counts for one matrix = 36 * counts
Mupad Drive
- mudrive x y z x' y' z'
Drives the currents in the precession coils. To drive to pi = +z, pf = +z:
mudrive 0 0 1 0 0 1
To drive to pi = +z, pf = -z:
mudrive 0 0 1 0 0 -1
Mupad Count
- muco pi pf mn counts
Used to describe which polarization channels to measure. To measure the z+ z+ channel until 50000 monitor counts has been reached:
muco z z mn 50000
To measure the z+ z- channel until 50000 monitor counts has been reached:
muco z -z mn 50000
Polarization Switch
- polsw on/off
All subsequent measurements are made with the polarization as described by the muco commands:
polsw on muco z z mn 50000 muco z -z mn 50000 sc qh -1.725 -1.725 0 0.4 dqh 0 0 0 0.05 np 25 sc qh -0.5 -0.5 -2.5 0.4 dqh 0 0 0 0.05 np 25
Polarization Measurement File
- pa filename
The polarization commands are input from a file:
polsw on pa flip.file sc qh -1.725 -1.725 0 0.4 dqh 0 0 0 0.05 np 25 sc qh -0.5 -0.5 -2.5 0.4 dqh 0 0 0 0.05 np 25
Where flip.file contains:
muco z z mn 50000 muco z -z mn 50000
Polarizing Bender Current
- gufi +/- I
Ensures that the current to the first bender is set to I. Useful to regularly include the gufi command in files:
polsw on pa flip.file sc qh -1.725 -1.725 0 0.4 dqh 0 0 0 0.05 np 25 sc qh -0.5 -0.5 -2.5 0.4 dqh 0 0 0 0.05 np 25
gufi + 1.2
sc qh -1.725 -1.725 0 0.4 dqh 0 0 0 0.05 np 25 sc qh -0.5 -0.5 -2.5 0.4 dqh 0 0 0 0.05 np 25