pyinterp.core.WindowFunction

class pyinterp.core.WindowFunction

Bases: pybind11_builtins.pybind11_object

Window functions

Members:

Blackman:math:`w(d) = 0.42659 - 0.49656 cos(frac{pi (d + r)}{r}) + “

“0.076849 cos(frac{2 pi (d + r)}{r})`

BlackmanHarris:math:`w(d) = 0.35875 - 0.48829 cos(frac{pi (d + r)}{r}) + “

“0.14128 cos(frac{2 pi (d + r)}{r}) - 0.01168 ” “cos(frac{3 pi (d + r)}{r})`

Boxcar : \(w(d) = 1\)

FlatTop:math:`w(d) = 0.21557895 - “

“0.41663158 cos(frac{pi (d + r)}{r}) + ” “0.277263158 cos(frac{2 pi (d + r)}{r}) - ” “0.083578947 cos(frac{3 pi (d + r)}{r}) + ” “0.006947368 cos(frac{4 pi (d + r)}{r})`

Hamming : \(w(d) = 0.53836 - 0.46164 \cos(\frac{\pi (d + r)}{r})\)

Lanczos:math:`w(d) = left{begin{array}{ll}”

“sinc(frac{d}{r}) times sinc(frac{d}{nlobes times r}),” ” & d le nlobes times r \ ” “0, & d gt nlobes times r end{array} right}`

Nuttall:math:`w(d) = 0.3635819 - 0.4891775 “

“cos(frac{pi (d + r)}{r}) + 0.1365995 ” “cos(frac{2 pi (d + r)}{r})`

Parzen:math:`w(d) = left{ begin{array}{ll} 1 - 6 “

“left(frac{2*d}{2*r}right)^2 ” “left(1 - frac{2*d}{2*r}right), & ” “d le frac{2r + arg}{4} \ ” “2left(1 - frac{2*d}{2*r}right)^3 & ” “frac{2r + arg}{2} le d lt frac{2r +arg}{4} ” “end{array} right}`

ParzenSWOT:math:`w(d) = w(d) = left{begin{array}{ll} “

“1 - 6left(frac{2 * d}{2 * r}right)^2 + ” “6left(1 - frac{2 * d}{2 * r}right), & ” “d le frac{2r}{4} \ ” “2left(1 - frac{2 * d}{2 * r}right)^3 & ” “frac{2r}{2} ge d gt frac{2r}{4} end{array} ” “right}`

__init__(self: pyinterp.core.WindowFunction, value: int) None

Methods

Attributes