crystal#
Crystallography-related utilities and functions.
Functions
|
Compute the B matrix of a lattice in float64 (from |
|
Convert the B matrix to the reciprocal metric tensor. |
|
Convert from (U.B)^-1 matrix to metric tensor. |
|
Mark the reflections that are not systematically absent in a space group. |
|
Largest misorientation (degrees) from any orientation to its nearest point of the cubic Rodrigues grid. |
|
Quaternions of the cubochoric grid of rotations, uniform in volume (Rosca et al., 2014; Singh & De Graef, 2016). |
|
Smallest misorientation angle between orientations over a Laue group. |
|
Evaluate JAX in float64 inside a |
|
Return the lattice parameters of a |
|
Proper rotations of a crystal's Laue group, as Cartesian matrices |
|
Get the Busing-Levy B matrix from the direct and reciprocal lattice parameters. |
|
Convert lattice parameters to B matrix (cross-transform). |
|
Convert lattice parameters to metric tensor. |
|
Convert rotation matrices to unit quaternions |
|
Convert rotation matrices (rotation angle below 180 degrees) to Rodrigues vectors. |
|
Get the volume of the (direct or reciprocal space) unit cell from the (direct or reciprocal space) metric tensor. |
|
Convert (direct or reciprocal) metric tensor back to (direct or reciprocal) lattice parameters. |
|
Convert metric tensor to reciprocal metric tensor. |
|
Orientations covering one fundamental zone of a Laue group, and their worst-case spacing. |
|
Multiply quaternions |
|
Convert unit quaternions |
|
List every reflection of a crystal up to a d* (and that diffracts at this wavelength), without absences. |
|
Group reflections into rings of equal d*. |
|
Convert reciprocal metric tensor to metric tensor. |
|
Convert Rodrigues vectors |
|
Return the space-group number of a |
|
Compute |
|
Return a space group's operations as 4 x 4 matrices acting on fractional coordinates. |
|
Replace each orientation by its equivalent |