![Logo](https://raw.githubusercontent.com/eckelsjd/uqtils/main/docs/assets/logo.svg)
[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm-project.org)
[![Python version](https://img.shields.io/badge/python-3.11+-blue.svg?logo=python&logoColor=cccccc)](https://www.python.org/downloads/)
[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/eckelsjd/copier-numpy)
[![PyPI](https://img.shields.io/pypi/v/uqtils?logo=python&logoColor=%23cccccc)](https://pypi.org/project/uqtils)
![build](https://img.shields.io/github/actions/workflow/status/eckelsjd/uqtils/deploy.yml?logo=github)
![docs](https://img.shields.io/github/actions/workflow/status/eckelsjd/uqtils/docs.yml?logo=materialformkdocs&logoColor=%2523cccccc&label=docs)
![tests](https://img.shields.io/github/actions/workflow/status/eckelsjd/uqtils/tests.yml?logo=github&logoColor=%2523cccccc&label=tests)
![Code Coverage](https://img.shields.io/badge/coverage-88%25-yellowgreen?logo=codecov)
Assorted utilities for uncertainty quantification and scientific computing.
## ⚙️ Installation
```shell
pip install uqtils
```
If you are using [pdm](https://github.com/pdm-project/pdm) in your own project, then you can use:
```shell
pdm add uqtils
# Or in editable mode from a local clone...
pdm add -e ./uqtils --dev
```
## 📍 Quickstart
```python
import numpy as np
import uqtils as uq
ndim, nsamples = 3, 1000
mu = np.random.rand(ndim)
cov = np.eye(ndim)
samples = uq.normal_sample(mu, cov, nsamples)
fig, ax = uq.ndscatter(samples)
```
## 🏗️ Contributing
See the [contribution](https://github.com/eckelsjd/uqtils/blob/main/CONTRIBUTING.md) guidelines.
<sup><sub>Made with the [copier-numpy](https://github.com/eckelsjd/copier-numpy.git) template.</sub></sup>
Raw data
{
"_id": null,
"home_page": null,
"name": "uqtils",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": null,
"keywords": "Uncertainty quantification, Bayesian inference",
"author": null,
"author_email": "Joshua Eckels <eckelsjd@umich.edu>",
"download_url": "https://files.pythonhosted.org/packages/e5/b5/d9f5d305500713fdb445234072d8bc24f324ec48b2bb7e8d4c215829852a/uqtils-0.4.2.tar.gz",
"platform": null,
"description": "![Logo](https://raw.githubusercontent.com/eckelsjd/uqtils/main/docs/assets/logo.svg)\n\n[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm-project.org)\n[![Python version](https://img.shields.io/badge/python-3.11+-blue.svg?logo=python&logoColor=cccccc)](https://www.python.org/downloads/)\n[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-orange.json)](https://github.com/eckelsjd/copier-numpy)\n[![PyPI](https://img.shields.io/pypi/v/uqtils?logo=python&logoColor=%23cccccc)](https://pypi.org/project/uqtils)\n![build](https://img.shields.io/github/actions/workflow/status/eckelsjd/uqtils/deploy.yml?logo=github)\n![docs](https://img.shields.io/github/actions/workflow/status/eckelsjd/uqtils/docs.yml?logo=materialformkdocs&logoColor=%2523cccccc&label=docs)\n![tests](https://img.shields.io/github/actions/workflow/status/eckelsjd/uqtils/tests.yml?logo=github&logoColor=%2523cccccc&label=tests)\n![Code Coverage](https://img.shields.io/badge/coverage-88%25-yellowgreen?logo=codecov)\n\nAssorted utilities for uncertainty quantification and scientific computing.\n\n## \u2699\ufe0f Installation\n```shell\npip install uqtils\n```\nIf you are using [pdm](https://github.com/pdm-project/pdm) in your own project, then you can use:\n```shell\npdm add uqtils\n\n# Or in editable mode from a local clone...\npdm add -e ./uqtils --dev\n```\n\n## \ud83d\udccd Quickstart\n```python\nimport numpy as np\nimport uqtils as uq\n\nndim, nsamples = 3, 1000\n\nmu = np.random.rand(ndim)\ncov = np.eye(ndim)\n\nsamples = uq.normal_sample(mu, cov, nsamples)\nfig, ax = uq.ndscatter(samples)\n```\n\n## \ud83c\udfd7\ufe0f Contributing\nSee the [contribution](https://github.com/eckelsjd/uqtils/blob/main/CONTRIBUTING.md) guidelines.\n\n<sup><sub>Made with the [copier-numpy](https://github.com/eckelsjd/copier-numpy.git) template.</sub></sup>\n",
"bugtrack_url": null,
"license": "GPL-3.0",
"summary": "Assorted utilities for uncertainty quantification and scientific computing.",
"version": "0.4.2",
"project_urls": {
"Documentation": "https://eckelsjd.github.io/uqtils/",
"Repository": "https://github.com/eckelsjd/uqtils.git"
},
"split_keywords": [
"uncertainty quantification",
" bayesian inference"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b764a48eb62c09abbf0f87c4de9ec0f32c4c77c9eba76e2cac97d999fbf55c9e",
"md5": "c94bc1949514d9231d51e1565af89fc4",
"sha256": "c4884454f8a233ab38de03dc648fc4c5af32585b55069bf57085e4d4474124e8"
},
"downloads": -1,
"filename": "uqtils-0.4.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c94bc1949514d9231d51e1565af89fc4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 30882,
"upload_time": "2024-11-05T03:45:56",
"upload_time_iso_8601": "2024-11-05T03:45:56.342793Z",
"url": "https://files.pythonhosted.org/packages/b7/64/a48eb62c09abbf0f87c4de9ec0f32c4c77c9eba76e2cac97d999fbf55c9e/uqtils-0.4.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e5b5d9f5d305500713fdb445234072d8bc24f324ec48b2bb7e8d4c215829852a",
"md5": "9ec9b57f2dbc1318b17e846f4eba31ec",
"sha256": "e79928e3fbb8be75299c12079f7fa9dd60a95122e4e36a57ebd5939094e588d3"
},
"downloads": -1,
"filename": "uqtils-0.4.2.tar.gz",
"has_sig": false,
"md5_digest": "9ec9b57f2dbc1318b17e846f4eba31ec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 32174,
"upload_time": "2024-11-05T03:45:58",
"upload_time_iso_8601": "2024-11-05T03:45:58.187671Z",
"url": "https://files.pythonhosted.org/packages/e5/b5/d9f5d305500713fdb445234072d8bc24f324ec48b2bb7e8d4c215829852a/uqtils-0.4.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-05 03:45:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "eckelsjd",
"github_project": "uqtils",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "uqtils"
}