Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.7 KB

CHANGELOG.md

File metadata and controls

40 lines (28 loc) · 1.7 KB

Changelog

3.0.3

  • dolphChebyshev matches SciPy's chebwin: odd N was wrong, even N off-centre.
  • taylor matches SciPy's taylor: its sidelobe factor multiplied where it should divide.
  • dpss matches SciPy's dpss at any N and W, solved in Slepian's tridiagonal form.
  • ultraspherical tapers by default (xmu was 1, a rectangle), centres like dolphChebyshev, runs in O(N²), not O(N³).
  • exactBlackman uses the exact fractions 7938/18608, 9240/18608, 1430/18608.

3.0.0

Breaking: ESM-only. require() no longer works.

  • 34 window functions (was 18): added connes, powerOfSine, generalizedNormal, planckTaper, exponential, hannPoisson, cauchy, rifeVincent, confinedGaussian, kaiserBesselDerived, dolphChebyshev, taylor, dpss, ultraspherical, parzen, bohman
  • Quantitative metrics: enbw, scallopLoss, cola
  • Individual files: import hann from 'window-function/hann'
  • Default + named exports: both import hann from and import { hann } from work
  • TypeScript declarations included
  • Scientific SVG plots for all windows (time domain + frequency response)
  • Consolidated to ESM ("type": "module")
  • Single util.js for shared helpers and utilities
  • Zero dependencies (fourier-transform is devDependency for plot generation only)

Migration

- const hann = require('window-function/hann')
+ import hann from 'window-function/hann'

The per-sample API fn(i, N, ...params) → number is unchanged.

2.1.0

  • Added apply and generate helpers

2.0.2

  • 18 window functions: rectangular, triangular, bartlett, welch, hann, hamming, cosine, blackman, exactBlackman, nuttall, blackmanNuttall, blackmanHarris, flatTop, bartlettHann, lanczos, gaussian, tukey