https://github.com/mukappalambda/dmd
A Python Implementation of Dynamic Mode Decomposition
https://github.com/mukappalambda/dmd
dynamic-mode-decomposition dynamical-systems linear-algebra nonlinear-dynamics python
Last synced: 5 months ago
JSON representation
A Python Implementation of Dynamic Mode Decomposition
- Host: GitHub
- URL: https://github.com/mukappalambda/dmd
- Owner: mukappalambda
- License: mit
- Created: 2021-04-04T14:41:58.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-09-21T13:16:40.000Z (9 months ago)
- Last Synced: 2025-09-21T15:06:11.571Z (9 months ago)
- Topics: dynamic-mode-decomposition, dynamical-systems, linear-algebra, nonlinear-dynamics, python
- Language: Python
- Homepage:
- Size: 1.12 MB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Python Implementation of Dynamic Mode Decomposition
[](https://github.com/mukappalambda/dmd/actions/workflows/dependabot/dependabot-updates)
[](https://github.com/mukappalambda/dmd/actions/workflows/ruff.yml)
This Python package provides an implementation of Dynamic Mode Decomposition (DMD) specifically designed for univariate time series forecasting. DMD offers a data-driven approach for analyzing the dynamics of complex systems, making it suitable for forecasting and system identification applications.
Two example scripts are included to demonstrate typical usage scenarios.
For an in-depth explanation of DMD, please refer to the following HackMD note: [Dynamic Mode Decomposition](https://hackmd.io/@mklan/HyLXh7UH_).
The primary reference for this implementation is the arXiv article: [On Dynamic Mode Decomposition: Theory and Applications](https://arxiv.org/abs/1312.0041).
---
## Install `dmd`
**Install from GitHub**
```bash
pip install git+https://github.com/mukappalambda/dmd.git
```
**Install from Source**
```bash
git clone https://github.com/mukappalambda/dmd.git
poetry build
find dist -name "*-$(poetry version -s)-*.whl" | xargs -I{} pip install {}
```
---
## Run Examples
```bash
cd examples
python dmd_example01.py
python dmd_example02.py
```
---
## Uninstall `dmd`
```bash
pip uninstall dmd -y
```
## History
- Tweak the HackMD note more readable and add the Python code inside that note.