radtools.ORCC.variation#

property

property ORCC.variation#

Variation of the lattice, if any.

For the Lattice return "Lattice".

For the Bravais lattice with only one variation the name of the class is returned.

For the variation of each Bravais lattice type see corresponding variation attribute.

Returns:
variationstr

Variation of the lattice.

Examples

>>> import radtools as rad
>>> l = rad.lattice_example("cub")
>>> l.variation
'CUB'
>>> import radtools as rad
>>> l = rad.lattice_example("BCT1")
>>> l.variation
'BCT1'
>>> import radtools as rad
>>> l = rad.lattice_example("MCLC4")
>>> l.variation
'MCLC4'