Allow variable number of k vectors
This commit is contained in:
parent
4e34776f97
commit
9419b6928a
@ -326,7 +326,7 @@ def create():
|
|||||||
x_dir = list(map(float, hkl_in_plane_x.value.split()))
|
x_dir = list(map(float, hkl_in_plane_x.value.split()))
|
||||||
y_dir = list(map(float, hkl_in_plane_y.value.split()))
|
y_dir = list(map(float, hkl_in_plane_y.value.split()))
|
||||||
|
|
||||||
k = np.array(k_vectors.value.split()).astype(float).reshape(3, 3)
|
k = np.array(k_vectors.value.split()).astype(float).reshape(-1, 3)
|
||||||
tol_k = 0.1
|
tol_k = 0.1
|
||||||
|
|
||||||
# Plotting options
|
# Plotting options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user