xnn.cnn.fast.spherical_kernels.SpectralPlan#
- class xnn.cnn.fast.spherical_kernels.SpectralPlan(table, J, L, S, so3, padded=False)[source]#
Bases:
objectOne transform between a grid and compact spectra, for the contraction kernels.
- Parameters:
table (Tensor) –
T[(m, n), j, l], shape((2L - 1)^2, J, L)(SO(3)) or(2L - 1, J, L)(S^2), frequencies orderedm, n = -(L - 1) .. L - 1; contiguous, in the precision of the signals.J (int) – Samples of
beta.L (int) – Bandwidth of the spectra.
S (int) – Samples of each FFT axis.
so3 (bool) –
SO(3)grids (two FFT axes) orS^2grids (one).padded (bool, optional) – Blocks of
2L - 1entries per indexmandnfor every degree, centered (m + L - 1) and zero outside|m|, |n| <= l, instead of2l + 1.