wulfric.cell.get_name#

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

Human-readable name of the Bravais lattice type.

Parameters:
lattice_typestr, optional

One of the 14 lattice types. Case-insensitive.

Returns:
namestr

Name of the Bravais lattice type.

Examples

>>> import wulfric as wulf
>>> wulf.cell.get_name("CUB")
'Cubic'
>>> wulf.cell.get_name("MCLC")
'C-centered monoclinic'