as_translations#

libcasm.configuration.io.spglib.as_translations(
elements: list[SymOp],
lattice: Lattice,
)[source]#

Get spglib translations from a list of SymOp

Parameters:
  • elements (list[SymOp]) – A list of symmetry group operations

  • lattice (Lattice) – The associated lattice

Returns:

translations – The translation vectors from the symmetry group operations, in fractional coordinates.

Return type:

list[list[float]], shape=(n_elements, 3)