If a grid_scan is performed with more than 2 motors, an error is thrown since this isn't in the spec mesh specification.
Tested by running scans in bluesky and then viewing the output in PyMca and in the case of mesh, with the RegularMeshPlugin. I was not sure how to add tests for this to the pytest files, ideally I'd add a test if the headers created are correct. Any help would be appreciated.
I found that if I try and run pytest on my machine the test against the historical files always fails because the date is calculated from the epoch assuming I am in the US. Otherwise it's correct.
This adds the ablity to run the following plans in bluesky and generate specfiles that can be opened in PyMca. Tested with PyMca version 5.6.3
grid_scan with 2 motors which is mapped to the spec macro mesh
scan (but with any number of motors)
rel_scan (but with any number of motors)
The scan header is correctly formatted as per the spec manual for mesh a2scan,a3scan,a4scan and d2scan, d3scan, d4scan
If a grid_scan is performed with more than 2 motors, an error is thrown since this isn't in the spec mesh specification.
Tested by running scans in bluesky and then viewing the output in PyMca and in the case of mesh, with the RegularMeshPlugin. I was not sure how to add tests for this to the pytest files, ideally I'd add a test if the headers created are correct. Any help would be appreciated.
I found that if I try and run pytest on my machine the test against the historical files always fails because the date is calculated from the epoch assuming I am in the US. Otherwise it's correct.