Repository navigation
What's new in 2.1.1
- Bugfix (
lowess): when the robustness weights rejected every point of a window, for example a transit deeper than ~6x the scatter and longer than ~0.4window_length, the NaN from that window could spread until the whole trend was NaN. Whether it happened depended on the number of numba threads. Affected 2.0 and 2.1; see BUGLOG.md. Speed unchanged. - Tests: tests that exercise edge cases now assert their intended warnings, so a passing
pytestrun is quiet (573 tests, Python 3.12 and 3.14). - Docs: the tutorial notebooks install
scikit-learninstead of the deprecatedsklearnpackage.
What's new in 2.1
flatten(..., step=...): the sliding window methods (biweight,andrewsinewave,welsch,median) evaluate the trend at points aboutstepapart and interpolate linearly in between, 4-6x faster at short cadence.
Thanks to the user who reported the warnings.