Ensemble averages
Project description
enstat
Documentation: enstat.readthedocs.io
Overview
enstat is a library to facilitate the computation of ensemble averages (and their standard deviation and variance). The key feature is that a class stored the sum of the first and second statistical moments and the number of samples, such that adding a sample can be done trivially, while giving access to the mean etc. at all times.
Disclaimer
This library is free to use under the MIT license. Any additions are very much appreciated, in terms of suggested functionality, code, documentation, testimonials, word-of-mouth advertisement, etc. Bug reports or feature requests can be filed on GitHub. As always, the code comes with no guarantee. None of the developers can be held responsible for possible mistakes.
Download: .zip file | .tar.gz file.
(c - MIT) T.W.J. de Geus (Tom) | tom@geus.me | www.geus.me | github.com/tdegeus/enstat
Installation
Using conda
conda install -c conda-forge enstat
Using PyPi
pip install enstat
Change-log
v0.5.0
- [BREAKING CHANGE] Changing
shape,size,dtype,first,second,normto properties rather than functions (now call without()) - Adding
add_pointto array classes - [tests] Using unittest discover
- [docs] Using furo theme. Minor updates.
v0.4.1
- Enforcing shape to be a tuple (like in NumPy) (#14)
v0.4.0
- Simplifying namespace. Using opportunity to simplify class names
- Avoiding zero division warning
- Adding test with defaultdict
v0.3.1
- Return NaN when there is no data (before zero was returned)
- (style) Fixing pre-commit
- (style) Renaming "test" -> "tests"
- (style) Applying pre-commit
v0.3.0
- Adding mask option to
enstat.static.StaticNd.
v0.2.0
- Adding size and shape methods.
- Various generalisations.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file enstat-0.7.3.tar.gz.
File metadata
- Download URL: enstat-0.7.3.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89923c4c134ee2fd260405816872cd37ed820d4a599f95a7b9702ee00bc07242
|
|
| MD5 |
dbef2b4296c8e75a3988e0b079bd0c62
|
|
| BLAKE2b-256 |
a9cca5a59b05822dd7b446e62dc80e513972d1bc57a60709b82ffb4442bb6b20
|
File details
Details for the file enstat-0.7.3-py3-none-any.whl.
File metadata
- Download URL: enstat-0.7.3-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4a6ab6b7cd7b13251d558169be00604dd33699f7485ae5e37df1d6610a547fc
|
|
| MD5 |
8e4c8042bc45d4023a391439ae2744b1
|
|
| BLAKE2b-256 |
f8114142dff9a932ae1dbf82c483c4daa823ef31c6f6b6722a57abb909a392ef
|