Skip to main content

Parallel Parameter Fields for Uncertainty Quantification

Project description

Welcome to parafields

License GitHub Workflow Status Documentation Status codecov

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

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:

Minimum usage example

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 to parafields
  • tests: All requirements for running parafields's unit tests
  • docs: All requirements for buildings parafields'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

parafields-0.1.1.tar.gz (26.4 kB view details)

Uploaded Source

Built Distributions

parafields-0.1.1-cp311-cp311-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.11 Windows x86-64

parafields-0.1.1-cp311-cp311-win32.whl (1.7 MB view details)

Uploaded CPython 3.11 Windows x86

parafields-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

parafields-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

parafields-0.1.1-cp310-cp310-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.10 Windows x86-64

parafields-0.1.1-cp310-cp310-win32.whl (1.7 MB view details)

Uploaded CPython 3.10 Windows x86

parafields-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

parafields-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

parafields-0.1.1-cp39-cp39-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.9 Windows x86-64

parafields-0.1.1-cp39-cp39-win32.whl (1.7 MB view details)

Uploaded CPython 3.9 Windows x86

parafields-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

parafields-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

parafields-0.1.1-cp38-cp38-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.8 Windows x86-64

parafields-0.1.1-cp38-cp38-win32.whl (1.7 MB view details)

Uploaded CPython 3.8 Windows x86

parafields-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

parafields-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

File details

Details for the file parafields-0.1.1.tar.gz.

File metadata

  • Download URL: parafields-0.1.1.tar.gz
  • Upload date:
  • Size: 26.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for parafields-0.1.1.tar.gz
Algorithm Hash digest
SHA256 51182a14e91adb6597620665805ca505d691052f359d480e2139c6cb456379b4
MD5 c3c046f01a90522998f115674980232e
BLAKE2b-256 7cda935e914a42c3e16f893a0219390eb1e81db5c84a42f01ebaa9186a776a24

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a987d81a0c3e5916500fbcc7272b882d0859d03546b98d86d3d63b4a192b2d33
MD5 ab9844ec7b3ff1691b6045aeb6e54ead
BLAKE2b-256 bcba8471524cfba5dfd589203d98885537ba2a42dee7082c386921b40b1760fe

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp311-cp311-win32.whl.

File metadata

  • Download URL: parafields-0.1.1-cp311-cp311-win32.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for parafields-0.1.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 e9a3b4c9c435968a3292ed670507d9891fb9d50944b3766cb645eef63c9a8a0d
MD5 6428647dc7c849df8d2ddb03d78744e6
BLAKE2b-256 a968e1f5906120fb0e7efa8b7fdd20510d225cb45262cbc2e7396319f440ee22

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7b69bca581b5826643a73fc8ecdb59109c8c7badfa20be4d9a5e913dc5d65668
MD5 3a7b022d61f80e11c6cf00d027a7cd4c
BLAKE2b-256 f08aba7dbe718bdc02bccba04a90b47bfc2a3f6880017ee19637fd29b39eaa12

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 67abe59e59c384baa0625488535d91dd9783f747ef0d3399577a2de466a00d0b
MD5 faafdf072ab406c73c40c579f2b03f60
BLAKE2b-256 844732298a30f3dc09dc861dcb8554bc0a46a83253982fb6ca03b8b46eddb4b8

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 21c491bb2d10231a093065baeff6f39abdc5c0f57012f856bcdeb1d98b326f46
MD5 4d0d2f22d6c50c1eba2f8d63f86e0d86
BLAKE2b-256 ac0da55bd5e80278ca7be55c3e6f996bc694944c2802b8227be8e79b980322cd

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp310-cp310-win32.whl.

File metadata

  • Download URL: parafields-0.1.1-cp310-cp310-win32.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for parafields-0.1.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 8d641beddb14919de06c67b4ae197a6b07fa52490893d8baa4e541f7c93c6fdc
MD5 6b932b460954dfe4001aa2e3980ee5ff
BLAKE2b-256 2f2ea14b8c9ec6230e1e4203b7e167a44da5a4e8114d7fd5ab868f2576c682b9

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1d0f612bd52e4a77b1072b3daeac674d45939fe8845c25a9d6cd322bb729603c
MD5 bafc89c1537e7488d357724e08ab6903
BLAKE2b-256 cdd3cf8752ba84ddd439b9b51f67b02e90d3a1e6420e609f23bc97bb6444de11

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fcfce551742dfe011a87083b8b246559de26280bad7d76141f73fde067b40170
MD5 24bbeee5935a66cdc995ad6de20ed359
BLAKE2b-256 8f411d13ee2e7349cf4a32182a0532e77d2cccb42c038c6af0f44bf1571e8dfa

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 97d804e1e649fc51fae7d2900e9e103b53f6012482907d892afc1567191cd016
MD5 bd2c99bd5882d78c8d96afd7c67c56df
BLAKE2b-256 cd7e353cc5ba421309e78ea9de632c47a69c0a049b51c5eb136a872ca07a4fd3

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp39-cp39-win32.whl.

File metadata

  • Download URL: parafields-0.1.1-cp39-cp39-win32.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for parafields-0.1.1-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 b6437b6c28adea9ade19e93b09a5da8aa3f9c70156cb8304074c2d047507bcd0
MD5 7b38365b382ea207564722b3941db394
BLAKE2b-256 09b9ac775272e4d3fdd8b12bc4077572b5fee6a7215bc754f414fb5a4419ff08

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 34fb83d9ba60fe267ef3f246c051db537fbceb8c05060a1aa8ad6d4f61472460
MD5 3367f0426be6b253846b732671af769d
BLAKE2b-256 279fd0cdc096daceff230ccbe889dbf8ff328f9c09ba08415cf200e668b80213

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cc2943d5324069a0c3863a15ef08a0843acd2f4e7dbd44cc8990db6d85dd2bfb
MD5 ba53f63beecded36b79f5a51404a5d5e
BLAKE2b-256 3bdc8052a2b12e003f5b25ad4abfbf32995ebe6d05e6b70c46e47797a1d858a9

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8d2f57d3311274ec9c200f2a7161b941428e72aa0e859d62b144d97a3b523524
MD5 49f29d5f0cd9a45984715f4587075def
BLAKE2b-256 504f049f55103bda48db482fe101b2beadd58120c7c7606b11b4d4c996aeb1ed

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp38-cp38-win32.whl.

File metadata

  • Download URL: parafields-0.1.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for parafields-0.1.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 ccbf7f51ae1d9989ca32fa8d7951cd1bdc4c0ed92b40da1bcfc2b25eb538aa49
MD5 2f43dbec7c48136109e0e1c4a2c763e2
BLAKE2b-256 2b6377abd25eb5a431a3d75fb6ca352bbacfa5f919e11b14714f63a640d17b92

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c34f163c7b06d0566deae7b277ffb78e85616ce3bb06f60b916d45994480793d
MD5 ad00a9172676c54d164ba10b388c07ae
BLAKE2b-256 962dd574e1f0e4cc81bc7845b1b324a0f3cbbd9012fb2a3e27df45983feb59c8

See more details on using hashes here.

Provenance

File details

Details for the file parafields-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for parafields-0.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5ec56f17b7cc762a1fe3be6349b094ef27c97f42cf233ad5a93e8946e32c3dac
MD5 62fadacea14199da55ffff002d11d189
BLAKE2b-256 8f8403af8c17836bbbe5a09dfab013a09bb564f6d55786e5c3acb7314a6ec468

See more details on using hashes here.

Provenance

Supported by

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