so3_grid#
- de_ebsd.index.spherical.so3_grid(bandwidth, device=None, dtype=torch.float64)[source]#
The equiangular SOFT SO(3) sampling grid for bandwidth
L.Returns the three 1-D angle vectors
(alpha, beta, gamma)of the separable grid, each of lengthN = 2L + 2(SOFT bandwidthB = L + 1):alpha[j] = 2 pi j / Nandgamma[p] = 2 pi p / N– equiangular in[0, 2 pi), the Fourier grids conjugate to the ordersm', m(so the correlation is an inverse FFT overalphaandgamma);beta[k] = pi (2k + 1) / (2 N)– the2N-point equiangular colatitude grid in(0, pi)(no samples at the poles).
The cross-correlation returned by
so3_cross_correlation()is indexedC[..., j, k, p]on this(alpha, beta, gamma)grid;grid_to_rotation()converts an(j, k, p)index to an orix Rotation.