Expand description
This module provides implementations of the sinc function and its normalized version, as well as functions to generate centered sinc windows. The sinc function is defined as sin(pi * x) / (pi * x) for x != 0 and is equal to 1 at x = 0. The normalized sinc function is defined similarly but with a factor of 2 in the argument. The centered sinc window functions generate a vector of sinc values that are centered around zero, which can be used in various signal processing applications, such as interpolation and filter design.
See the book entry FIR design: windows, frequency sampling and Parks-McClellan.
Functions§
- generate_
centered_ sinc nsamples ofsinc(cut_off · t)(or of the normalised sinc forgenerate_centered_sinc_normalized) at pointstspaced1/napart and centred on zero, sotspans about[−1/2, 1/2]. The result is a smooth taper whose width depends oncut_off(forcut_off ≤ 2every value is positive), used as a smoothing kernel; it is not the impulse response of a low-pass filter with that cutoff, for which seefirwin.- generate_
centered_ sinc_ normalized - sinc
- sinc_
normalized