ft_utils

Utility functions for Fourier transforms on regularly sampled data.

Functions

dft_postprocess_data(arr, real_grid, ...[, ...])

Post-process the Fourier-space data after DFT.

dft_preprocess_data(arr[, shift, axes, ...])

Pre-process the real-space data before DFT.

realspace_grid(recip_grid, x0[, axes, ...])

Return the real space grid from the given reciprocal grid.

reciprocal_grid(grid[, shift, axes, halfcomplex])

Return the reciprocal of the given regular grid.

reciprocal_space(space[, axes, halfcomplex, ...])

Return the range of the Fourier transform on space.