Top class for all point groups.
This is an abstract class. Children should define methods for:
- _Uniquify(self,h,k,l)
bring all reflections back to the asymmetric
unit
- _Expand(self,h,k,l)
replicate each reflection to all asymmetric
units
- CrystalSystem()
return the crystal system class corresponding to the
point group.
- FriedelAxes()
return a list of all 2-fold axes in the lattice.
Children should also define:
- doc string
one line description of the point group.
- centrosymmetric
a boolean indicating whether the point group
contains a center of symmetry
- conditions
a tuple containing a subset of the elements
ab, bc, ac, abc, a90, b90, c90, c120,
abg to allow a cell compatibility check.
|
Methods
|
|
Compatible Expand FriedelAxes RedundantUniquify SeqUniquify Uniquify __repr__
|
|
|
Compatible
|
Compatible (
self,
cell,
axcrit,
)
Check whether the current point group is compatible with the
given cell parameters by checking length and angle constraints. |
|
|
Expand
|
Expand ( self, hkl )
Replicate all reflections to all asymmetric units |
|
|
FriedelAxes
|
FriedelAxes ( self )
Return a list of all 2-fold axes in the lattice. |
|
|
RedundantUniquify
|
RedundantUniquify ( self, hkl )
Move reflections to asymmetric unit, keep count of redundancies |
|
|
SeqUniquify
|
SeqUniquify ( self, hkl )
Move reflections to the asymmetric unit, keep all reflections in order |
|
|
Uniquify
|
Uniquify ( self, hkl )
Move reflections to the asymmetric unit |
|
|
__repr__
|
__repr__ ( self )
One line description (class name) |
|