Numerical tool for performing uncertainty quantification
Project description
Chaospy is a numerical toolbox for performing uncertainty quantification using polynomial chaos expansions, advanced Monte Carlo methods implemented in Python. It also include a full suite of tools for doing low-discrepancy sampling, quadrature creation, polynomial manipulations, and a lot more.
The philosophy behind chaospy is not to be a single tool that solves every uncertainty quantification problem, but instead be a specific tools to aid to let the user solve problems themselves. This includes both well established problems, but also to be a foundry for experimenting with new problems, that are not so well established. To do this, emphasis is put on the following:
Focus on an easy to use interface that embraces the pythonic code style.
Make sure the code is “composable”, such a way that changing one part of the code with something user defined should be easy and encouraged.
Try to support a broad width of the various methods for doing uncertainty quantification where that makes sense to involve chaospy.
Make sure that chaospy plays nice with a large set of of other other similar projects. This includes numpy, scipy, scikit-learn, statsmodels, openturns, and gstools to mention a few.
Contribute all code to the community open source.
Installation
Installation should be straight forward from pip:
pip install chaospy
Or if Conda is more to your liking:
conda install -c conda-forge chaospy
Then go over to the documentation to see how to use the toolbox.
Development
Installing chaospy and its dependencies in developer mode is done as follows:
pip install -r requirements-dev.txt
pip install -e .
Testing
To ensure that the code run on your local system, run the following:
pytest --doctest-modules chaospy/ tests/ README.rst
Documentation
The documentation build assumes that pandoc is installed on your system and available in your path.
To build documentation locally on your system, use make from the docs/ folder:
cd docs/
make html
Run make without argument to get a list of build targets. The HTML target stores output to the folder 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
Built Distribution
Hashes for chaospy-4.3.12.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29b970e9bd097b4c8ee447f7836266c279356194d69704337fd42b69e4bdd408 |
|
MD5 | 7c4688569307f0e7827bad0cbec96bf8 |
|
BLAKE2b-256 | b28c6b05d674209fb733f8a8bc9a315c44b63dbd2b43cd3080ed599023522b3a |