spec

Software for Diffraction

hklmesh

scan over a 2d grid in reciprocal space

SYNOPSIS

hklmesh Q1 start1 end1 intervals1 Q2 start2 end2 intervals2 time

DESCRIPTION

The hklmesh macro scans over a grid in reciprocal space in the Q1-Q2 plane, putting the results in one scan entry in the data file (as opposed to an hklscan inside a for-loop which creates many scans). Q1 and Q2 are literally H, K or L. The grid runs from start1 to end1 for intervals1+1 points for the reciprocal space coordinate Q1 and from start2 to end2 for intervals2+1 points for the Q2 coordinate. Count time is given by time, which if positive, specifies seconds and if negative, specifies monitor counts.

The scan over Q1 is done at each point in the scan over Q2. That is, the scan of the first coordinate is nested within the scan of the second coordinate.

EXAMPLE

hklmesh H 0 1 10 K 0 1 10 60