Английская Википедия:Dirac comb

Материал из Онлайн справочника
Перейти к навигацииПерейти к поиску

Шаблон:Short description

Файл:Dirac comb.svg
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 function with the formula <math display="block">\operatorname{\text{Ш}}_{\ T}(t) \ := \sum_{k=-\infty}^{\infty} \delta(t - k T) </math> for some given period <math>T</math>.[1] Here t is a real variable and the sum extends over all integers k. The Dirac delta function <math>\delta</math> and the Dirac comb are tempered distributions.[2][3] The graph of the function resembles a comb (with the <math>\delta</math>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 <math>\operatorname{\text{Ш}}\,\,(t)</math>, where the period is omitted, represents a Dirac comb of unit period. This implies[1] <math display="block">\operatorname{\text{Ш}}_{\ T}(t) \ = \frac{1}{T}\operatorname{\text{Ш}}\ \!\!\!\left(\frac{t}{T}\right).</math>

Because the Dirac comb function is periodic, it can be represented as a Fourier series based on the Dirichlet kernel:[1] <math display="block">\operatorname{\text{Ш}}_{\ T}(t) = \frac{1}{T}\sum_{n=-\infty}^{\infty} e^{i 2 \pi n \frac{t}{T}}.</math>

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 function that is constantly <math>1</math>, or, alternatively, by using the rep operator (performing periodization) applied to the Dirac delta <math>\delta</math>. Formally, this yields (Шаблон:Harvnb; Шаблон:Harvnb) <math display="block">\operatorname{comb}_T \{1\} = \operatorname{\text{Ш}}_T = \operatorname{rep}_T \{\delta \}, </math> where <math display="block">

\operatorname{comb}_T \{f(t)\} \triangleq \sum_{k=-\infty}^\infty \, f(kT) \, \delta(t - kT)

</math> and <math display="block">

\operatorname{rep}_T \{g(t)\} \triangleq \sum_{k=-\infty}^\infty \, g(t - kT).

</math>

In signal processing, this property on one hand allows sampling a function <math>f(t)</math> by multiplication with <math>\operatorname{\text{Ш}}_{\ T}</math>, and on the other hand it also allows the periodization of <math>f(t)</math> by convolution with <math>\operatorname{\text{Ш}}_T</math> (Шаблон:Harvnb). 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 <math>\delta(t) = \frac{1}{a}\ \delta\!\left(\frac{t}{a}\right)</math>[5] for positive real numbers <math>a</math>, it follows that: <math display="block"> \operatorname{\text{Ш}}_{\ T}\left(t\right) = \frac{1}{T} \operatorname{\text{Ш}}\,\!\left( \frac{t}{T} \right), </math> <math display="block">\operatorname{\text{Ш}}_{\ aT}\left(t\right) = \frac{1}{aT} \operatorname{\text{Ш}}\,\!\left(\frac{t}{aT}\right) = \frac{1}{a} \operatorname{\text{Ш}}_{\ T}\!\!\left(\frac{t}{a}\right).</math> Note that requiring positive scaling numbers <math>a</math> instead of negative ones is not a restriction because the negative sign would only reverse the order of the summation within <math>\operatorname{\text{Ш}}_{\ T}</math>, which does not affect the result.

Fourier series

Шаблон:See also It is clear that <math>\operatorname{\text{Ш}}_{\ T}(t)</math> is periodic with period <math>T</math>. That is, <math display="block">\operatorname{\text{Ш}}_{\ T}(t + T) = \operatorname{\text{Ш}}_{\ T}(t)</math> for all t. The complex Fourier series for such a periodic function is <math display="block"> \operatorname{\text{Ш}}_{\ T}(t) = \sum_{n=-\infty}^{+\infty} c_n e^{i 2 \pi n \frac{t}{T}}, </math> where the Fourier coefficients are (symbolically) <math display="block">\begin{align} c_n &= \frac{1}{T} \int_{t_0}^{t_0 + T} \operatorname{\text{Ш}}_{\ T}(t) e^{-i 2 \pi n \frac{t}{T}}\, dt \quad ( -\infty < t_0 < +\infty ) \\

   &= \frac{1}{T} \int_{-\frac{T}{2}}^{\frac{T}{2}} \operatorname{\text{Ш}}_{\ T}(t) e^{-i 2 \pi n \frac{t}{T}}\, dt \\
   &= \frac{1}{T} \int_{-\frac{T}{2}}^{\frac{T}{2}} \delta(t) e^{-i 2 \pi n \frac{t}{T}}\, dt \\
   &= \frac{1}{T} e^{-i 2 \pi n \frac{0}{T}} \\
   &= \frac{1}{T}.

\end{align}</math>

All Fourier coefficients are 1/T resulting in <math display="block">\operatorname{\text{Ш}}_{\ T}(t) = \frac{1}{T}\sum_{n=-\infty}^{\infty} \!\!e^{i 2 \pi n \frac{t}{T}}.</math>

When the period is one unit, this simplifies to <math display="block">\operatorname{\text{Ш}}\ \!(x) = \sum_{n=-\infty}^{\infty} \!\!e^{i 2 \pi n x}.</math>

Remark: Most rigorously, Riemann or Lebesgue integration over any products including a Dirac delta function yields zero. For this reason, the integration above (Fourier series coefficients determination) must be understood "in the generalized functions sense". It means that, instead of using the characteristic function of an interval applied to the Dirac comb, one uses a so-called Lighthill unitary function as cutout function, see Шаблон:Harvnb, p.62, Theorem 22 for details.

Fourier transform

The Fourier transform of a Dirac comb is also a Dirac comb. For the Fourier transform <math>\mathcal{F}</math> expressed in frequency domain (Hz) the Dirac comb <math>\operatorname{\text{Ш}}_{T}</math> of period <math>T</math> transforms into a rescaled Dirac comb of period <math>1/T,</math> i.e. for

<math>\mathcal{F}\left[ f \right](\xi)= \int_{-\infty}^{\infty} dt f(t) e^{- 2 \pi i\xi t}, </math>
<math>\mathcal{F}\left[ \operatorname{\text{Ш}}_{T} \right](\xi) = \frac{1}{T} \sum_{k=-\infty}^{\infty} \delta(\xi-k \frac{1}{T}) = \frac{1}{T} \operatorname{\text{Ш}}_{\ \frac{1}{T}}(\xi) ~</math>

is proportional to another Dirac comb, but with period <math>1/T</math> in frequency domain (radian/s). The Dirac comb <math>\operatorname{\text{Ш}}</math> of unit period <math>T=1</math> is thus an eigenfunction of <math>\mathcal{F}</math> to the eigenvalue <math>1.</math>

This result can be established (Шаблон:Harvnb) by considering the respective Fourier transforms <math>S_{\tau}(\xi)=\mathcal{F}[s_{\tau}](\xi)</math> of the family of functions <math>s_{\tau}(x)</math> defined by

<math>s_{\tau}(x) = \tau^{-1} e^{-\pi \tau^2 x^2} \sum_{n=-\infty}^{\infty} e^{-\pi \tau^{-2} ( x-n)^{2} }.</math>

Since <math>s_{\tau}(x)</math> is a convergent series of Gaussian functions, and Gaussians transform into Gaussians, each of their respective Fourier transforms <math>S_\tau(\xi)</math> also results in a series of Gaussians, and explicit calculation establishes that

<math>S_{\tau}(\xi) = \tau^{-1} \sum_{m=-\infty}^{\infty} e^{-\pi \tau^2 m^2} e^{-\pi \tau^{-2} ( \xi-m)^{2} }.</math>

The functions <math>s_{\tau}(x)</math> and <math>S_\tau(\xi)</math> are thus each resembling a periodic function consisting of a series of equidistant Gaussian spikes <math>\tau^{-1} e^{-\pi \tau^{-2} ( x-n)^{2} }</math> and <math>\tau^{-1} e^{-\pi \tau^{-2} ( \xi-m)^{2} }</math> whose respective "heights" (pre-factors) are determined by slowly decreasing Gaussian envelope functions which drop to zero at infinity. Note that in the limit <math>\tau \rightarrow 0</math> each Gaussian spike becomes an infinitely sharp Dirac impulse centered respectively at <math>x=n</math> and <math>\xi=m</math> for each respective <math>n</math> and <math>m</math>, and hence also all pre-factors <math> e^{-\pi \tau^2 m^2}</math> in <math>S_{\tau}(\xi)</math> eventually become indistinguishable from <math> e^{-\pi \tau^2 \xi^2}</math>. Therefore the functions <math>s_{\tau}(x)</math> and their respective Fourier transforms <math>S_{\tau}(\xi)</math> 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:

<math>\lim_{\tau \rightarrow 0} s_{\tau}(x) = \operatorname{\text{Ш}}({x}),</math> and <math>\lim_{\tau \rightarrow 0} S_{\tau}(\xi) = \operatorname{\text{Ш}}({\xi}).</math>

Since <math>S_{\tau}=\mathcal{F}[s_{\tau}]</math>, we obtain in this limit the result to be demonstrated:

<math>\mathcal{F}[\operatorname{\text{Ш}}]= \operatorname{\text{Ш}}.</math>

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

<math>\mathcal{F}[\operatorname{\text{Ш}}_T]= \frac{1}{T} \operatorname{\text{Ш}}_{\frac{1}{T}}.</math>

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 <math>\omega=2\pi \xi :</math> for any periodic function <math>f(t)=f(t+T)</math> its Fourier transform

<math>\mathcal{F}\left[ f \right](\omega)=F(\omega) = \int_{-\infty}^{\infty} dt f(t) e^{-i\omega t} </math> obeys:
<math>F(\omega) (1 - e^{i \omega T}) = 0</math>

because Fourier transforming <math>f(t)</math> and <math>f(t+T)</math> leads to <math>F(\omega)</math> and <math>F(\omega) e^{i \omega T}.</math> This equation implies that <math>F(\omega)=0</math> nearly everywhere with the only possible exceptions lying at <math>\omega= k \omega_0,</math> with <math>\omega_0=2\pi / T</math> and <math>k \in \mathbb{Z}.</math> When evaluating the Fourier transform at <math>F(k \omega_0)</math> 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 <math>1/T</math> for each <math>k.</math> This can be summarised by interpreting the Dirac comb as a limit of the Dirichlet kernel such that, at the positions <math>\omega= k \omega_0,</math> all exponentials in the sum <math> \sum\nolimits_{m=-\infty}^{\infty} e^{\pm i \omega m T} </math> point into the same direction and add constructively. In other words, the continuous Fourier transform of periodic functions leads to

<math>F(\omega)= 2 \pi \sum_{k=-\infty}^{\infty} c_k \delta(\omega-k\omega_0) </math> with <math>\omega_0=2 \pi/T,</math>

and

<math>c_k = \frac{1}{T} \int_{-T/2 }^{+T/2} dt f(t) e^{-i 2 \pi k t/T}.</math>

The Fourier series coefficients <math>c_k=1/T</math> for all <math>k</math> when <math>f \rightarrow \operatorname{\text{Ш}}_{T}</math>, i.e.

<math>\mathcal{F}\left[ \operatorname{\text{Ш}}_{T} \right](\omega) = \frac{2 \pi}{T} \sum_{k=-\infty}^{\infty} \delta(\omega-k \frac{2 \pi}{T})</math>

is another Dirac comb, but with period <math>2 \pi/T</math> 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: <math display="block">\operatorname{\text{Ш}}_{\ T}(t) \stackrel{\mathcal{F}}{\longleftrightarrow} \frac{1}{T} \operatorname{\text{Ш}}_{\ \frac{1}{T}}(\xi) = \sum_{n=-\infty}^{\infty}\!\! e^{-i 2\pi \xi n T},</math>

such that the unit period Dirac comb transforms to itself: <math display="block">\operatorname{\text{Ш}}\ \!(t) \stackrel{\mathcal{F}}{\longleftrightarrow} \operatorname{\text{Ш}}\ \!(\xi).</math>

Finally, the Dirac comb is also an eigenfunction of the unitary continuous Fourier transform in angular frequency space to the eigenvalue 1 when <math>T=\sqrt{2 \pi}</math> because for the unitary Fourier transform

<math>\mathcal{F}\left[ f \right](\omega)=F(\omega) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} dt f(t) e^{-i\omega t}, </math>

the above may be re-expressed as <math display="block">\operatorname{\text{Ш}}_{\ T}(t) \stackrel{\mathcal{F}}{\longleftrightarrow} \frac{\sqrt{2\pi}}{T} \operatorname{\text{Ш}}_{\ \frac{2\pi}{T}}(\omega) = \frac{1}{\sqrt{2\pi}}\sum_{n=-\infty}^{\infty} \!\!e^{-i\omega nT}.</math>

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. <math display="block"> (\operatorname{\text{Ш}}_{\ T} x)(t) = \sum_{k=-\infty}^{\infty} \!\! x(t)\delta(t - kT) = \sum_{k=-\infty}^{\infty}\!\! x(kT)\delta(t - kT).</math>

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. <math display="block"> \operatorname{\text{Ш}}_{\ T} x \ \stackrel{\mathcal{F}}{\longleftrightarrow}\ \frac{1}{T}\operatorname{\text{Ш}}_\frac{1}{T} * X</math>

Since convolution with a delta function <math>\delta(t-kT)</math> is equivalent to shifting the function by <math>kT</math>, convolution with the Dirac comb corresponds to replication or periodic summation:

<math> (\operatorname{\text{Ш}}_{\ \frac{1}{T}}\! * X)(f) =\! \sum_{k=-\infty}^{\infty} \!\!X\!\left(f - \frac{k}{T}\right) </math>

This leads to a natural formulation of the Nyquist–Shannon sampling theorem. If the spectrum of the function <math>x</math> contains no frequencies higher than B (i.e., its spectrum is nonzero only in the interval <math>(-B, B)</math>) then samples of the original function at intervals <math>\tfrac{1}{2B}</math> 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.

<math> \operatorname{\text{Ш}}_{\ \!\frac{1}{2B}} x\ \ \stackrel{\mathcal{F}}{\longleftrightarrow}\ \ 2B\, \operatorname{\text{Ш}}_{\ 2B} * X</math>
<math> \frac{1}{2B}\Pi\left(\frac{f}{2B}\right) (2B \,\operatorname{\text{Ш}}_{\ 2B} * X) = X</math>

In time domain, this "multiplication with the rect function" is equivalent to "convolution with the sinc function" (Шаблон:Harvnb, p.33-34). 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 Шаблон:Harvnb, p.62, Theorem 22 for details.

Use in directional statistics

Шаблон:Unreferenced section

In directional statistics, the Dirac comb of period <math>2\pi</math> 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 <math>(x)</math> is usually distributed over the real-number line, or some subset thereof, and the probability density of <math>x</math> is a function whose domain is the set of real numbers, and whose integral from <math>-\infty</math> to <math>+\infty</math> is unity. In directional statistics, the random variable <math>(\theta)</math> is distributed over the unit circle, and the probability density of <math>\theta</math> is a function whose domain is some interval of the real numbers of length <math>2\pi</math> 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 <math>2\pi</math> with an arbitrary function of period <math>2\pi</math> over the unit circle yields the value of that function at zero.

See also

References

Шаблон:Reflist

Further reading

Шаблон:ProbDistributions