What’s new

v0.1.8 (December 2024)

  • Switch to modern python packaging

  • Use ruff instead of black/flake8

v0.1.7 (December 2024)

v0.1.6 (July 2023)

This version requires numba >= 0.57.

  1. Allow readonly arrays in numba jit signature. https://github.com/raphaelvallat/antropy/pull/23

  2. Improved sample entropy kernel. https://github.com/raphaelvallat/antropy/pull/25

  3. Fox for KDTree.valid_metrics which is method since sklearn 1.3. https://github.com/raphaelvallat/antropy/pull/30

v0.1.5 (December 2022)

  1. antropy.perm_entropy() will now return the average entropy across all delays if a list or range of delays is provided.

  2. Handle the limit of p = 0 in functions that evaluate the product p * log2(p), to give 0 instead of nan (see PR3).

  3. antropy.detrended_fluctuation() will now return alpha = 0 when the correlation coefficient of the fluctuations of an input signal is 0 (see PR21).

v0.1.4 (April 2021)

Important

The package has now been renamed AntroPy (previously EntroPy)!

  1. Faster implementation of antropy.lziv_complexity() (see PR1). Among other improvements, strings are now mapped to UTF-8 integer representations.

v0.1.3 (March 2021)

  1. Added the entropy.num_zerocross() function to calculate the (normalized) number of zero-crossings on N-D data.

  2. Added the entropy.hjorth_params() function to calculate the mobility and complexity Hjorth parameters on N-D data.

  3. Add support for N-D data in entropy.spectral_entropy(), entropy.petrosian_fd() and entropy.katz_fd().

  4. Use the stochastic package to generate stochastic time-series.

v0.1.2 (May 2020)

  1. entropy.lziv_complexity() now works with non-binary sequence (e.g. “12345” or “Hello World!”)

  2. The average fluctuations in entropy.detrended_fluctuation() is now calculated using the root mean square instead of a simple arithmetic. For more details, please refer to this GitHub issue.

  3. Updated flake8

v0.1.1 (November 2019)

  1. Added Lempel-Ziv complexity (entropy.lziv_complexity()) for binary sequence.

v0.1.0 (October 2018)

Initial release.

  1. Permutation entropy

  2. Spectral entropy

  3. Singular value decomposition entropy

  4. Approximate entropy

  5. Sample entropy

  6. Petrosian Fractal Dimension

  7. Katz Fractal Dimension

  8. Higuchi Fractal Dimension

  9. Detrended fluctuation analysis