Parallel Parameter Fields for Uncertainty Quantification
Project description
Welcome to parafields
parafields
is a Python package that provides Gaussian random fields
based on circulant embedding. Core features are:
- Large variety of covariance functions: exponential, Gaussian, Matérn, spherical and cubic covariance functions, among others
- Generation of distributed fields using domain decomposition
and MPI through
mpi4py
- Uses
numpy
data structures to ease integration with the Python ecosystem of scientific software - Optional caching of matrix-vector products
- Easy integration into FEniCSx-based PDE solvers (Example)
parafields
implements these features through Python bindings to the parafields-core C++ library.
The following options are supported in the backend but not yet in the Python bindings:
- axiparallel and full geometric anisotropy
- value transforms like log-normal, folded normal, or sign function (excursion set)
- Coarsening and refinement of random fields for multigrid/-scale methods
Usage
This is a minimal usage example of the parafields
package:
For more examples, check out the parafields documentation.
Installation
parafields
is available from PyPI and can be installed using pip
:
python -m pip install parafields
This will install a sequential, pre-compiled version of parafields
.
In order to use parafields
in an MPI-parallel context, you need to
instead build the package from source:
python -m pip install --no-binary parafields -v parafields
This will build the package from source and link against your system MPI.
Additionally, parafields
defines the following optional dependency sets:
jupyter
: All requirements for an interactive Jupyter interface toparafields
tests
: All requirements for runningparafields
's unit testsdocs
: All requirements for buildingsparafields
's Sphinx documentation
These optional dependencies can be installed by installing e.g. parafields[jupyter]
.
Acknowledgments
The parafields-core C++ library is work by Ole Klein whichis supported by the federal ministry of education and research of Germany (Bundesministerium für Bildung und Forschung) and the ministry of science, research and arts of the federal state of Baden-Württemberg (Ministerium für Wissenschaft, Forschung und Kunst Baden-Württemberg).
The Python bindings are realized by the Scientific Software Center of Heidelberg University. The Scientific Software Center is funded as part of the Excellence Strategy of the German Federal and State Governments.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for parafields-0.2.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e2d695ef5fd1cd5e8ce0ef537f80e4d4de6a362ee0a60395534aad6642de687 |
|
MD5 | c68df1433240ae48be96d825aaf26496 |
|
BLAKE2b-256 | 7164a1f4489edc7091699d77f71d2c49e5d46623c004f4584c1a6c3f0834d115 |
Hashes for parafields-0.2.0-cp311-cp311-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3294695b0f055639ba935f97077d7a9803ac779b748bee1aa3e70a467e502388 |
|
MD5 | 5c601a5237ceb01b9ce2bfe5536e37d2 |
|
BLAKE2b-256 | 6276bb968dbba942916d0f71813274333fc9cfd459e16bdc7a3dd11c296a066f |
Hashes for parafields-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13c99d2be455ff730b72564dfad7226fe8262d1a0bcbd1d4df4948967d750b24 |
|
MD5 | 3735f792ee263824f8f61bd3b3b333c7 |
|
BLAKE2b-256 | a0c6c087f62ad03ef10d127f990140685f420b6da5d3012fb0b9080ee9dfd11d |
Hashes for parafields-0.2.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0191911a3c509fe7cb999581ede5a6e43cbcc7fec2f8e74c5db827396696a608 |
|
MD5 | 6365d0869f2fb86108bb054b7777b41f |
|
BLAKE2b-256 | 90943ac37e6aca63145712f87e03257f4a3a428ad8424c7611be758050d0eda2 |
Hashes for parafields-0.2.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3894209ab7af9cae55868e163ad45ff6eba0d48c9b626c97e700c266f8b4ab15 |
|
MD5 | d1f1ab0caa5fc8671281f8ec617d6dcb |
|
BLAKE2b-256 | eaa3ffd8856d86128433db6f95837d46e70fec5b1b1db059b0e028b269ec8ea0 |
Hashes for parafields-0.2.0-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 247b1c9ed1b7acceca216a072de3f0a02d0d0132e022ed40dfa5513146c7f2d8 |
|
MD5 | 3c4507ffdd8ae36d3b4f1e2d93b3c3cc |
|
BLAKE2b-256 | 1c8ab764ec6b1310f6469749679c6ae77a1f2c7a2853aa0bbc7e1682783fb82b |
Hashes for parafields-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34f1d6e3ec999b4085af30bf2aa5a77db3c2a2a03a86bce579fa47021b3b5a59 |
|
MD5 | 37e57df01a66c55cb7426069aa3a01d7 |
|
BLAKE2b-256 | 6393d6ba50f8f86ba75f83c5562d0139b33f47bc754b35aa4ef3dfc40e58d465 |
Hashes for parafields-0.2.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e6f23f9facf367903cc73b71033b364296b5aa2155509ce03a08db6dfad2e8a |
|
MD5 | da534dd4e54669b46e085029ba7a0d6f |
|
BLAKE2b-256 | 12fd72ff21f0bd77d8c5d79852a63492e7a5ea6492c17f32bdd552da553e601a |
Hashes for parafields-0.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afa5ab6d29cc5406a5eb2b5fdb389e6a3dbb4b426bff8e36fc8b23a3fdbca181 |
|
MD5 | 34607e717cead193415cd84865046f66 |
|
BLAKE2b-256 | 47a5e82d7be87680ec5fb5d62476aaef7f439cf0708e9bab3fef416df1f1c9ed |
Hashes for parafields-0.2.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78c6683ae8d35468d9fcd4520ebce1fce98d2fcc082cb59b2942439eb5c13476 |
|
MD5 | 499d6cdd4bd254d1e380ed60afd2fbd2 |
|
BLAKE2b-256 | c132e6efd3667c11c1b91c3158a0abf20bfe50e51fc5866b955a3eecd0b371a4 |
Hashes for parafields-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10c837482c23b0e91f52eafffad186c69e5493431a1b4ff1984ff0816d7c0808 |
|
MD5 | a342eae5b203dfb868fa654dcb2f4b22 |
|
BLAKE2b-256 | 07cea8c5a3c26178f93340caf142b7c78c5ecaaf07c622fe273c792231706e25 |
Hashes for parafields-0.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dfd2dd6e45090f5d2168aa2e2cac553b80c7ceac761bed602693590066dc013 |
|
MD5 | eeadd6c8822e3cf961c6927e07dd393c |
|
BLAKE2b-256 | 6da1454b1e7229ca5a6b081b68c15c707bd4da784a26c797466f182c33c9dc96 |
Hashes for parafields-0.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd246f9a25a836c48944825fe6e5f0652e1e05a08a4fa5a1a237d0b3030076d |
|
MD5 | 4fd76c99a4e00afd3ab97f8c470d3d29 |
|
BLAKE2b-256 | cbb8e434919fb25d0bde9fe9aa3ef3ee955af7160896f60c0e7e89aa0e6ef858 |
Hashes for parafields-0.2.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ffb223943c90c12daa56694508a363f22a8a1945ee45a82e5e7a039302802f |
|
MD5 | c53cf35425f21a7edb5f87584d86e744 |
|
BLAKE2b-256 | f62a2ae565372db1a879524d6df7163c2e1fa2aaf00a7d500877e56f8b20bdfa |
Hashes for parafields-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf33df40506c203deb8fd9a5bc1b6b3abdefda886583f207a2ab692e51a6917b |
|
MD5 | 559d18b15f9bda6a97c215a959347043 |
|
BLAKE2b-256 | 44ac33455eb47ced9592ed9071b70cd2058be24424f95a47e465a6977d451eb5 |
Hashes for parafields-0.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 761f0b294e18983bd33caf1777d25a6b0620c88f2d391f815a928633f55a9d46 |
|
MD5 | 5a41aa57f9109696ef9cec09ff0d410a |
|
BLAKE2b-256 | a6414d267f269d6220f50301d5772d7ecf4950bcd4796aeffa5398d77e61e91a |