util¶
-
hkl.util.
Lattice
¶ alias of
hkl.util.LatticeTuple
-
hkl.util.
get_position_tuple
(axis_names, class_name='Position')¶
-
hkl.util.
hkl_euler_matrix
(euler_x, euler_y, euler_z)¶
-
hkl.util.
new_detector
(dtype=0)¶ Create a new HKL-library detector
-
hkl.util.
to_hkl
(arr)¶ Convert a numpy ndarray to an hkl
Matrix
- Parameters
arr (ndarray) –
- Returns
- Return type
Hkl.Matrix
-
hkl.util.
to_numpy
(mat)¶ Convert an hkl
Matrix
to a numpy ndarray- Parameters
mat (Hkl.Matrix) –
- Returns
- Return type
ndarray