WOLFRAM

represents a Lanczos window function of x.

Details

  • LanczosWindow, also known as the sinc window, is typically used for antialiasing and resampling.
  • Window functions are used in applications where data is processed in short segments and have a smoothing effect by gradually tapering data values to zero at the ends of each segment.
  • LanczosWindow[x] is equal to  (sin(2 pi x))/(2 pi x) -1/2<=x<=1/2; 0 TemplateBox[{x}, Abs]>1/2; .
  • LanczosWindow automatically threads over lists.

Examples

open allclose all

Basic Examples  (3)Summary of the most common use cases

Shape of a 1D Lanczos window:

Out[1]=1

Shape of a 2D Lanczos window:

Out[1]=1

Extract the continuous function representing the Lanczos window:

Out[1]=1

Scope  (4)Survey of the scope of standard use cases

Evaluate numerically:

Out[1]=1

Translated and dilated Lanczos window:

Out[1]=1

2D Lanczos window with a circular support:

Out[1]=1

Discrete Lanczos window of length 15:

Out[1]=1

Discrete 15×10 2D Lanczos window:

Out[2]=2

Applications  (4)Sample problems that can be solved with this function

Decrease the size of an image by a factor of 5 using the Lanczos method:

Out[2]=2

By default, "Lanczos" resampling is used when resampling audio signals:

Out[1]=1
Out[2]=2

Use a window specification to calculate sample PowerSpectralDensity:

Calculate the spectrum:

Compare to spectral density calculated without a windowing function:

Out[4]=4

The plot shows that window smooths the spectral density:

Out[5]=5

Compare to the theoretical spectral density of the process:

Out[6]=6

Use a window specification for time series estimation:

Specify window for spectral estimator:

Out[2]=2

Properties & Relations  (2)Properties of the function, and connections to other functions

The area under the Lanczos window:

Out[1]=1

Normalize to create a window with unit area:

Out[2]=2

Fourier transform of the Lanczos window:

Out[1]=1

Power spectrum of the Lanczos window:

Out[2]=2
Wolfram Research (2012), LanczosWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/LanczosWindow.html.
Wolfram Research (2012), LanczosWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/LanczosWindow.html.

Text

Wolfram Research (2012), LanczosWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/LanczosWindow.html.

Wolfram Research (2012), LanczosWindow, Wolfram Language function, https://reference.wolfram.com/language/ref/LanczosWindow.html.

CMS

Wolfram Language. 2012. "LanczosWindow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LanczosWindow.html.

Wolfram Language. 2012. "LanczosWindow." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/LanczosWindow.html.

APA

Wolfram Language. (2012). LanczosWindow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LanczosWindow.html

Wolfram Language. (2012). LanczosWindow. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/LanczosWindow.html

BibTeX

@misc{reference.wolfram_2025_lanczoswindow, author="Wolfram Research", title="{LanczosWindow}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/LanczosWindow.html}", note=[Accessed: 09-July-2025 ]}

@misc{reference.wolfram_2025_lanczoswindow, author="Wolfram Research", title="{LanczosWindow}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/LanczosWindow.html}", note=[Accessed: 09-July-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_lanczoswindow, organization={Wolfram Research}, title={LanczosWindow}, year={2012}, url={https://reference.wolfram.com/language/ref/LanczosWindow.html}, note=[Accessed: 09-July-2025 ]}

@online{reference.wolfram_2025_lanczoswindow, organization={Wolfram Research}, title={LanczosWindow}, year={2012}, url={https://reference.wolfram.com/language/ref/LanczosWindow.html}, note=[Accessed: 09-July-2025 ]}