Skip to main content

PySHRED: Package for Shallow Recurrent Decoding

Project description

PyPI Python 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.21.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.21-py3-none-any.whl (46.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyshred-1.0.21.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.21.tar.gz
Algorithm Hash digest
SHA256 88f316edad85821e7dec9a1b1bae469232e955b5b9eb1502406d030fd3753f52
MD5 9107a0dfc130a5b12ecea94263497b18
BLAKE2b-256 e9db36c604452b5a92754562d2d449a971d73045af1cf0121815b14b5f65b6c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyshred-1.0.21-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.21-py3-none-any.whl
Algorithm Hash digest
SHA256 43600bd2dd97cb9e6e705ff2ab871b9f68d535efc4a65fa61ca366e0d19eacb6
MD5 7fe526c02a10873b5732d701578f5a47
BLAKE2b-256 79580f4f753d5441679b4a3e80f49f2c47dfd229ef5320878fad49047cb8c384

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