Open prjemian opened 2 months ago
Expect this command should scan from 1 to 5 with 11 points, producing a single HDF5 file at each point:
RE(bp.scan([flag1ad], mr1.x, 1, 5, 11))
But, might need some attention to how the area detector is configured before the scan. Also, to get scalar values (total counts in ROI), need to identify and add that python object as additional detector.
In [14]: mr1.x.position
Out[14]: 1540.3894
In [15]: mr1.x.limits
Out[15]: (1539.03575, 1549.03575)
Use different start and end positions, within the limits, to test the scan. Such as 1542, 1545, 11
The names of the parts:
In [16]: mr1.component_names
Out[16]: ('x', 'y', 'coarse_pitch', 'fine_pitch', 'flag')