SethMinor / WSINDy-for-Python

Python implementation of the Weak SINDy (WSINDy) algorithm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WSINDy for Python

A Python 3 implementation of the Weak-form Sparse Identification of Nonlinear Dynamics (WSINDy) algorithm.
Based on the JCP paper by D. A. Messenger, D. M. Bortz 2021.
See authors' original MatLab code repository (copyright 2020, all rights reserved by original authors).
Python code by Seth Minor.
Stable as of June, 2024.

Python 3.10 Open In Colab

wsindy_github_pic

Files Included

Weak_SINDy_example.ipynb is a Jupyter notebook containing a step-by-step example of WSINDy identifying the $(1+1)$-dimensional Kuramoto-Sivashinksy equation from data.

To access a dataset stored in Google Drive while using Google Colab (e.g., in /content/drive/My Drive/WSINDy/dataset_name.txt), use the following commands to change directories.
!mkdir -p "/content/drive/My Drive/WSINDy"

from google.colab import drive
drive.mount('/content/drive')

%cd /content/drive/My Drive/WSINDy

About

Python implementation of the Weak SINDy (WSINDy) algorithm.


Languages

Language:Jupyter Notebook 99.8%Language:MATLAB 0.2%