SPEC commands in Bluesky#
Make it easier for users (especially SPEC users) to learn and remember the tools in Bluesky’s hklpy package.
See section Module: user for more hklpy commands.
Quick Reference Table
SPEC |
hklpy |
description |
---|---|---|
– |
Select the default diffractometer. |
|
|
Report (full) diffractometer settings. (pa: print all) |
|
|
Report (brief) diffractometer settings. (wh: where) |
|
|
|
(command line) Move motors of diffractometer |
|
|
(bluesky plan) Move motors of diffractometer |
|
Prints calculated motor settings for the given \(h, k, l\). |
|
|
Exchange primary & secondary orientation reflections. |
|
|
Define a crystal reflection and its motor positions. |
|
|
Define a crystal reflection and its motor positions. |
|
|
Refinement of lattice parameters from list of 3 or more reflections |
|
|
not necessary |
Initializes the reflections file |
|
not necessary |
Closes the reflections file |
|
Update current sample lattice. |
|
|
Set the diffractometer mode for the forward() computation. |
|
– |
Show the current set of constraints (cut points). |
|
|
Add constraints to the diffractometer forward() computation. |
|
|
Hold an axis constant during the diffractometer forward() computation. |
|
|
Undo the most-recent constraints applied. |
|
– |
Reset the diffractometer constraints to defaults. |
|
– |
Compute the UB matrix with two reflections. |
|
– |
Pick a known sample to be the current selection. |
|
– |
List all defined crystal samples. |
|
– |
Define a new crystal sample. |
|
|
TODO: |
Set the azimuthal reference vector to the given \(h, k, l\). |
|
TODO: |
Select a sector. |
|
TODO: |
Calculate zone from two reflections |
|
TODO: |
Move zone |
|
TODO: |
Set the scattering plane |
|
TODO: |
Set zone |