CSL
CSL#
- atomman_gb.csl.get_csl(R: numpy.ndarray[Any, numpy.dtype[numpy._typing._generic_alias.ScalarType]], sigma: int) numpy.ndarray[Any, numpy.dtype[numpy._typing._generic_alias.ScalarType]] #
Return CSL from rotation matrix
R
which transform lattice-1 to lattice-2.
- Parameters
R (array, (3, 3)) – Rotation matrix in fractional coordinates
sigma (int) – Least positive integer such that
sigma * R
andsigma * np.linalg.inv(R)
are integer matrices.- Returns
csl – Intersection of lattice-1 and lattice-2
- Return type
array, (3, 3)