PySHRED: Package for Shallow Recurrent Decoding
Project description
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 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.
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
- Docs: https://pyshred-dev.github.io/pyshred/stable
- Issue Tracking: https://github.com/pyshred-dev/pyshred/issues
- Source code: https://github.com/pyshred-dev/pyshred
Contributors and Developers
|
Nathan Kutz |
Jan Williams |
David Ye |
Mars Gao |
Matteo Tomasetto |
Stefano Riva |
References
-
Williams, J. P., Zahn, O., & Kutz, J. N. (2024).
Sensing with shallow recurrent decoder networks.
Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 480(2298), 20240054. -
Gao, M. L., Williams, J. P., & Kutz, J. N. (2025).
Sparse identification of nonlinear dynamics and Koopman operators with Shallow Recurrent Decoder Networks.
arXiv preprint, arXiv:2501.13329. -
Tomasetto, M., Williams, J. P., Braghin, F., Manzoni, A., & Kutz, J. N. (2025).
Reduced Order Modeling with Shallow Recurrent Decoder Networks.
arXiv preprint, arXiv:2502.10930. -
Kutz, J. N., Reza, M., Faraji, F., & Knoll, A. (2024).
Shallow Recurrent Decoder for Reduced Order Modeling of Plasma Dynamics.
arXiv preprint, arXiv:2405.11955. -
Ebers, M. R., Williams, J. P., Steele, K. M., & Kutz, J. N. (2024).
Leveraging arbitrary mobile sensor trajectories with Shallow Recurrent Decoder Networks for full-state reconstruction.
IEEE Access, 12, 97428–97439.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88f316edad85821e7dec9a1b1bae469232e955b5b9eb1502406d030fd3753f52
|
|
| MD5 |
9107a0dfc130a5b12ecea94263497b18
|
|
| BLAKE2b-256 |
e9db36c604452b5a92754562d2d449a971d73045af1cf0121815b14b5f65b6c6
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43600bd2dd97cb9e6e705ff2ab871b9f68d535efc4a65fa61ca366e0d19eacb6
|
|
| MD5 |
7fe526c02a10873b5732d701578f5a47
|
|
| BLAKE2b-256 |
79580f4f753d5441679b4a3e80f49f2c47dfd229ef5320878fad49047cb8c384
|