wulfric.cell.get_pearson_symbol#

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

Pearson symbol.

Parameters:
lattice_typestr, optional

One of the 14 lattice types. Case-insensitive.

Returns:
pearson_symbolstr

Pearson symbol of the lattice.

Notes

See: Pearson symbol

Examples

>>> import wulfric as wulf
>>> wulf.cell.get_pearson_symbol("CUB")
'cP'
>>> wulf.cell.get_pearson_symbol("MCLC")
'mS'
>>> wulf.cell.get_pearson_symbol("Tri")
'aP'
>>> wulf.cell.get_pearson_symbol("ORCC")
'oS'