Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Description of MX wedged and inverse beam scans #72

Open
c-mita opened this issue Nov 8, 2019 · 0 comments
Open

Description of MX wedged and inverse beam scans #72

c-mita opened this issue Nov 8, 2019 · 0 comments

Comments

@c-mita
Copy link
Contributor

c-mita commented Nov 8, 2019

MX offers two main forms of "line" scan - Helical and Wedged.
Helical is straight forward, omega is continuously rotated while the sample stages move between positions.

E.g. scan axis values are:

x = [0, 0.2, 0.4, 0.6, 0.8, 1.0]
y = [0, 0.2, 0.4, 0.6, 0.8, 1.0]
omega = [0, 20, 40, 60, 80, 100]
xy_g = LineGenerator(['y', 'x'], 'mm', [0, 0], [1, 1], 6)
omega_g = LineGenerator('omega', 'deg', 0, 100 5)
g = ZipGenerator([xy_g, omega_g])
cg = CompoundGenerator([g], [], [])

Wedged is more tricky.
Omega performs part of its rotation and different x, y positions. That is, the full rotation is broken up into stages, performed at different points.

omega = [0, 10, 20, 30, 40, 50, 60, 70, 80]
x = [0, 0, 0, 1, 1, 1, 2, 2, 2]
y = [0, 0, 0, 1, 1, 1, 2, 2, 2]

The first wedge happens at "(0, 0)", the next part at "(1, 1)".

We don't have a good way of describing such scans. We could specify the full x, y arrays as an ArrayGenerator and zip them with omega, but that is inelegant, and far from concise.

MX also has the concept of Inverse Beam data collections:

omega = [0, 1, 2, 3, 4, 180, 181, 182, 183, 184, 5, 6, 7, 8, 9, 185, 186, 187, 188, 189, ...]

Here omega performs a full rotation, but again broken up into wedges that are "flipped" between a rotation started at 0 and a rotation started at 180.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant