Modification of the basic StepScan positioner to add movement time statistics
move to i-th position in positioner array
PyEpics scan engine plugin for ECLI
Post-scan callback from stepscan
Pre-scan callback from stepscan
Each archiver extension should call this function with its last used scan number.
Since extensions that save scan data identify the scan by number, and there can be more than one extension saving data, this is used to avoid conflicting scan numbers.
Single step (per-point) callback from stepscan
%_mesh motor1 start1 end1 points1 motor2 start2 end2 points2 time
Scan relative to the starting position (dmesh) or utilizing absolute positions (amesh):
for motor2 = start2 to end2, step (end2-start2) / points2:
for motor1 = start1 to end1, step (end1-start1) / points1:
wait for [time] secs
take data point
Perform a 1D scan of motor in [start, end] of data_points
Parameters: |
|
---|
Calculate the number of dimensions given a dimension tuple
%_dmesh motor1 start1 end1 points1 motor2 start2 end2 points2 time
Scan relative to the starting position (dmesh) or utilizing absolute positions (amesh):
for motor2 = start2 to end2, step (end2-start2) / points2:
for motor1 = start1 to end1, step (end1-start1) / points1:
wait for [time] secs
take data point
Perform a 1D scan of motor in [start, end] of data_points
Parameters: |
|
---|
Strips off any final 1s in a dimension array
In, for example, a 10x10 scan, there are 100 points. This returns which point in the grid linear point x corresponds to
%_mesh motor1 start1 end1 points1 motor2 start2 end2 points2 time
Scan relative to the starting position (dmesh) or utilizing absolute positions (amesh):
for motor2 = start2 to end2, step (end2-start2) / points2:
for motor1 = start1 to end1, step (end1-start1) / points1:
wait for [time] secs
take data point
Perform a generic scan
Parameters: |
|
---|---|
Returns: | the scan instance |
Perform a 1D scan of motor in [start, end] of data_points
Parameters: |
|
---|
Perform a 2D scan of dimension (points1, points2): motor1 in [start1, end1], with points1 data points (inner loop, fast)
motor2 in [start2, end2], with points2 data points (outer loop, slow)
Scan relative to the starting position (dmesh) or utilizing absolute positions (amesh):
for motor2 = start2 to end2, step (end2-start2) / points2:
for motor1 = start1 to end1, step (end1-start1) / points1:
wait for [time] secs
take data point
Parameters: |
|
---|---|
Returns: | the scan instance |
PyEpics scan engine plugin for ECLI
Post-scan callback from stepscan
Pre-scan callback from stepscan
Each archiver extension should call this function with its last used scan number.
Since extensions that save scan data identify the scan by number, and there can be more than one extension saving data, this is used to avoid conflicting scan numbers.
Single step (per-point) callback from stepscan
Outputting scan data to the console is left to other extensions.
Writing scan data to a file is left to other extensions.
Note
requires h5py <http://www.h5py.org>