spec

Software for Diffraction

d2scan

two-motor scan relative to the starting positions

SYNOPSIS

d2scan motor1 start1 end1 motor2 start2 end2 intervals time

DESCRIPTION

d2scan scans two motors, as specified by motor1 and motor2. Each motor moves the same number of intervals. If each motor is at a position X before the scan begins, it will be scanned from X+start to X+end. The step size for each motor is (start-end)/intervals. The number of data points collected will be intervals+1. Count time is given by time, which if positive, specifies seconds and if negative, specifies monitor counts.

Upon termination, the motors are returned to their starting positions.

EXAMPLE

d2scan th -1 1 phi -2 2 20 10