get_equivalent_hkl#

diffsims.crystallography.get_equivalent_hkl(hkl, operations, unique=False, return_multiplicity=False)[source]#

[Deprecated] Return symmetrically equivalent Miller indices.

Parameters:
hklorix.vector.Vector3d, np.ndarray, list or tuple of int

Miller indices.

operationsorix.quaternion.symmetry.Symmetry

Point group describing allowed symmetry operations.

uniquebool, optional

Whether to return only unique Miller indices. Default is False.

return_multiplicitybool, optional

Whether to return the multiplicity of the input indices. Default is False.

Returns:
new_hklorix.vector.Vector3d

The symmetrically equivalent Miller indices.

multiplicitynp.ndarray

Number of symmetrically equivalent indices. Only returned if return_multiplicity is True.

Notes

Deprecated since version 0.6: Function get_equivalent_hkl() is deprecated and will be removed in version 0.7. Use diffsims.crystallography.ReciprocalLatticeVector.symmetrise() instead.