SPEC commands in hklpy2#
Make it easier for users (especially SPEC users) to learn and remember the tools in Bluesky’s hklpy2 package.
Quick Reference Table
SPEC |
hklpy2 |
description |
|---|---|---|
– |
Select the default diffractometer. |
|
|
Report (full) diffractometer settings. (pa: print all) |
|
|
Report (brief) diffractometer settings. (wh: where) |
|
|
|
Set the diffractometer mode for the |
– |
|
List all available diffractometer modes. |
– |
Define a new crystal sample. |
|
|
Update current sample lattice. |
|
– |
|
Pick a known sample to be the current selection. |
– |
|
List all defined crystal samples. |
|
Define a crystal reflection and its motor positions. |
|
|
Define a crystal reflection and its motor positions. |
|
|
Exchange primary & secondary orientation reflections. |
|
|
|
(command line) Move motors of |
|
|
(bluesky plan) Move motors of |
|
Prints calculated motor settings for the given \(h, k, l\). |
|
|
Refinement of lattice parameters from list of 3 or more reflections |
|
|
not necessary |
Initializes the reflections file |
|
not necessary |
Closes the reflections file |
– |
|
Show the current set of constraints. |
|
|
Set the angle branch-cut (wrap point) for an axis; maps computed angles into the range from |
|
Hold an axis constant during the diffractometer |
|
|
Remove a preset constant value for an axis. |
|
– |
Compute the UB matrix with two reflections. |
|
|
Set the azimuthal reference vector to the given \(h, k, l\). |
|
|
|
Select a sector. |
|
Calculate zone axis from two vectors. |
|
|
Move to a position in the zone. |
|
|
Set the scattering plane. |
|
|
Set zone axis directly. |