vibesketcher.document.subgroup_distortion¶
Distorting a structure described in a subgroup along the freed parameters (#199).
After vibesketcher.document.symmetry_ops.descend() describes a crystal
in a subgroup H of its group G, the atoms are still where G puts them. Every
H orbit has a site-symmetry group, the operations of H that leave its
representative in place; a displacement u keeps H exactly when u is left
invariant by every one of them, u M = u (ITA Vol. A, 6th ed., Section 1.4.4:
the free coordinates of a Wyckoff position). The invariant subspace of the H
site symmetry is split into the part the detected group G already leaves
free (the parent’s own free parameters: moving along it keeps G) and the
part the descent freed (moving along it lowers the symmetry towards H).
distort() takes one Cartesian displacement per H orbit, stated on the
orbit’s representative site, refuses it unless it lies in that invariant
subspace, and carries it to every other member of the orbit by the operation
of H that maps the representative there (u_m = u M_g). The result is checked:
every operation of H must still map the structure onto itself, and spglib
must detect them. Cell parameters are kept; a strain H allows is not applied.
In a polar subgroup (one whose rotations leave a direction fixed, such as P4mm with c) an equal displacement of every atom along the polar axis is a rigid shift of the origin, not a distortion; the modes report the polar directions so such a shift can be recognised.
Nothing here infers which distortion is physical: amplitudes are stated, and the record lists them by orbit, split into freed and parent-free parts.
Module Attributes
|
The largest displacement one orbit may be given, angstrom. |
Functions
|
A new structure: |
|
Per H orbit, the displacement directions that keep H, split into freed and parent-free. |
|
The distortion record, the detected group after it, or a refusal; nothing stored. |
- vibesketcher.document.subgroup_distortion.distort(structure, *, displacements, identifier, symprec=0.001, min_distance=0.7)[source]¶
A new structure:
structurewith each stated orbit displaced, keeping H.- Parameters:
- Return type:
- vibesketcher.document.subgroup_distortion.distortion_modes(structure, *, symprec=0.001)[source]¶
Per H orbit, the displacement directions that keep H, split into freed and parent-free.
- Parameters:
structure (PeriodicStructure)
symprec (float)
- Return type: