diff --git a/script/test/Test2D.py b/script/test/Test2D.py new file mode 100644 index 0000000..4e22543 --- /dev/null +++ b/script/test/Test2D.py @@ -0,0 +1,16 @@ + +MOTORS = [dummy_x, dummy_y] +SENSORS = [current] +RANGE_X = [0.0,2.0] +RANGE_Y = [0.0,1.0] +STEPS = [5, 10] +LATENCY = 0.1 +RELATIVE = False +ZIGZAG = True + +try: + ascan((MOTORS[0], MOTORS[1]), SENSORS, (RANGE_X[0], RANGE_Y[0]), (RANGE_X[1], RANGE_Y[1]), STEPS, LATENCY, RELATIVE, zigzag = ZIGZAG, \ + before_read=before_readout, after_read = after_readout, compression = True) +finally: + after_scan() + \ No newline at end of file