wulfric.Crystal.variation#
property
- property Crystal.variation#
Variation of the lattice, if any.
Requires the lattice to be standardized.
For the Bravais lattice with only one variation the
Lattice.type()is returned.- Returns:
- variationstr
Variation of the lattice.
See also
Examples
>>> import wulfric as wulf >>> l = wulf.lattice_example("CUB") >>> l.standardize() >>> l.variation 'CUB'
>>> import wulfric as wulf >>> l = wulf.lattice_example("BCT1") >>> l.standardize() >>> l.variation 'BCT1'
>>> import wulfric as wulf >>> l = wulf.lattice_example("MCLC4") >>> l.standardize() >>> l.variation 'MCLC4'