File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,6 @@ FourierTools.select_region
66FourierTools.center_set!
77FourierTools.get_indices_around_center
88FourierTools.center_extract
9+ FourierTools.odd_view
10+ FourierTools.fourier_reverse!
911```
Original file line number Diff line number Diff line change 11export rft_size, fft_center, fftpos
22export expanddims, fourierspace_pixelsize, realspace_pixelsize
33export δ
4- export odd_view, fourier_reverse!
4+ export fourier_reverse!
55
66
77 # get_RFT_scale(real_size) = 0.5 ./ (max.(real_size ./ 2, 1)) # The same as the FFT scale but for the full array in real space!
@@ -403,10 +403,11 @@ end
403403 """
404404 odd_view(arr)
405405
406- creates a view of `arr` the for each even dimension excludes the
406+ creates a view of `arr` that for each even dimension excludes the
407407starting index yielding a view of the array with only odd dimensions.
408408This is useful for operations in Fourier-space which should leave the first index unaltered
409409such as reverse!
410+ Note that an array reversal can also be achieved by using two ffts instead of one fft and one ifft.
410411
411412# Examples
412413```jldoctest
You can’t perform that action at this time.
0 commit comments