wulfric.Crystal.type#

method

Crystal.type(eps_rel=None, angle_tol=None)#

Identify the lattice type.

Parameters:
eps_relfloat, optional

Relative tolerance for the LePage algorithm. By default it is equal to eps_rel.

angle_tolfloat, optional

Angle tolerance for the LePage algorithm. Try to reduce it if the desired lattice type is not identified. In degrees. By default it is equal to angle_tol.

Returns:
lattice_typestr

Bravais lattice type.

See also

lepage

Algorithm for the lattice type identification

variation

Variation of the lattice.