Dirac comb

From Wikipedia, the free encyclopedia
(Redirected from Sampling function)

Template:Short description Template:DMCA

The graph of the Dirac comb function is an infinite series of Dirac delta functions spaced at intervals of T

In mathematics, a Dirac comb (also known as sha function, impulse train or sampling function) is a periodic generalized function with the formula ШT(t):=k=δ(tkT) for some given period T.[1] Here t is a real variable and the sum extends over all integers k. The Dirac delta function δ and the Dirac comb are tempered distributions.[2][3] The graph of the function resembles a comb (with the δs as the comb's 'teeth'), hence its name and the use of the comb-like Cyrillic letter sha (Ш) to denote the function.

The symbol Ш(t), where the period T is omitted, represents a Dirac comb of unit period: Ш(t):=Ш1(t)=k=δ(tk) This implies[1] ШT(t)=1TШ(t/T).

Because the Dirac comb function is periodic, it can be represented as a Fourier series based on the Dirichlet kernel:[1] ШT(t)=1Tn=ei2πnt/T.

The Dirac comb function allows one to represent both continuous and discrete phenomena, such as sampling and aliasing, in a single framework of continuous Fourier analysis on tempered distributions, without any reference to Fourier series. The Fourier transform of a Dirac comb is another Dirac comb. Owing to the convolution theorem on tempered distributions which turns out to be the Poisson summation formula, in signal processing, the Dirac comb allows modelling sampling by multiplication with it, but it also allows modelling periodization by convolution with it.[4]

Dirac-comb identity

The Dirac comb can be constructed in two ways, either by using the comb operator (performing sampling) applied to the constant function 1, or, alternatively, by using the rep operator (performing periodization) applied to the Dirac delta δ. Formally, this yields the following:Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. combT{1}=ШT=repT{δ}, where combT{f(t)}k=f(kT)δ(tkT) and repT{g(t)}k=g(tkT).

In signal processing, this property on one hand allows sampling a function f(t) by multiplication with ШT, and on the other hand it also allows the periodization of f(t) by convolution with ШT.Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. The Dirac comb identity is a particular case of the Convolution Theorem for tempered distributions.

Scaling

The scaling property of the Dirac comb follows from the properties of the Dirac delta function. Since δ(t)=1aδ(ta)[5] for positive real numbers a, it follows that: ШT(t)=1TШ(tT), ШaT(t)=1aTШ(taT)=1aШT(ta). Note that requiring positive scaling numbers a instead of negative ones is not a restriction because the negative sign would only reverse the order of the summation within ШT, which does not affect the result.

Fourier series

Script error: No such module "Labelled list hatnote". It is clear that ШT(t) is periodic with period T. That is, ШT(t+T)=ШT(t) for all t. The complex Fourier series for such a periodic function is ШT(t)=n=+cnei2πnt/T, where (using distribution theory) the Fourier coefficients are cn=1Tt0t0+TШT(t)ei2πnt/Tdt(<t0<+)=1TT/2T/2ШT(t)ei2πnt/Tdt=1TT/2T/2δ(t)ei2πnt/Tdt=1Tei2πn0T=1T.

All Fourier coefficients are 1/T, resulting in ШT(t)=1Tn=ei2πnt/T.

When the period is one unit, this simplifies to Ш(x)=n=ei2πnx. This is a divergent series, when understood as a series of ordinary complex numbers, but becomes convergent in the sense of distributions.

A "square root" of the Dirac comb is employed in some applications to physics, specifically:[6]δN(1/2)(ξ)=1NTν=0N1ei2πTξν,limN|δN(1/2)(ξ)|2=k=δ(ξkT). However this is not a distribution in the ordinary sense.

Fourier transform

The Fourier transform of a Dirac comb is also a Dirac comb. For the Fourier transform expressed in frequency domain (Hz) the Dirac comb ШT of period T transforms into a rescaled Dirac comb of period 1/T, i.e. for

[f](ξ)=dtf(t)e2πiξt,
[ШT](ξ)=1Tk=δ(ξk1T)=1TШ1T(ξ)

is proportional to another Dirac comb, but with period 1/T in frequency domain (radian/s). The Dirac comb Ш of unit period T=1 is thus an eigenfunction of to the eigenvalue 1.

This result can be establishedLua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. by considering the respective Fourier transforms Sτ(ξ)=[sτ](ξ) of the family of functions sτ(x) defined by

sτ(x)=τ1eπτ2x2n=eπτ2(xn)2.

Since sτ(x) is a convergent series of Gaussian functions, and Gaussians transform into Gaussians, each of their respective Fourier transforms Sτ(ξ) also results in a series of Gaussians, and explicit calculation establishes that

Sτ(ξ)=τ1m=eπτ2m2eπτ2(ξm)2.

The functions sτ(x) and Sτ(ξ) are thus each resembling a periodic function consisting of a series of equidistant Gaussian spikes τ1eπτ2(xn)2 and τ1eπτ2(ξm)2 whose respective "heights" (pre-factors) are determined by slowly decreasing Gaussian envelope functions which drop to zero at infinity. Note that in the limit τ0 each Gaussian spike becomes an infinitely sharp Dirac impulse centered respectively at x=n and ξ=m for each respective n and m, and hence also all pre-factors eπτ2m2 in Sτ(ξ) eventually become indistinguishable from eπτ2ξ2. Therefore the functions sτ(x) and their respective Fourier transforms Sτ(ξ) converge to the same function and this limit function is a series of infinite equidistant Gaussian spikes, each spike being multiplied by the same pre-factor of one, i.e., the Dirac comb for unit period:

limτ0sτ(x)=Ш(x)   and   limτ0Sτ(ξ)=Ш(ξ).

Since 1, we obtain in this limit the result to be demonstrated:

[Ш]=Ш.

The corresponding result for period T can be found by exploiting the scaling property of the Fourier transform,

[ШT]=1TШ1T.

Another manner to establish that the Dirac comb transforms into another Dirac comb starts by examining continuous Fourier transforms of periodic functions in general, and then specialises to the case of the Dirac comb. In order to also show that the specific rule depends on the convention for the Fourier transform, this will be shown using angular frequency with ω=2πξ: for any periodic function f(t)=f(t+T) its Fourier transform

[f](ω)=F(ω)=dtf(t)eiωt obeys:
F(ω)(1eiωT)=0

because Fourier transforming f(t) and f(t+T) leads to F(ω) and F(ω)eiωT. This equation implies that F(ω)=0 nearly everywhere with the only possible exceptions lying at ω=kω0, with ω0=2π/T and k. When evaluating the Fourier transform at F(kω0) the corresponding Fourier series expression times a corresponding delta function results. For the special case of the Fourier transform of the Dirac comb, the Fourier series integral over a single period covers only the Dirac function at the origin and thus gives 1/T for each k. This can be summarised by interpreting the Dirac comb as a limit of the Dirichlet kernel such that, at the positions ω=kω0, all exponentials in the sum m=e±iωmT point into the same direction and add constructively. In other words, the continuous Fourier transform of periodic functions leads to

F(ω)=2πk=ckδ(ωkω0) with ω0=2π/T,

and

ck=1TT/2+T/2dtf(t)ei2πkt/T.

The Fourier series coefficients ck=1/T for all k when fШT, i.e.

[ШT](ω)=2πTk=δ(ωk2πT)

is another Dirac comb, but with period 2π/T in angular frequency domain (radian/s).

As mentioned, the specific rule depends on the convention for the used Fourier transform. Indeed, when using the scaling property of the Dirac delta function, the above may be re-expressed in ordinary frequency domain (Hz) and one obtains again: ШT(t)1TШ1T(ξ)=n=ei2πξnT, such that the unit period Dirac comb transforms to itself: Ш (t)Ш (ξ).

Finally, the Dirac comb is also an eigenfunction of the unitary continuous Fourier transform in angular frequency space to the eigenvalue 1 when T=2π because for the unitary Fourier transform

[f](ω)=F(ω)=12πdtf(t)eiωt,

the above may be re-expressed as ШT(t)2πTШ2πT(ω)=12πn=eiωnT.

Sampling and aliasing

Multiplying any function by a Dirac comb transforms it into a train of impulses with integrals equal to the value of the function at the nodes of the comb. This operation is frequently used to represent sampling. (ШTx)(t)=k=x(t)δ(tkT)=k=x(kT)δ(tkT).

Due to the self-transforming property of the Dirac comb and the convolution theorem, this corresponds to convolution with the Dirac comb in the frequency domain. ШTx  1TШ1TX

Since convolution with a delta function δ(tkT) is equivalent to shifting the function by kT, convolution with the Dirac comb corresponds to replication or periodic summation:

(Ш1TX)(f)=k=X(fkT)

This leads to a natural formulation of the Nyquist–Shannon sampling theorem. If the spectrum of the function x contains no frequencies higher than B (i.e., its spectrum is nonzero only in the interval (B,B)) then samples of the original function at intervals 12B are sufficient to reconstruct the original signal. It suffices to multiply the spectrum of the sampled function by a suitable rectangle function, which is equivalent to applying a brick-wall lowpass filter.

Ш12Bx    2BШ2BX
12BΠ(f2B)(2BШ2BX)=X

In time domain, this "multiplication with the rect function" is equivalent to "convolution with the sinc function".Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found. Hence, it restores the original function from its samples. This is known as the Whittaker–Shannon interpolation formula.

Remark: Most rigorously, multiplication of the rect function with a generalized function, such as the Dirac comb, fails. This is due to undetermined outcomes of the multiplication product at the interval boundaries. As a workaround, one uses a Lighthill unitary function instead of the rect function. It is smooth at the interval boundaries, hence it yields determined multiplication products everywhere, see Lua error in package.lua at line 80: module 'Module:Footnotes/anchor_id_list' not found., Theorem 22 for details.

Use in directional statistics

Page Module:Message box/ambox.css has no content.

In directional statistics, the Dirac comb of period 2π is equivalent to a wrapped Dirac delta function and is the analog of the Dirac delta function in linear statistics.

In linear statistics, the random variable (x) is usually distributed over the real-number line, or some subset thereof, and the probability density of x is a function whose domain is the set of real numbers, and whose integral from to + is unity. In directional statistics, the random variable (θ) is distributed over the unit circle, and the probability density of θ is a function whose domain is some interval of the real numbers of length 2π and whose integral over that interval is unity. Just as the integral of the product of a Dirac delta function with an arbitrary function over the real-number line yields the value of that function at zero, so the integral of the product of a Dirac comb of period 2π with an arbitrary function of period 2π over the unit circle yields the value of that function at zero.

See also

Notes

Page Template:Reflist/styles.css has no content.

  1. ^ a b c Page Module:Citation/CS1/styles.css has no content."The Dirac Comb and its Fourier Transform". dspillustrations.com. Retrieved 28 June 2022.
  2. ^ Page Module:Citation/CS1/styles.css has no content.Schwartz, L. (1951). Théorie des distributions. Vol. I–II. Paris: Hermann.
  3. ^ Page Module:Citation/CS1/styles.css has no content.Strichartz, R. (1994). A Guide to Distribution Theory and Fourier Transforms. CRC Press. ISBN 0-8493-8273-4.
  4. ^ Page Module:Citation/CS1/styles.css has no content.Bracewell, R. N. (1986) [1st ed. 1965, 2nd ed. 1978]. The Fourier Transform and Its Applications (revised ed.). McGraw-Hill.
  5. ^ Page Module:Citation/CS1/styles.css has no content.Rahman, M. (2011). Applications of Fourier Transforms to Generalized Functions. Southampton: WIT Press. ISBN 978-1-84564-564-9.
  6. ^ Page Module:Citation/CS1/styles.css has no content.Schleich, Wolfgang (2001). Quantum optics in phase space (1st ed.). Wiley-VCH. pp. 683–684. ISBN 978-3-527-29435-0.

References

Further reading

Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.