You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* several tools like `ffts`, `ft`, `fftshift_view` etc. allowing simpler use with Fourier transforms
31
+
* Chirp Z-Transform
32
+
* Fractional Fourier Transform
31
33
32
34
Have a look in the [examples folder](examples/) for interactive examples. The [documentation](https://bionanoimaging.github.io/FourierTools.jl/dev/) offers a quick overview.
33
35
36
+
## FFTW Threading
37
+
By default we set 4 Threads. Use `FFTW.set_num_threads(N)` to set `N` threads.
38
+
34
39
35
40
## Cite
36
41
If you use this package in an academic work, please cite us!
Copy file name to clipboardExpand all lines: src/fractional_fourier_transform.jl
+36-6Lines changed: 36 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,17 @@ export frfft
3
3
"""
4
4
frfft(arr, p; shift=false, method=:garcia)
5
5
6
-
Calculates the fractional Fourier transform (FRFFT) of the order `p` of `arr`.
6
+
Calculates the fractional Fast Fourier transform (FRFFT) of the order `p` of `arr`.
7
+
No `dims` argument is supported yet.
7
8
8
-
If `shift=false` the fraction FFT is calculated around the first entry.
9
-
If `shift=true` the FRFT
9
+
If `shift=false` the FRFFT is calculated around the first entry.
10
+
If `shift=true` the FRFFT is calculated aroound the center.
10
11
11
12
12
13
## Methods
13
14
Several implementation exists. The following are implemented:
14
15
15
-
* `method=:garcia`: García, J., Mas, D., & Dorsch, R. G. (1996). Fractional-Fourier-transform calculation through the fast-Fourier-transform algorithm. Applied Optics, 35(35), 7013. doi:10.1364/ao.35.007013
16
+
* `method=:garcia`: A convolutional approach based on 2 FFTs. See García, J., Mas, D., & Dorsch, R. G. (1996). Fractional-Fourier-transform calculation through the fast-Fourier-transform algorithm. Applied Optics, 35(35), 7013. doi:10.1364/ao.35.007013
0 commit comments