MatchingData.fourier_padding#
- MatchingData.fourier_padding(**kwargs)[source]#
Computes efficient shape four Fourier transforms and potential associated shifts.
- Returns:
- Tuple[tuple of int, tuple of int, tuple of int, tuple of int]
Tuple with convolution, forward FT, inverse FT shape and corresponding shift.
Examples
>>> conv, fwd, inv, shift = matching_data.fourier_padding(pad_fourier=True)