5.23.2. utils.Ylm_real¶
- eminus.utils.Ylm_real(l, m, G)[source]¶
Calculate real spherical harmonics from cartesian coordinates.
Reference: https://scipython.com/blog/visualizing-the-real-forms-of-the-spherical-harmonics
- Parameters:
l – Angular momentum number.
m – Magnetic quantum number.
G – Reciprocal lattice vector or array of lattice vectors.
- Returns:
Real spherical harmonics.