e3x.so3.irreps.irreps_to_tensor
- e3x.so3.irreps.irreps_to_tensor(x, degree, cartesian_order=True, normalization='racah')[source]
Converts irreducible representations to a traceless symmetric tensor.
- Parameters:
x (
<class 'Float[Array, '... 2*degree+1']'>) – The input irreducible representation.degree (
int) – The degree of the input irreducible representation.cartesian_order (
bool, default:True) – IfTrue, irreps are assumed to be in Cartesian order.normalization ({
'4pi','orthonormal','racah','schmidt'}, default:'racah') – Which normalization is used.
- Returns:
The corresponding traceless symmetric tensor. See
spherical_harmonicsfor more information about the meaning of cartesian_order and normalization.- Raises:
ValueError – If
degreeis not positive or zero, the shape ofxis inconsistent withdegreeornormalizationhas an invalid value.