xnn.cnn.fast.spherical_kernels.to_grid#
- xnn.cnn.fast.spherical_kernels.to_grid(z, plan, lead)[source]#
The FFT grids of the inverse transform of degree-blocked spectra, differentiable to any order.
- Parameters:
z (Tensor) – Degree-blocked spectra
(B C K, 2).plan (SpectralPlan) – The table (degree factors folded in) and sizes.
lead (tuple of int) – The leading dimensions
(..., C)of the grids.
- Returns:
The real view of the FFT grid,
(*lead, J, S, S, 2)or(*lead, J, S, 2), zero off the band.- Return type:
Tensor