Skip to main content

# equadratures

equadratures is an open-source library for uncertainty quantification, machine learning, optimisation, numerical integration and dimension reduction – all using orthogonal polynomials. It is particularly useful for models / problems where output quantities of interest are smooth and continuous; to this extent it has found widespread applications in computational engineering models (finite elements, computational fluid dynamics, etc). It is built on the latest research within these areas and has both deterministic and randomized algorithms. Effective Quadratures is actively being developed by researchers at the [University of Cambridge](https://www.cam.ac.uk), [Imperial College London](https://www.imperial.ac.uk), [Stanford University](https://www.stanford.edu), [The University of Utah](https://www.utah.edu), [The Alan Turing Institute](https://www.turing.ac.uk) and the [University of Cagliari](https://www.unica.it/unica/). equadratures is a NumFOCUS affiliated project.

Key words associated with this code: polynomial surrogates, polynomial chaos, polynomial variable projection, Gaussian quadrature, Clenshaw Curtis, polynomial least squares, compressed sensing, gradient-enhanced surrogates, supervised learning.

## Code

The latest version of the code is v9.1.0 Narwhal, released June 2021.

![](https://travis-ci.com/equadratures/equadratures.svg?branch=master) [![](https://coveralls.io/repos/github/Effective-Quadratures/Effective-Quadratures/badge.svg?branch=master)](https://coveralls.io/github/Effective-Quadratures/Effective-Quadratures) [![](https://badge.fury.io/py/equadratures.svg)](https://pypi.org/project/equadratures/) [![](https://joss.theoj.org/papers/10.21105/joss.00166/status.svg)](https://joss.theoj.org/papers/10.21105/joss.00166) [![](https://img.shields.io/pypi/pyversions/equadratures.svg)](https://pypi.python.org/pypi/equadratures) ![](https://img.shields.io/github/stars/Effective-Quadratures/Effective-Quadratures.svg?style=flat-square&logo=github&label=Stars&logoColor=white) ![](https://static.pepy.tech/badge/equadratures/week) [![](https://img.shields.io/discourse/status?server=https%3A%2F%2Fdiscourse.equadratures.org)](https://discourse.equadratures.org)

If you use pip you can install the code with:

`python pip install equadratures `

or pip can be replaced with python -m pip, where python is the python version you wish to install equadratures for. Use of a virtual enviroment such as [virtualenv](https://pypi.org/project/virtualenv/) or [pyenv](https://github.com/pyenv/pyenv)/[pipenv](https://pypi.org/project/pipenv/) is also encouraged. Alternatively you can click either on the Fork Code button or Clone, and install from your local version of the code.

For issues with the code, please do raise an issue on our Github page; do make sure to add the relevant bits of code and specifics on package version numbers. We welcome contributions and suggestions from both users and folks interested in developing the code further.

Our code is designed to require minimal dependencies; current package requirements include numpy, scipy and matplotlib.

## Documentation, tutorials, Discourse

Code documentation and details on the syntax can be found [here](https://equadratures.org/index.html).

We’ve recently started a Discourse forum! Check it out [here](https://discourse.equadratures.org/).

## Code objectives

Specific goals of this code include:

  • probability distributions and orthogonal polynomials

  • supervised machine learning: regression and compressive sensing

  • numerical quadrature and high-dimensional sampling

  • transforms for correlated parameters

  • computing moments from models and data-sets

  • sensitivity analysis and Sobol’ indices

  • data-driven dimension reduction

  • ridge approximations and neural networks

  • surrogate-based design optimisation

## Get in touch

Feel free to follow us via [Twitter](https://twitter.com/EQuadratures) or email us at contact@effective-quadratures.org.

## Community guidelines

If you have contributions, questions, or feedback use either the Github repository, or get in touch. We welcome contributions to our code. In this respect, we follow the [NumFOCUS code of conduct](https://numfocus.org/code-of-conduct).

## Acknowledgments

This work was supported by wave 1 of The UKRI Strategic Priorities Fund under the EPSRC grant EP/T001569/1, particularly the [Digital Twins in Aeronautics](https://www.turing.ac.uk/research/research-projects/digital-twins-aeronautics) theme within that grant, and [The Alan Turing Institute](https://www.turing.ac.uk).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

equadratures-9.1.0.2.tar.gz (110.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

equadratures-9.1.0.2-py3.9.egg (312.1 kB view details)

Uploaded Egg

equadratures-9.1.0.2-py3-none-any.whl (135.8 kB view details)

Uploaded Python 3

File details

Details for the file equadratures-9.1.0.2.tar.gz.

File metadata

  • Download URL: equadratures-9.1.0.2.tar.gz
  • Upload date:
  • Size: 110.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.5

File hashes

Hashes for equadratures-9.1.0.2.tar.gz
Algorithm Hash digest
SHA256 6730d497a57279f200fd41c0bcd9fcada76bba2ab0394308a8d3804197811905
MD5 8a2ad45e69146b7de50b6d5c25f901d0
BLAKE2b-256 1b9e6ae8b7da3292346405e10f21e3be9067fd83421910e6dee5ac17b29e9d67

See more details on using hashes here.

File details

Details for the file equadratures-9.1.0.2-py3.9.egg.

File metadata

  • Download URL: equadratures-9.1.0.2-py3.9.egg
  • Upload date:
  • Size: 312.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.5

File hashes

Hashes for equadratures-9.1.0.2-py3.9.egg
Algorithm Hash digest
SHA256 77a0816643d9df09dbedc2aa29b694061cced11a704f5c2d94f488186e8fbe50
MD5 7125379500e3a1b7ca063b714c2847f2
BLAKE2b-256 3091bd9274a0a6a7ea3ef55b8a2a12afeaf553c9c58e28bed66a4bac0ebfef6c

See more details on using hashes here.

File details

Details for the file equadratures-9.1.0.2-py3-none-any.whl.

File metadata

  • Download URL: equadratures-9.1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 135.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.5

File hashes

Hashes for equadratures-9.1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6f1659558ec4196848cb4e8c54f7f58b4c020649eb4afe4897e5287bf9ba3159
MD5 989f35f80deeadec16b5847a9917fcc1
BLAKE2b-256 2564529df1e2acbff3fbbfa63b334ec7fefaeeed200463fe15ab8a2d9ed33acb

See more details on using hashes here.

Supported by

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