Skip to main content

Numerical tool for performing uncertainty quantification

Project description

https://github.com/jonathf/chaospy/raw/master/docs/_static/chaospy_logo.svg

circleci codecov readthedocs downloads pypi

Chaospy is a numerical toolbox designed for performing uncertainty quantification through polynomial chaos expansions and advanced Monte Carlo methods implemented in Python. It includes a comprehensive suite of tools for low-discrepancy sampling, quadrature creation, polynomial manipulations, and much more.

The philosophy behind chaospy is not to serve as a single solution for all uncertainty quantification challenges, but rather to provide specific tools that empower users to solve problems themselves. This approach accommodates well-established problems but also serves as a foundry for experimenting with new, emerging problems. Emphasis is placed on the following:

  • Focus on an easy-to-use interface that embraces the pythonic code style <https://docs.python-guide.org/writing/style/>.

  • Ensure the code is “composable,” meaning it’s designed so that users can easily and effectively modify parts of the code with their own solutions.

  • Strive to support a broad range of methods for uncertainty quantification where it makes sense to use chaospy.

  • Ensure that chaospy integrates well with a wide array of other projects, including numpy <https://numpy.org/>, scipy <https://scipy.org/>, scikit-learn <https://scikit-learn.org>, statsmodels <https://statsmodels.org/>, openturns <https://openturns.org/>, and gstools <https://geostat-framework.org/>, among others.

  • Contribute all code as open source to the community.

Installation

Installation is straightforward via pip:

pip install chaospy

Alternatively, if you prefer Conda:

conda install -c conda-forge chaospy

After installation, visit the documentation to learn how to use the toolbox.

Development

To install chaospy and its dependencies in developer mode:

pip install -e .[dev]

Testing

To run tests on your local system:

pytest --doctest-modules chaospy/ tests/ README.rst

Documentation

Ensure that pandoc is installed and available in your path to build the documentation.

From the docs/ directory, build the documentation locally using:

cd docs/
make html

Run make without arguments to view other build targets. The HTML documentation will be output to doc/.build/html.

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

chaospy-4.3.18.tar.gz (169.3 kB view details)

Uploaded Source

Built Distribution

chaospy-4.3.18-py3-none-any.whl (254.4 kB view details)

Uploaded Python 3

File details

Details for the file chaospy-4.3.18.tar.gz.

File metadata

  • Download URL: chaospy-4.3.18.tar.gz
  • Upload date:
  • Size: 169.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for chaospy-4.3.18.tar.gz
Algorithm Hash digest
SHA256 b447c74be27d7e5ebbc36fe1e1f69f804b3443daf508c04ad06693041d4ebbb2
MD5 8996d9905ce34b5263440d5b77c262a5
BLAKE2b-256 a96299fbbf23145da53d8ca63c20aff7d9027e92b22f56433082f75c349b190d

See more details on using hashes here.

File details

Details for the file chaospy-4.3.18-py3-none-any.whl.

File metadata

  • Download URL: chaospy-4.3.18-py3-none-any.whl
  • Upload date:
  • Size: 254.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for chaospy-4.3.18-py3-none-any.whl
Algorithm Hash digest
SHA256 1a8b4b654eca5d548d7c88d0106f92adedc68f2b632a8a6d411940043da7f0f7
MD5 210cc41403d53579de6f8e36a25a276b
BLAKE2b-256 e03fe95954dac7b9cdeb2f7d2d13f48ebbb22e30b8534e8404f8baed2f8fcb61

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page