You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for writing this package. I am trying to use pyxtal.symmetry.Wyckoff_position.get_all_positions() but am getting incorrect output. Below is the code snippet. I have installed pyxtal=0.5.1.
from pyxtal.symmetry import Group as PyxtalGroup
import numpy as np
space_group_number = 225
asu_frac_coord = np.array([0.1058, 0.0773, 0.0000])
wyckoff_letter = 'j'
pyxtal_space_group = PyxtalGroup(space_group_number, style='spglib')
wyckoff_position = pyxtal_space_group[wyckoff_letter]
orbit = wyckoff_position.get_all_positions(asu_frac_coord)
print(wyckoff_position)
print(orbit)
Output:
Wyckoff position 96j in space group 225 with site symmetry m . .
0, y, z
0, -y, z
0, y, -z
0, -y, -z
z, 0, y
z, 0, -y
-z, 0, y
-z, 0, -y
y, z, 0
...
[[0. 0. 0. ]
[0. 0. 0. ]
[0. 0. 0. ]
[0. 0. 0. ]
[0. 0. 0. ]
[0. 0. 0. ]
[0. 0. 0. ]
[0. 0. 0. ]
[0. 0. 0. ]
[0. 0. 0. ]
...]
Expected output:
Wyckoff position 96j in space group 225 with site symmetry m . .
0, y, z
0, -y, z
0, y, -z
0, -y, -z
z, 0, y
z, 0, -y
-z, 0, y
-z, 0, -y
y, z, 0
...
[[0. 0.1058 0.0773 ]
[0. -0.1058 0.0773 ]
[0. 0.1058 -0.0773 ]
[0. -0.1058 -0.0773 ]
[0.0773 0. 0.1058 ]
[0.0773 0. -0.1058 ]
[-0.0773 0. 0.1058 ]
[-0.0773 0. -0.1058 ]
[0.1058 0.0773 0. ]
...]
I have not verified every space group/Wyckoff position, so I don't know what other cases might exist. Any help on fixing this would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Hi, thanks for writing this package. I am trying to use
pyxtal.symmetry.Wyckoff_position.get_all_positions()
but am getting incorrect output. Below is the code snippet. I have installedpyxtal=0.5.1
.Output:
Expected output:
I have not verified every space group/Wyckoff position, so I don't know what other cases might exist. Any help on fixing this would be greatly appreciated.
The text was updated successfully, but these errors were encountered: