Skip to main content

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>
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 --recursive git@github.com:Pressio/pressio4py.git
cd pressio4py
pytest -s

And you can check out the demos:

git clone --recursive 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pressio4py, version 0.8.0
Filename, size File type Python version Upload date Hashes
Filename, size pressio4py-0.8.0-cp37-cp37m-macosx_10_15_x86_64.whl (796.0 kB) File type Wheel Python version cp37 Upload date Hashes View
Filename, size pressio4py-0.8.0.tar.gz (748.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page