Window function: Difference between revisions

Content deleted Content added
Citation bot (talk | contribs)
Removed proxy/dead URL that duplicated identifier. Removed access-date with no URL. | Use this bot. Report bugs. | Suggested by Headbomb | Linked from Wikipedia:WikiProject_Academic_Journals/Journals_cited_by_Wikipedia/Sandbox2 | #UCB_webform_linked 674/686
picture layout; deleted excess blank lines
Line 10:
 
== Applications ==
 
Window functions are used in spectral [[frequency spectrum#spectral analysis|analysis]]/modification/[[Overlap–add method#resynthesis|resynthesis]],<ref name=OLA/> the design of [[finite impulse response]] filters, merging multiscale and multidimensional datasets,<ref>{{Cite journal |last1=Ajala |first1=R. |last2=Persaud |first2=P. |title=Ground-Motion Evaluation of Hybrid Seismic Velocity Models |journal=The Seismic Record|date=2022 |volume=2 |issue=3 |pages=186–196 |doi=10.1785/0320220022 |s2cid=251504921 |doi-access=free }}</ref><ref>{{Cite journal |last1=Ajala |first1=R. |last2=Persaud |first2=P. |title=Effect of Merging Multiscale Models on Seismic Wavefield Predictions Near the Southern San Andreas Fault |url=https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2021JB021915 |journal=Journal of Geophysical Research: Solid Earth |date=2021 |language=en |volume=126 |issue=10 |doi=10.1029/2021JB021915 |s2cid=239654900 |issn=2169-9313}}</ref> as well as [[beamforming]] and [[Antenna (radio)|antenna]] design.
 
[[File:Spectral_leakage_caused_by_%22windowing%22.svg|thumb|351px400px|Figure 2: Windowing a sinusoid causes spectral leakage. The same amount of leakage occurs whether there are an integer (blue) or non-integer (red) number of cycles within the window (rows 1 and 2). When the sinusoid is sampled and windowed, its [[discrete-time Fourier transform]] (DTFT) also exhibits the same leakage pattern (rows 3 and 4). But when the DTFT is only sparsely sampled, at a certain interval, it is possible (depending on your point of view) to: (1) avoid the leakage, or (2) create the illusion of no leakage. For the case of the blue DTFT, those samples are the outputs of the [[discrete Fourier transform]] (DFT). The red DTFT has the same interval of zero-crossings, but the DFT samples fall in-between them, and the leakage is revealed.]]
 
=== Spectral analysis ===
 
{{Main|Spectral leakage}}
 
Line 23 ⟶ 22:
 
=== Filter design ===
 
{{Main|Filter design}}
 
Line 29 ⟶ 27:
 
=== Statistics and curve fitting ===
 
{{Main|kernel (statistics)}}
 
Line 35 ⟶ 32:
 
=== Rectangular window applications ===
 
==== Analysis of transients ====
 
Line 41 ⟶ 37:
 
==== Harmonic analysis ====
 
One might wish to measure the harmonic content of a musical note from a particular instrument or the harmonic distortion of an amplifier at a given frequency. Referring again to '''Figure 2''', we can observe that there is no leakage at a discrete set of harmonically-related frequencies sampled by the [[discrete Fourier transform]] (DFT). (The spectral nulls are actually zero-crossings, which cannot be shown on a logarithmic scale such as this.) This property is unique to the rectangular window, and it must be appropriately configured for the signal frequency, as described above.