wulfric.cell.get_crystal_family#

wulfric.cell.get_crystal_family(lattice_type)[source]#

Crystal family.

Parameters:
lattice_typestr, optional

One of the 14 lattice types. Case-insensitive.

Returns:
crystal_familystr

Crystal family of the lattice.

Notes

See: Pearson symbol

Examples

>>> import wulfric as wulf
>>> wulf.cell.get_crystal_family("CUB")
'c'
>>> wulf.cell.get_crystal_family("MCLC")
'm'
>>> wulf.cell.get_crystal_family("Tri")
'a'
>>> wulf.cell.get_crystal_family("ORCC")
'o'