Assorted utilities for uncertainty quantification and scientific computing.
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
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)
See the contribution guidelines.
Made with the UQ pdm template.