Assorted utilities for uncertainty quantification and scientific computing.
pip install uqtils
If you are using pdm in your own project, then you can use:
pdm add uqtils
# Or in editable mode from a local clone...
pdm add -e ./uqtils --dev
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 copier-numpy template.