From bafbf2a4c824c48231a655747203ab48edb7955a Mon Sep 17 00:00:00 2001 From: Nikolay Donets Date: Sun, 18 Jun 2023 17:40:38 +0100 Subject: [PATCH] docs(README.md): new section about the ways to contribute Review of the README.md to improve information; add a clear way for contributions --- README.md | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 55886a2..5d93a51 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # pyEntropy (pyEntrp) -[![codecov](https://codecov.io/gh/nikdon/pyEntropy/branch/master/graph/badge.svg)](https://codecov.io/gh/nikdon/pyEntropy) ![py38 status](https://img.shields.io/badge/python3.8-supported-green.svg) ![py39 status](https://img.shields.io/badge/python3.9-supported-green.svg) ![py310 status](https://img.shields.io/badge/python3.10-supported-green.svg) @@ -9,9 +8,10 @@ 2. [Usage](#usage) 3. [Contributors and participation](#contributors-and-participation) -This is a small set of functions on top of NumPy that help to compute different types of entropy for time series analysis. +pyEntropy is a lightweight library built on top of NumPy +that provides functions for computing various types of entropy for time series analysis. -The library provides functions for computing the following types of entropy: +The library currently supports the following types of entropy computation: + Shannon Entropy ```shannon_entropy``` + Sample Entropy ```sample_entropy``` @@ -23,9 +23,17 @@ The library provides functions for computing the following types of entropy: ## Quick start -`pip install pyentrp` +Install [pyEntropy](https://github.com/nikdon/pyEntropy) using pip: -`poetry add pyentrp` +``` +pip install pyentrp +``` + +Install [pyEntropy](https://github.com/nikdon/pyEntropy) using poetry: + +``` +poetry add pyentrp +``` ## Usage @@ -33,7 +41,6 @@ The library provides functions for computing the following types of entropy: from pyentrp import entropy as ent import numpy as np - ts = [1, 4, 5, 1, 7, 3, 1, 2, 5, 8, 9, 7, 3, 7, 9, 5, 4, 3] std_ts = np.std(ts) sample_entropy = ent.sample_entropy(ts, 4, 0.2 * std_ts) @@ -41,6 +48,18 @@ sample_entropy = ent.sample_entropy(ts, 4, 0.2 * std_ts) ## Contributors and participation +[pyEntropy](https://github.com/nikdon/pyEntropy) is an open-source project, and contributions are highly encouraged. +If you would like to contribute, you can: + +- [Fork the repository](https://github.com/nikdon/pyEntropy/fork) and submit pull requests with your improvements, bug + fixes, or new features. +- Report any issues or bugs you encounter on the [issue tracker](https://github.com/nikdon/pyEntropy/issues). +- Help improve the documentation by + submitting [documentation improvements or corrections](https://github.com/nikdon/pyEntropy/issues?q=is%3Aissue+is%3Aopen+label%3Adocumentation). +- Participate in discussions and share your ideas. + +The following contributors have made significant contributions to pyEntropy: + * [Nikolay Donets](https://github.com/nikdon) * [Jakob Dreyer](https://github.com/jakobdreyer) * [Raphael Vallat](https://github.com/raphaelvallat) @@ -48,3 +67,7 @@ sample_entropy = ent.sample_entropy(ts, 4, 0.2 * std_ts) * [Sam Dotson](https://github.com/samgdotson) Contributions are very welcome, documentation improvements/corrections, bug reports, even feature requests :) + +If you find [pyEntropy](https://github.com/nikdon/pyEntropy) useful, please consider giving it a star. + +Your support is greatly appreciated!