Assorted utilities for uncertainty quantification and scientific computing.
Project description
Assorted utilities for uncertainty quantification and scientific computing.
Installation
You can install normally with:
pip install uqtils
If you are using pdm in your own project, then you can use:
cd <your-pdm-project>
pdm add uqtils
You can also quickly set up a development environment with:
# After forking this project on Github...
git clone https://github.com/<your-username>/uqtils.git
cd uqtils
pdm install # reads pdm.lock and sets up an identical venv
Quickstart
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 guidelines.
Made with the UQ pdm template.
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uqtils-0.3.1.tar.gz.
File metadata
- Download URL: uqtils-0.3.1.tar.gz
- Upload date:
- Size: 42.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74675fda5277f3e8069371dd653a1efea064642152d6b263cc18f19400f07a1d
|
|
| MD5 |
29aef74215b91f573f203108fbadbe85
|
|
| BLAKE2b-256 |
42e42a1332ce9ffe92bdd47bf92a820137ed76339619dbf864207b54295d7089
|
File details
Details for the file uqtils-0.3.1-py3-none-any.whl.
File metadata
- Download URL: uqtils-0.3.1-py3-none-any.whl
- Upload date:
- Size: 42.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7712bf5f26d77d31e12e7d37b2d8540838e2a60844fe629b70fbff33283d0141
|
|
| MD5 |
6cec32d56bacd8eaa5a416e46b5c3b54
|
|
| BLAKE2b-256 |
d71f82b75d48c9f5721f158198ae23dce3a1a195991f96f905b20502f49ae635
|