Software for Diffraction


2d grid scan


mesh motor1 start1 end1 intervals1 motor2 start2 end2 intervals2 time


The mesh scan traces out a grid using motor1 and motor2. The first motor scans from start1 to end1 using the specified number of intervals. The second motor similarly scans from start2 to end2. Each point is counted for for time seconds (or monitor counts).

The scan of motor1 is done at each point scanned by motor2. That is, the first motor scan is nested within the second motor scan.

A mesh scan creates only one scan entry in the spec data file with a total of (intervals1+1) * (intervals2+1) points.


mesh th 0 1 10 phi 0 2 10 10