| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2025-08-10 | 1.7 kB | |
| Release v1.2.1 source code.tar.gz | 2025-08-10 | 534.9 kB | |
| Release v1.2.1 source code.zip | 2025-08-10 | 629.1 kB | |
| Totals: 3 Items | 1.2 MB | 1 | |
Version 1.2.1 (2025-08-10)
This is a minor patch with bug fixes, minor changes, and documentation improvements.
Bug Fixes
- Allow
quant_regwithtol=infto only perform one fit, since it was previously impossible to recreate the output ofquant_regby inputting weights since it required one inner loop. - Allow a
smooth_half_windowof 0 formormolto skip smoothing rather than raising an exception in order to be consistent with other methods.
Other Changes
- Set the default of
normalize_weightsto False forairplsto match its literature implementation; will deprecate the keyword in version 1.3. - For 2D Whittaker-smoothing algorithms, a ValueError is now raised when
num_eigensis less than or equal todiff_order, which has the same effect as inputtinglam=0and is also not allowed. Previously just emitted a warning. - Slightly sped up several functions used for setting up and solving penalized splines.
- Only calculate method signatures when their corresponding functions (eg. pybaselines.polynomial.modpoly) are called rather than immediately upon importing pybaselines. Should slightly improve import timings.
Documentation/Examples
- Added an example for using masking with the various types of algorithms in pybaselines.
- Made all example programs in the documentation able to be ran without cloning the repository.
- Added back API documentation which was removed in version 1.2.0 for the functional interface of pybaselines. The functional interface is now marked as legacy rather than pending deprecation.