Crystallographic metric matrix

ID: crystallographic-metric-matrix

The crystallographic metric matrix is the Gram matrix of the three unit cell basis vectors. If has Cartesian columns , then
Here are the angles between ; ; and , respectively. The matrix converts fractional crystallographic coordinate differences into physical lengths: a fractional displacement has squared length .[ref]
For an original oblique cell, choose , , angstroms, and . Then
For ,
Ignoring the off-diagonal entries would instead give , overestimating this distance. The cross terms encode the cell angles.
The reciprocal crystallographic metric matrix is when the reciprocal basis has dot products , with no factor of . Thus the plane spacing for a nonzero Miller index column satisfies
A basis change gives and fractional coordinates , preserving . Distances do not change when the same crystal structure is described in another basis.[ref]

New to topics? Read the docs here!