spherical_harmonics#
- de_ebsd.index.spherical.spherical_harmonics(bandwidth, theta, phi)[source]#
Dense complex spherical-harmonic basis
Y_lmon a grid.theta((N_theta,)colatitudes) andphi((N_phi,)azimuths) are the 1-D node vectors of a separable grid. Returns the complex design matrix of shape((L + 1) ** 2, N_theta, N_phi)with slotc(ordering oflm_indices()) holdingY_{l m}evaluated at every(theta_j, phi_k). Matchesscipy.special.sph_harm_y(l, m, theta, phi).