xnn.cnn.fast.spherical_kernels.to_spectrum#
- xnn.cnn.fast.spherical_kernels.to_spectrum(x, plan)[source]#
Degree-blocked spectra from the FFTs of grid signals, differentiable to any order.
- Parameters:
x (Tensor) – The real view of the FFT,
(..., C, J, S, S, 2)(SO(3)) or(..., C, J, S, 2)(S^2); the leading dimensions before the channels form the batch.plan (SpectralPlan) – The table (quadrature weights folded in) and sizes.
- Returns:
(B C K, 2).- Return type:
Tensor