spec

Software for Diffraction

3.9.3. - Basic Reciprocal Space Scans



hscan start_H finish_H intervals time
kscan start_K finish_K intervals time
lscan start_L finish_L intervals time

hklscan s_H f_H  s_K f_K  s_L f_L  intervals time
hklmesh Q1 s_Q1 f_Q1 intervals1  Q2 s_Q2 f_Q2  intervals2 time


The first three scans are special cases of hklscan, as in
def hscan '
      if ($# != 4) {
              print "Usage:  hscan start finish intervals time"
              exit
      } 
      waitall; getangles; calcHKL
      hklscan $1 $2 K K L L $3 $4
'


hklmesh does a grid scan of two reciprocal coordinates, where Q1 and Q2 are literally H, K or L, and Q1 != Q2.

A waitmove, getangles and calcHKL are done at the start of the scan to obtain the current diffractometer position to determine the values of the unspecified coordinates in hscan, kscan, lscan and hklmesh.