spherical#

Spherical-harmonic and SO(3) machinery behind the spherical indexer.

Functions

euler_zyz_to_orix(alpha, beta, gamma)

Convert active ZYZ Euler angles to an orix.quaternion.Rotation.

forward_sht(values, theta, phi, bandwidth[, ...])

Stateless forward transform on a separable grid (dense design matrix).

gauss_legendre_grid(bandwidth[, device, dtype])

Build the exact quadrature grid for bandwidth L.

grid_to_rotation(bandwidth[, alpha_index, ...])

Map SOFT grid indices to orix Rotations.

inverse_sht(coeffs, theta, phi)

Stateless inverse transform: coefficients a_lm -> samples on a grid.

lm_indices(bandwidth[, device])

Degree and order of each packed coefficient slot.

n_coefficients(bandwidth)

Number of packed coefficients for a transform of the given bandwidth L.

n_orientations(bandwidth)

Number of SOFT grid points (2L + 2) ** 3 for bandwidth L.

so3_cross_correlation(master_coeffs, ...[, ...])

Cross-correlation of two harmonic spectra over all of SO(3), via SOFT.

so3_grid(bandwidth[, device, dtype])

The equiangular SOFT SO(3) sampling grid for bandwidth L.

spherical_harmonics(bandwidth, theta, phi)

Dense complex spherical-harmonic basis Y_lm on a grid.

wigner_D(bandwidth, alpha, beta, gamma)

Full complex Wigner-D matrices D^l_{m'm}(alpha, beta, gamma) for l <= L.

wigner_d(bandwidth, beta)

Small Wigner-d matrices d^l_{m'm}(beta) for all l <= bandwidth.

wigner_small_d(ell, beta)

Real small Wigner-d matrix d^l_{m'm}(beta) for a single degree ell.

Classes

SphericalHarmonicTransform(bandwidth, *[, ...])

A cached, separable spherical harmonic transform for a fixed bandwidth.

SphericalIndexer(master, detector[, ...])

Index EBSD patterns against a master pattern by spherical cross-correlation.