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
Rwhich transform lattice-1 to lattice-2.
- Parameters
R (array, (3, 3)) – Rotation matrix in fractional coordinates
sigma (int) – Least positive integer such that
sigma * Randsigma * np.linalg.inv(R)are integer matrices.- Returns
csl – Intersection of lattice-1 and lattice-2
- Return type
array, (3, 3)