Skip to main content

enstat

CI Documentation Status Conda Version PyPi release

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, norm to properties rather than functions (now call without ())
  • Adding add_point to 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.

Metadata

Release files for enstat 0.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enstat 0.7.3
File Size Uploaded
enstat-0.7.3.tar.gz 17.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for enstat 0.7.3
File Interpreter ABI Platform
enstat-0.7.3-py3-none-any.whl Python 3 none any Details

Total release size: 28.0 kB

Release files / enstat-0.7.3.tar.gz

Download URL enstat-0.7.3.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
89923c4c134ee2fd260405816872cd37ed820d4a599f95a7b9702ee00bc07242
BLAKE2b-256 checksum
How to use checksums
a9cca5a59b05822dd7b446e62dc80e513972d1bc57a60709b82ffb4442bb6b20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / enstat-0.7.3-py3-none-any.whl

Download URL enstat-0.7.3-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d4a6ab6b7cd7b13251d558169be00604dd33699f7485ae5e37df1d6610a547fc
BLAKE2b-256 checksum
How to use checksums
f8114142dff9a932ae1dbf82c483c4daa823ef31c6f6b6722a57abb909a392ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

0.9.7

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.4

2 release files

This release

0.7.3 This release

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page