qimpy.math.spherical_harmonics.get_harmonics
- get_harmonics(l_max, r)
Compute real solid harmonics \(r^l Y_{lm}(r)\) for each l <= l_max. Contains l=0, followed by all m for l=1, and so on till l_max along first dimension. Remaining dimensions are same as input r.
- Parameters:
l_max (int) –
r (Tensor) –
- Return type:
Tensor