pyextal.metricΒΆ
Metric Tensor Calculations.
This module provides functions for performing crystallographic calculations using a Gram matrix (metric tensor). These functions are essential for working with crystal lattices where the basis vectors are not necessarily orthogonal.
Functions
|
Calculates the angle between two vectors in a space defined by a Gram matrix. |
|
Calculates the magnitude (norm) of a vector using a Gram matrix. |
|
Calculates the inner product of two vectors using a Gram matrix. |
|
Calculates the volume of the unit cell from its Gram matrix. |