scipy.special.sph_harm

scipy.special.sph_harm()

Compute spherical harmonics.

This is a ufunc and may take scalar or array arguments like any other ufunc. The inputs will be broadcasted against each other.

Parameters:
  • m : int |m| <= n The order of the harmonic.
  • n : int >= 0 The degree of the harmonic.
  • theta : float [0, 2*pi] The azimuthal (longitudinal) coordinate.
  • phi : float [0, pi] The polar (colatitudinal) coordinate.
Returns:
  • y_mn : complex float The harmonic $Y^m_n$ sampled at theta and phi.

Previous topic

scipy.special.lpmv

Next topic

scipy.special.lpn

This Page

Quick search