triqs_dftkit.vasp.symmetry.real_harmonic_rotation

triqs_dftkit.vasp.symmetry.real_harmonic_rotation(R, l)[source]

Rotation matrix of the real (cubic) harmonics of angular momentum l under the Cartesian orthogonal operation R (det = +-1).

Parameters:
R(3, 3) array

Cartesian point-group operation (proper or improper).

lint

Angular momentum (0, 1 and 2 are implemented).

Returns:
(2l+1, 2l+1) ndarray

Orthogonal rotation matrix in the VASP real-harmonic basis.