Non-uniform discrete Fourier transform explained
In applied mathematics, the non-uniform discrete Fourier transform (NUDFT or NDFT) of a signal is a type of Fourier transform, related to a discrete Fourier transform or discrete-time Fourier transform, but in which the input signal is not sampled at equally spaced points or frequencies (or both). It is a generalization of the shifted DFT. It has important applications in signal processing,[1] magnetic resonance imaging,[2] and the numerical solution of partial differential equations.[3]
As a generalized approach for nonuniform sampling, the NUDFT allows one to obtain frequency domain information of a finite length signal at any frequency. One of the reasons to adopt the NUDFT is that many signals have their energy distributed nonuniformly in the frequency domain. Therefore, a nonuniform sampling scheme could be more convenient and useful in many digital signal processing applications. For example, the NUDFT provides a variable spectral resolution controlled by the user.
Definition
The nonuniform discrete Fourier transform transforms a sequence of
complex numbers
into another sequence of complex numbers
defined bywhere
are sample points and
are frequencies. Note that if
and
, then equation reduces to the
discrete Fourier transform. There are three types of NUDFTs.
[4] Note that these types are not universal and different authors will refer to different types by different numbers.
- The nonuniform discrete Fourier transform of type I (NUDFT-I) uses uniform sample points
but nonuniform (i.e. non-integer) frequencies
. This corresponds to evaluating a
generalized Fourier series at equispaced points. It is also known as NDFT
[5] or forward NDFT
[6] [7] - The nonuniform discrete Fourier transform of type II (NUDFT-II) uses uniform (i.e. integer) frequencies
but nonuniform sample points
. This corresponds to evaluating a Fourier series at nonequispaced points. It is also known as adjoint NDFT.
- The nonuniform discrete Fourier transform of type III (NUDFT-III) uses both nonuniform sample points
and nonuniform frequencies
. This corresponds to evaluating a
generalized Fourier series at nonequispaced points. It is also known as NNDFT.
A similar set of NUDFTs can be defined by substituting
for
in equation .Unlike in the uniform case, however, this substitution is unrelated to the inverse Fourier transform.The inversion of the NUDFT is a separate problem, discussed below.
Multidimensional NUDFT
The multidimensional NUDFT converts a
-dimensional array of complex numbers
into another
-dimensional array of complex numbers
defined by
Xk=
xn
| -2\piipn ⋅ \boldsymbol{f |
e | |
| k |
}where
are sample points,
\boldsymbol{f}k\in[0,N1] x [0,N2] x … x [0,Nd]
are frequencies, and
and
are
-dimensional vectors of indices from 0 to
N-1=(N1-1,N2-1,\ldots,Nd-1)
. The multidimensional NUDFTs of types I, II, and III are defined analogously to the 1D case.
[4] Relationship to Z-transform
The NUDFT-I can be expressed as a Z-transform.[8] The NUDFT-I of a sequence
of length
is
X(zk)=X(z)|
, k=0,1,...,N-1,
where
is the Z-transform of
, and
are arbitrarily distinct points in the z-plane. Note that the NUDFT reduces to the DFT when the sampling points are located on the unit circle at equally spaced angles.
Expressing the above as a matrix, we get
where
X=\begin{bmatrix}
X(z0)\\
X(z1)\\
\vdots\\
X(zN-1)
\end{bmatrix},
x=\begin{bmatrix}
x[0]\\
x[1]\\
\vdots\\
x[N-1]
\end{bmatrix},and
D=\begin{bmatrix}
1&
&
& … &
\\
1&
&
& … &
\\
\vdots&\vdots&\vdots&\ddots&\vdots\\
1&
&
& … &
\end{bmatrix}.
Direct inversion of the NUDFT-I
As we can see, the NUDFT-I is characterized by
and hence the
points. If we further factorize
, we can see that
is nonsingular provided the
points are distinct. If
is nonsingular, we can get a unique inverse NUDFT-I as follows:
.
Given
, we can use
Gaussian elimination to solve for
. However, the complexity of this method is
. To solve this problem more efficiently, we first determine
directly by polynomial interpolation:
\hatX[k]=X(zk), k=0,1,...,N-1
.
Then
are the coefficients of the above interpolating polynomial.
Expressing
as the Lagrange polynomial of order
, we get
where
are the fundamental polynomials:
Lk(z)=\prodi\ne
), k=0,1,...,N-1
.
Expressing
by the Newton interpolation method, we get
X(z)=c0+c1(1-z
)+c2(1-z
)+ … +cN-1
),
where
is the divided difference of the
th order of
\hatX[0],\hatX[1],...,\hatX[j]
with respect to
:
The disadvantage of the Lagrange representation is that any additional point included will increase the order of the interpolating polynomial, leading to the need to recompute all the fundamental polynomials. However, any additional point included in the Newton representation only requires the addition of one more term.
We can use a lower triangular system to solve
:
where
X=\begin{bmatrix}
\hatX[0]\\
\hatX[1]\\
\vdots\\
\hatX[N-1]
\end{bmatrix},
c=\begin{bmatrix}
c0\\
c1\\
\vdots\\
cN-1\end{bmatrix},and
L=\begin{bmatrix}
1&0&0& … &0\\
1&(1-z0z
)&0& … &0\\
1&(1-z0z
)&(1-z0z
)(1-z1z
)& … &0\\
\vdots&\vdots&\vdots&\ddots&\vdots\\
1&(1-z0z
)&(1-z0z
)(1-z1z
)& … &
(1-zkz
)
\end{bmatrix}.
By the above equation,
can be computed within
operations. In this way Newton interpolation is more efficient than Lagrange Interpolation unless the latter is modified by
Lk+1(z)=
Lk(z), k=0,1,...,N-1
.
Nonuniform fast Fourier transform
While a naive application of equation results in an
algorithm for computing the NUDFT,
algorithms based on the
fast Fourier transform (FFT) do exist. Such algorithms are referred to as NUFFTs or NFFTs and have been developed based on oversampling and interpolation,
[9] [10] [11] [12] min-max interpolation,
[2] and low-rank approximation.
[13] In general, NUFFTs leverage the FFT by converting the nonuniform problem into a uniform problem (or a sequence of uniform problems) to which the FFT can be applied.
[4] Software libraries for performing NUFFTs are available in 1D, 2D, and 3D.
[14] [15] [16] [17] Applications
The applications of the NUDFT include:
See also
External links
Notes and References
- Book: Bagchi. Sonali. Mitra. Sanjit K.. The Nonuniform Discrete Fourier Transform and Its Applications in Signal Processing. 1999. Springer US. Boston, MA. 978-1-4615-4925-3.
- Fessler. J.A.. Sutton. B.P.. Nonuniform fast fourier transforms using min-max interpolation. IEEE Transactions on Signal Processing. February 2003. 51. 2. 560–574. 10.1109/TSP.2002.807005. 2003ITSP...51..560F. 2027.42/85840. free.
- Lee. June-Yub. Greengard. Leslie. The type 3 nonuniform FFT and its applications. Journal of Computational Physics. June 2005. 206. 1. 1–5. 10.1016/j.jcp.2004.12.004. 2005JCoPh.206....1L.
- Greengard. Leslie. Lee. June-Yub. Accelerating the Nonuniform Fast Fourier Transform. SIAM Review. January 2004. 46. 3. 443–454. 10.1137/S003614450343200X. 2004SIAMR..46..443G. 10.1.1.227.3679.
- Book: Plonka. Gerlind . Gerlind Plonka. Potts. Daniel . Steidl. Gabriele. Gabriele Steidl . Tasche. Manfred . Numerical Fourier Analysis . Birkhäuser . 2019 . 978-3-030-04306-3 . 10.1007/978-3-030-04306-3.
- Web site: PyNUFFT Services . Basic use of PyNUFFT — PyNUFFT 2023.2.2 documentation . pynufft.readthedocs.io . 27 February 2024.
- Web site: The Simons Foundation . Mathematical definitions of transforms — finufft 2.2.0 documentation . finufft.readthedocs.io . 27 February 2024.
- Book: Marvasti. Farokh. Nonuniform Sampling: Theory and Practice. 2001. Springer. New York. 978-1-4615-1229-5. 325–360.
- PhD. Dutt. Alok. Fast Fourier Transforms for Nonequispaced Data. May 1993. Yale University.
- Dutt. Alok. Rokhlin. Vladimir. Fast Fourier Transforms for Nonequispaced Data. SIAM Journal on Scientific Computing. November 1993. 14. 6. 1368–1393. 10.1137/0914081. 1993SJSC...14.1368D .
- Potts. Daniel. Steidl. Gabriele. Gabriele Steidl . Fast Summation at Nonequispaced Knots by NFFT. SIAM Journal on Scientific Computing. January 2003. 24. 6. 2013–2037. 10.1137/S1064827502400984. 2003SJSC...24.2013P .
- Boyd. John P. A fast algorithm for Chebyshev, Fourier, and sinc interpolation onto an irregular grid. Journal of Computational Physics. December 1992. 103. 2. 243–257. 10.1016/0021-9991(92)90399-J. 1992JCoPh.103..243B. 2027.42/29694. free.
- Ruiz-Antolín. Diego. Townsend. Alex. A Nonuniform Fast Fourier Transform Based on Low Rank Approximation. SIAM Journal on Scientific Computing. 20 February 2018. 40. 1. A529–A547. 10.1137/17M1134822. 1701.04492. 2018SJSC...40A.529R . 10902/13767.
- Web site: NUFFT page. cims.nyu.edu.
- Web site: NFFT. www.nfft.org. en.
- Web site: MikaelSlevinsky/FastTransforms.jl. GitHub. en. 2019-02-13.
- Web site: chebfun/chebfun. GitHub. en. 2019-02-07.