Defines SymmetryGroup parent class and PointGroup and SpaceGroup classes. Shyue Ping Ong thanks Marc De Graef for his generous sharing of his SpaceGroup data as published in his textbook “Structure of Materials”.
Bases: symmetry.groups.SymmetryGroup
Class representing a Point Group, with generators and symmetry operations.
Full International or Hermann-Mauguin Symbol.
List of generator matrices. Note that 3x3 matrices are used for Point Groups.
Full set of symmetry operations as matrices.
Initializes a Point Group from its international symbol.
Parameters: | int_symbol (str) – International or Hermann-Mauguin Symbol. |
---|
Bases: symmetry.groups.SymmetryGroup
Class representing a SpaceGroup.
Full International or Hermann-Mauguin Symbol.
International number
List of generator matrices. Note that 4x4 matrices are used for Space Groups.
Initializes a Space Group from its full international symbol.
Parameters: | int_symbol (str) – Full International or Hermann-Mauguin Symbol. The notation is a LaTeX-like string, with screw axes being represented by an underscore. For example, “P6_3/mmc”. |
---|
Obtains a SpaceGroup from its international number.
Parameters: |
|
---|---|
Returns: | (SpaceGroup) |
Bases: object
Returns the orbit for a point.
Parameters: |
|
---|---|
Returns: | ([array]) Orbit for point. |
Extremely efficient nd-array comparison using numpy’s broadcasting. This function checks if a particular array a, is present in a list of arrays. It works for arrays of any size, e.g., even matrix searches.
Obtains a SpaceGroup name from its international number.
Parameters: |
|
---|---|
Returns: | (str) Spacegroup symbol |