parafields
parafields: A generator for distributed, stationary Gaussian processes - Published in JOSS (2023)
Science Score: 95.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
✓Committers with academic emails
2 of 6 committers (33.3%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Keywords from Contributors
Repository
Parallel Parameter Field Generator for Python
Basic Info
Statistics
- Stars: 5
- Watchers: 1
- Forks: 4
- Open Issues: 7
- Releases: 5
Topics
Metadata Files
README.md
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
numpydata structures to ease integration with the Python ecosystem of scientific software - Optional caching of matrix-vector products
- Easy integration into e.g. FEniCSx-based PDE solvers (Example that is currently not tested as part of our CI)
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
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 toparafieldstests: 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].
Usage
This is a minimal usage example of the parafields package:

For more examples, check out the parafields documentation.
Reporting Issues
If you need support with parafields or found a bug, consider a bug on
the issue tracker.
Contributing
parafields welcomes external contributions. For the best possible contributor
experience, consider opening an issue on the issue tracker
before you start developing. Announcing your intended development in this way allows us to clarify
whether it is in the scope of the package. Contributions are then done via a pull
request on the GitHub repository. Please also add your name to the list of copyright holders.
For a development installation of parafields, use the following instructions:
bash
git clone https://github.com/parafields/parafields.git
cd parafields
python -m pip install -v --editable .[tests,docs,jupyter]
Before contributing, make sure that the unit tests pass and that new functionality is covered by unit tests. The unit tests can be run using pytest:
```bash
Sequential tests
python -m pytest
Parallel tests
mpirun --oversubscribe -np 4 python -m pytest --only-mpi ```
In order to locally build the Sphinx documentation, use the following commands:
bash
sphinx-build -t html ./doc ./html
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.
Owner
- Name: parafields
- Login: parafields
- Kind: organization
- Repositories: 3
- Profile: https://github.com/parafields
JOSS Publication
parafields: A generator for distributed, stationary Gaussian processes
Authors
Scientific Software Center, Heidelberg University, Heidelberg, Germany, Interdisciplinary Center for Scientific Computing, Heidelberg University, Heidelberg, Germany
Interdisciplinary Center for Scientific Computing, Heidelberg University, Heidelberg, Germany, Institute for Mathematics, Heidelberg University, Heidelberg, Germany
Interdisciplinary Center for Scientific Computing, Heidelberg University, Heidelberg, Germany, Institute for Mathematics, Heidelberg University, Heidelberg, Germany
Interdisciplinary Center for Scientific Computing, Heidelberg University, Heidelberg, Germany
Tags
MPI scientific computing high performance computing uncertainty quantification random field generation circulant embeddingGitHub Events
Total
- Issues event: 1
- Delete event: 3
- Issue comment event: 9
- Push event: 46
- Pull request event: 22
- Create event: 6
Last Year
- Issues event: 1
- Delete event: 3
- Issue comment event: 9
- Push event: 46
- Pull request event: 22
- Create event: 6
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Dominic Kempf | d****f@i****e | 131 |
| pre-commit-ci[bot] | 6****] | 61 |
| dependabot[bot] | 4****] | 26 |
| Robert Kutri | 5****i | 6 |
| Daniel S. Katz | d****z@i****g | 2 |
| rKutri | r****i@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 12
- Total pull requests: 111
- Average time to close issues: 3 months
- Average time to close pull requests: 11 days
- Total issue authors: 3
- Total pull request authors: 5
- Average comments per issue: 1.0
- Average comments per pull request: 0.37
- Merged pull requests: 100
- Bot issues: 0
- Bot pull requests: 91
Past Year
- Issues: 0
- Pull requests: 28
- Average time to close issues: N/A
- Average time to close pull requests: 25 days
- Issue authors: 0
- Pull request authors: 3
- Average comments per issue: 0
- Average comments per pull request: 0.5
- Merged pull requests: 21
- Bot issues: 0
- Bot pull requests: 24
Top Authors
Issue Authors
- dokempf (5)
- purusharths (3)
- gchure (2)
Pull Request Authors
- pre-commit-ci[bot] (62)
- dependabot[bot] (33)
- dokempf (14)
- rkutri (4)
- danielskatz (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 307 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 7
- Total maintainers: 2
pypi.org: parafields
Parallel Parameter Fields for Uncertainty Quantification
- Documentation: https://parafields.readthedocs.io/
- License: BSD-3
-
Latest release: 1.0.2
published about 2 years ago
Rankings
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- codecov/codecov-action v3 composite
- actions/checkout v3 composite
- actions/download-artifact v3 composite
- actions/setup-python v4 composite
- actions/upload-artifact v3 composite
- pypa/cibuildwheel v2.12.0 composite
- pypa/gh-action-pypi-publish release/v1 composite
- Pillow *
- jsonschema <4
- matplotlib *
- mpi4py *
- numpy *
- actions/checkout v3 composite
- actions/upload-artifact v1 composite
- openjournals/openjournals-draft-action master composite