atompy.eval_yl0_polynomial#
- atompy.eval_yl0_polynomial(thetas, *coeffs)[source]#
Evaluate a polynomial of spherical harmonics.
- Parameters:
- thetasarray_like
Polar angle(s) in rad. \(0 \le \theta \le \pi\).
- *coeffs
Coefficients corresponding to the terms. Length of
coeffsdetermines the degree of the polynomial.
- Returns:
- sum_yl0array_like
Sum of spherical harmonics evaluated at
thetas.
See also
Notes