Skip to content

v2.1.1

Latest

Choose a tag to compare

@hippke hippke released this 18 Nov 19:54

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.4 window_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 pytest run is quiet (573 tests, Python 3.12 and 3.14).
  • Docs: the tutorial notebooks install scikit-learn instead of the deprecated sklearn package.

What's new in 2.1

  • flatten(..., step=...): the sliding window methods (biweight, andrewsinewave, welsch, median) evaluate the trend at points about step apart and interpolate linearly in between, 4-6x faster at short cadence.

Thanks to the user who reported the warnings.