qimpy.math.spherical_harmonics
Calculate spherical harmonics and their product expansions.
Module Attributes
Maximum l for calculation of harmonics |
|
Maximum l of harmonics in products |
Functions
Compute real solid harmonics \(r^l Y_{lm}(r)\) for each l <= l_max. |
|
Compute real solid harmonics \(r^l Y_{lm}(r)\) for each l <= l_max. |
|
Same as |
|
Same as |
|
Expansion coefficients of products of real harmonics (real Gaunt coefficients) for l <= l_max, as a tensor of shape ((l_max+1)^2, (l_max+1)^2, (2 l_max+1)^2), with each (l, m) indexed by l(l+1)+m, as for the harmonics above. |