Skip to main content

PySHRED: Package for Shallow Recurrent Decoding

Project description

License CI

PySHRED

PySHRED is a deep-learning library for reconstructing and forecasting high-dimensional spatiotemporal systems from sparse sensor data.

Built on the SHallow REcurrent Decoder (SHRED) architecture, PySHRED provides a seamless pipeline from raw sensor measurements to high-fidelity reconstructions and long-horizon forecasts.

SHRED architecture

SHRED in a Nutshell

Component Role Models
Sequence model Encodes temporal sensor measurements into a low-dimensional latent state. LSTM, GRU, Transformer
Decoder model Reconstructs the full high-dimensional state from the latent state. MLP, U-Net
Latent forecaster Propagates latent dynamics forward in time for long-horizon prediction. LSTM, SINDy

The sequence + decoder pair reconstructs the full high-dimensional state space from sparse sensors, while the forecaster + decoder pair enables multi-step forecasting with no additional sensor measurements.

PySHRED is a powerful tool for:

  • System identification
  • Reduced-order modeling
  • Long-horizon forecasting
  • Latent dynamics discovery
  • Parametric systems analysis
  • Control and decision-making

PySHRED offers a high-level interface and a simple three-step pipeline, making it easy for anyone to get started.

PySHRED Pipeline

Documentation

Online documentation: pyshred-dev.github.io/pyshred/stable

The docs include:

Installation

  • Installing from PyPI

    The latest stable release (and required dependencies) can be installed from PyPI:

    pip install pyshred
    
  • Installing from source

    PySHRED can be installed via source code on GitHub.

    git clone https://github.com/pyshred-dev/pyshred.git
    cd pyshred
    pip install .
    

Citing

Citation instructions coming soon.

Resources

Contributors and Developers


Nathan Kutz

Jan Williams

David Ye

Mars Gao

Matteo Tomasetto

Stefano Riva

Made with contrib.rocks.

References

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

pyshred-1.0.20.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyshred-1.0.20-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

Details for the file pyshred-1.0.20.tar.gz.

File metadata

  • Download URL: pyshred-1.0.20.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for pyshred-1.0.20.tar.gz
Algorithm Hash digest
SHA256 baf1ecfb38e8337762b20d6fd4ad971b7e0a4331dd49926558eb2ab9432ba48c
MD5 071bb26301dcb9e50212d79962a20214
BLAKE2b-256 767e8a453670a1e5ed8c4c5d6f17e2b5f4cf600443d89a34cfd3178b8bdff208

See more details on using hashes here.

File details

Details for the file pyshred-1.0.20-py3-none-any.whl.

File metadata

  • Download URL: pyshred-1.0.20-py3-none-any.whl
  • Upload date:
  • Size: 46.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for pyshred-1.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 78f1669a1872e425d3e7cc996173dc0c1858172e612a6935c34dc67582331307
MD5 2e311c49e01da1d685ee61a5f5523b6b
BLAKE2b-256 10583d695f8b084bd796cf94fa8bfa2a3c8db7bff7fcb431cfbba218eb588e41

See more details on using hashes here.

Supported by

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