WSINDy.ipynb A template for running WSINDy on your own data. See the 'Usage' section below for details. Stable as of August, 2024.
WSINDy_Tutorial.ipynb This notebook serves as a walkthrough and introduction to the WSINDy algorithm. As an example, it shows how the Kuramoto-Sivashinksy equation can be recovered from data (see the picture above). Stable as of July, 2024.
WSINDy_SH23.ipynb The WSINDy algorithm applied to the Swift-Hohenberg (23) equation. Simulation data were obtained using MatLab's chebfun package; see sh23_simulation.m and chebfun.org (navigate to examples > Swift Hohenberg). Stable as of July, 2024.
JHTDB_WSINDy.ipynb Uses a numerical simulation of the ideal MHD equations, sourced from the Johns Hopkins Tubulence Database, as a dataset for WSINDy. Stable as of August, 2024.
To access a dataset stored in Google Drive (e.g., /content/drive/My Drive/WSINDy/dataset_name.txt) while using Google Colab, use the following commands to change directories:
# Create directory if necessary
!mkdir-p"/content/drive/My Drive/WSINDy"fromgoogle.colabimportdrivedrive.mount('/content/drive')
%cd/content/drive/MyDrive/WSINDy
Python Files
wsindy.py Returns sparse weights for candidate basis functions. See the 'Usage' section below for details. Stable as of July, 2024.