wulfric.cell.get_centring_type#

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

Centring type.

Parameters:
lattice_typestr, optional

One of the 14 lattice types. Case-insensitive.

Returns:
centring_typestr

Centring type of the lattice.

Notes

See: Pearson symbol

Examples

>>> import wulfric as wulf
>>> wulf.cell.get_centring_type("CUB")
'P'
>>> wulf.cell.get_centring_type("MCLC")
'S'
>>> wulf.cell.get_centring_type("Tri")
'P'
>>> wulf.cell.get_centring_type("ORCC")
'S'