This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.8 instead.
Reason given by maintainers: this was unncessary
BayesFlux
BayesFlux is a JAX Python package that provides Fast Linear algebra sUbspace eXtraction for Bayesian inverse problems built off https://github.com/joshuawchen/randLAX.
Features
- Active Subspace for parameter dimension reduction
- Informative Output Subspace for data dimension reduction
Installation
Core Installation (JAX-only functionality)
You can install the core BayesFlux package using pip:
pip install bayesflux
This installs the JAX-based functionality only and does not require Fenics or hippylib.
Installation with hippylib Support (Requires Fenics)
Some BayesFlux functionality depends on hippylib, which requires Fenics 2019.1.
Fenics has system-level dependencies and cannot be reliably installed via pip alone. You must first create a conda environment.
Step 1 — Create a Fenics environment
conda create -n fenics-2019.1_env -c conda-forge fenics==2019.1.0
conda activate fenics-2019.1_env
Step 2 — Install BayesFlux with the hippylib extra
pip install bayesflux[hippylib]
This installs:
- hippylib
- hickle
- bayesflux
Make sure the conda environment is activated before running pip install.
For Developers
If your software depends on BayesFlux with hippylib functionality, declare the dependency in your pyproject.toml as:
dependencies = [
"bayesflux[hippylib]>=<minimum_version>"
]
However, your users must still create the Fenics conda environment before installing your software:
conda create -n fenics-2019.1_env -c conda-forge fenics==2019.1.0
conda activate fenics-2019.1_env
pip install your_package
Important: pip cannot install Fenics. Any software depending on bayesflux[hippylib] must document the required conda environment setup.
Requirements
- Python 3.9
Metadata
Release files for BayesFlux 0.8.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bayesflux-0.8.1.tar.gz | 16.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bayesflux-0.8.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.4 kB
Release files / bayesflux-0.8.1.tar.gz
| Download URL | bayesflux-0.8.1.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
397164b5d5b61335eb5e0d9ca2cfd43d5d75ea0f842eb85b2aa2d4582a9574ac
|
|
BLAKE2b-256 checksum How to use checksums |
4acc260feb7df1092c4aa10bc81f2a132d60ec7ffc521b307ee0246fcade680a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.19
|
Release files / bayesflux-0.8.1-py3-none-any.whl
| Download URL | bayesflux-0.8.1-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
560575cf78fbd77fc8aaeb1c3933f893c1aff1a8f521fb10fff68a836273f838
|
|
BLAKE2b-256 checksum How to use checksums |
c5039be544c4db362f309445835df62d04b6f3713b4fc8ea864d987629b644db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.19
|