as_positions#
- libcasm.configuration.io.spglib.as_positions(
- obj: Structure | Prim | Prim | Configuration | ConfigurationWithProperties,
Get spglib positions from a structure, configuration, or prim
- Parameters:
obj (
CasmObjectWithPositions
) – An atomic structure, configuration, or prim.- Returns:
positions – The positions, as rows, in fractional coordinates.
- Return type:
list[list[float]]