Skip to content

v1.2.0 — estimateWhittleAlpha, break-free noiseXu, prewhitened IRASA

Choose a tag to compare

@dagmarfraser dagmarfraser released this 09 Nov 08:01
· 44 commits to main since this release
29b477f

Additive release: existing calls give identical results.

New

  • estimateWhittleAlpha: spectral exponent by prewhitened, band-limited local Whittle (Robinson 1995). Reliable for steep spectra (bias within about ±0.2 up to alpha 6.5 on exact references). Base MATLAB only. Errors loudly on bad input rather than returning NaN.

Changed

  • noiseXu: Phi = 1 is now allowed and gives a break-free power law. The default (Phi = 0.99) is unchanged and has a low-frequency break at (1 - Phi)fs/(2pi), which the help text now states.
  • estimateIRASA: new PSD="welch" and Prewhiten=k options. Defaults are bit-identical to v1.1.0.

Why
On spectra without a low-frequency break, default multitaper IRASA can be off by several units at alpha > 3.5 (over-reading at fs 240, collapsing at fs 100). On noise with a break, which is what noiseXu makes by default, it stays within ±0.1, so earlier benchmarks missed this. Prewhiten=k removes the error. If in doubt, use estimateWhittleAlpha, or estimateIRASA(x, fs, f1, f2, Prewhiten=k) with k from estimateWhittleAlpha.

Also

  • README rewritten: which estimator to use, and what noiseXu actually generates.
  • Validation scripts (MATLAB/Python/R stage-1 calibration, reproduced across three seeds) are in validation/.
  • Requires MATLAB R2025a or later; Signal Processing Toolbox for estimateIRASA and checkSpectralKnee.