Skip to content

Release 0.2.1#48

Merged
raphaelvallat merged 2 commits intomasterfrom
release_0.2.1
Mar 6, 2026
Merged

Release 0.2.1#48
raphaelvallat merged 2 commits intomasterfrom
release_0.2.1

Conversation

@raphaelvallat
Copy link
Copy Markdown
Owner

This PR bumps the version to 0.2.1 and adds the changelog entry documenting all changes merged to master since v0.2.0.

What's in this release

Bug fixes

  • higuchi_fd: off-by-one in the inner loop — summed N_m - 1 differences per sub-series instead of N_m, causing a systematic underestimate of curve length.
  • sample_entropy: returns np.nan (was 0) when no template of length m matches within tolerance — entropy is undefined in that case, not zero.
  • epsilon = 10e-9 → 1e-9 in utils.py (silent 10× error in the DFA linear regression guard).
  • all = [...]__all__ = [...] in all three source modules — previously leaked np, jit, KDTree, etc. into the public namespace on from antropy import *.

New feature

  • hjorth_params(sf=None): optional sampling frequency parameter converts mobility from samples⁻¹ to Hz.

Docs

  • Corrected higuchi_fd docstring formula to match the fix above.
  • Added clarifying notes to lziv_complexity, num_zerocross, spectral_entropy, detrended_fluctuation, and hjorth_params.

raphaelvallat and others added 2 commits March 6, 2026 17:10
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@raphaelvallat raphaelvallat self-assigned this Mar 6, 2026
@raphaelvallat raphaelvallat merged commit f28cbfc into master Mar 6, 2026
18 checks passed
@raphaelvallat raphaelvallat deleted the release_0.2.1 branch March 6, 2026 16:16
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e6581bb) to head (dec11a8).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #48   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          312       312           
  Branches        52        52           
=========================================
  Hits           312       312           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants