Definitions and conventions¶

Information in this page is valid for spglib 1.8.1 or later. The definitions of transformation matrix and origin shift were different in the previous versions.

References¶

Some references about crystallographic definitions and conventions are shown below. Though spglib may not follow them fully, it doesn’t mean spglib doesn’t respect them, rather it is due to the lack of understanding by the author of spglib.

• International Tables for Crystallography.
• Bilbao Crystallographic Server. The references of many useful papers are found at http://www.cryst.ehu.es/wiki/index.php/Articles.
• Ulrich Müller, “Symmetry Relationships between Crystal Structures”
• E. Parthé, K. Cenzual, and R. E. Gladyshevskii, “Standardization of crystal structure data as an aid to the classification of crystal structure types”, Journal of Alloys and Compounds, 197, 291-301 (1993). [doi2]
• E. Parthé and L. M. Gelato, “The ’best’ unit cell for monoclinic structures consistent with b axis unique and cell choice 1 of international tables for crystallography (1983)”, Acta Cryst. A 41, 142-151 (1985) [doi3]
• E. Parthé and L. M. Gelato, “The standardization of inorganic crystal-structure data”, Acta Cryst. A 40, 169-183 (1984) [doi4]
• S. Hall, “Space-group notation with an explicit origin”, Acta Cryst. A 37, 517-525 (1981) [doi1]

Basis vectors or ¶

In spglib, basis vectors are represented by three column vectors:

in Cartesian coordinates. Depending on the situation, is used instead of .

Atomic point coordinates ¶

Coordinates of an atomic point are represented as three fractional values relative to basis vectors as follows,

where . A position vector in Cartesian coordinates is obtained by

or

Symmetry operation ¶

A symmetry operation consists of a pair of the rotation part and translation part , and is represented as in the spglib document. The symmetry operation transfers to as follows:

Transformation matrix and origin shift ¶

The transformation matrix changes choice of basis vectors as follows

where and are the basis vectors of an arbitrary system and of a starndardized system, respectively. Transformation matrix doesn’t rotate a crystal in Cartesian coordinates, but just changes the choices of basis vectors.

The origin shift gives the vector from the origin of the standardized system to the origin of the arbitrary system ,

Origin shift doesn’t move a crystal in Cartesian coordinates, but just changes the origin to measure the coordinates of atomic points.

A change of basis is described by the combination of the transformation matrix and the origin shift denoted by where first the transformation matrix is applied and then origin shift. The points in the standardized system and arbitrary system are related by

or equivalently,

A graphical example is shown below.

(click the figure to enlarge)

In this example,

Conventions of standardized unit cell¶

Choice of basis vectors¶

Using the APIs spg_get_dataset, spg_get_dataset_with_hall_number, or spg_standardize_cell, the starndardized unit cell is obtained. The “starndardized unit cell” in this document means that the (conventional) unit cell structure is standardized by the crystal symmetry and lengths of basis vectors. Crystals are categorized by Hall symbols in 530 different types in terms of 230 space group types, unique axes, settings, and cell choices. Moreover in spglib, lengths of basis vectors are used to choose the order of if the order can not be determined only by the symmetrical conventions.

Transformation to the primitive cell¶

In the standardized unit cells, there are five different centring types available, base centrings of A and C, rhombohedral (R), body centred (I), and face centred (F). The transformation is applied to the standardized unit cell by

where , , and are the basis vectors of the primitive cell and is the transformation matrix from the standardized unit cell to the primitive cell. for centring types are given as follows:

For rhombohedral lattice systems with the choice of hexagonal axes, is applied.

Idealization of unit cell structure¶

Spglib allows tolerance parameters to match a slightly distorted unit cell structure to a space group type with some higher symmetry. Using obtained symmetry operations, the distortion is removed to idealize the unit cell structure. The coordinates of atomic points are idealized using respective site-symmetries (Grosse-Kunstleve et al. (2002)). The basis vectors are idealized by forceing them into respective lattice shapes as follows. In this treatment, except for triclinic crystals, crystals can be rotated in Cartesian coordinates, which is the different type of transformation from that of the change-of-basis transformation explained above.

Triclinic lattice¶

• Niggli reduced cell is used for choosing .
• is set along direction of Cartesian coordinates.
• is set in plane of Cartesian coordinates so that is along direction of Cartesian coordinates.

Monoclinic lattice¶

• axis is taken as the unique axis.
• and
• .
• is set along direction of Cartesian coordinates.
• is set along direction of Cartesian coordinates.
• is set in plane of Cartesian coordinates.

Orthorhombic lattice¶

• .
• is set along direction of Cartesian coordinates.
• is set along direction of Cartesian coordinates.
• is set along direction of Cartesian coordinates.

Tetragonal lattice¶

• .
• .
• is set along direction of Cartesian coordinates.
• is set along direction of Cartesian coordinates.
• is set along direction of Cartesian coordinates.

Rhombohedral lattice¶

• .
• .
• Let , , and projected on plane in Cartesian coordinates be , , and , respectively, and their angles be , , , respectively.
• Let , , and projected along -axis in Cartesian coordinates be , , and , respectively.
• is set along direction of Cartesian coordinates, and and are placed by angles and from counter-clockwise, respectively.
• .
• .
• .

Hexagonal lattice¶

• .
• .
• .
• is set along direction of Cartesian coordinates.
• is set in plane of Cartesian coordinates.
• is set along direction of Cartesian coordinates.

Cubic lattice¶

• .
• .
• is set along direction of Cartesian coordinates.
• is set along direction of Cartesian coordinates.
• is set along direction of Cartesian coordinates.