aspcol.planewaves.shd_coeffs_for_planewave
- aspcol.planewaves.shd_coeffs_for_planewave(pw_direction, max_order)
Spherical harmonic coefficients for a plane wave exp(-ikr^T d) where r is the position and d is the direction of the plane wave.
The expansion center is assumed to be at the origin.
- Parameters:
pw_direction (ndarray of shape (num_pw, 3)) – The direction of the plane wave. Must be a unit vector
max_order (int) – The maximum order of the spherical harmonics expansion
- Returns:
shd_coeffs – The spherical harmonic coefficients for the plane wave
- Return type:
ndarray of shape (num_pw, num_coeffs)