Skip to content

Commit 5da256c

Browse files
committed
Validated SG 183
1 parent 2f71c21 commit 5da256c

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

src/pyFAI/crystallography/space_groups.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3685,10 +3685,15 @@ def group182_P6322(h: int, k: int, l: int) -> bool:
36853685
return True
36863686

36873687
@staticmethod
3688-
def group183_p6_21_22(h, k, l):
3689-
"""Space group 183: P6_122. (0,0,l): l = 6n."""
3690-
if h == 0 and k == 0:
3691-
return l % 6 == 0
3688+
def group183_P6mm(h: int, k: int, l: int) -> bool:
3689+
"""
3690+
Space group 183: P6mm. Hexagonal system, primitive lattice.
3691+
No reflection conditions — all (h, k, l) are allowed.
3692+
No systematic absences.
3693+
3694+
Source: ITC
3695+
validated
3696+
"""
36923697
return True
36933698

36943699
@staticmethod

0 commit comments

Comments
 (0)