pressio4py: projection-based model reduction for Python
Project description
This package provides Python bindings for the projection-based model reduction C++ library Pressio (website). The goal of this project is to enable leading-edge projection-based model reduction for (large-scale) linear and nonlinear dynamical systems.
Install
You need a C++14-compliant compiler and then do:
export CXX=<path-to-your-C++-compiler>
pip3 install --no-binary :all: -i https://test.pypi.org/simple/ pressio4py
Or you can try to use pip directly:
pip install pressio4py
You can double check that everything worked fine by doing:
import pressio4py
print(pressio4py.__version__)
Running Demos/Tutorials
After installing the library, you can check run the regression tests:
git clone git@github.com:Pressio/pressio4py.git
cd pressio4py/regression_tests
pytest -s
And you can check out the demos:
git clone git@github.com:Pressio/pressio4py.git
cd pressio4py/demos
python3 ./<demo-subdir-name>/main.py
Documentation
The documentation (in progress) can be found (here) with some demos already available.
Citations
If you use this package, please acknowledge our work-in-progress:
Francesco Rizzi, Patrick J. Blonigan, Eric. Parish, Kevin T. Carlberg “Pressio: Enabling projection-based model reduction for large-scale nonlinear dynamical systems” https://arxiv.org/abs/2003.07798
Project details
Release history Release notifications | RSS feed
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
Hashes for pressio4py-0.6.1rc1-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9231c7fbd48f50c50bbee8da35325e3bb405185162556e0a30d51b41661f02cf |
|
MD5 | 31204df4033c1414d964c3d0432ce145 |
|
BLAKE2b-256 | 1e356d4c980bc1c7196c4e5f8f0e89c1abaaa8b1e4a8c55d4fcc4decd1723e7d |