Skip to main content

Assorted utilities for uncertainty quantification and scientific computing.

Project description

Logo pdm-managed PyPI Python 3.11

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

uqtils-0.3.1.tar.gz (42.6 kB view hashes)

Uploaded Source

Built Distribution

uqtils-0.3.1-py3-none-any.whl (42.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page