See arXiv 2310.05013
.ipynbfiles are the Jupyter notebooks for the figures..pyin the root directory are the main functions and classes..pyin thescriptsfolder stores the scripts for running the experiments and saving the result to theoutputfolder.- temporary outputs are stored in
pickleformat.
- temporary outputs are stored in
An example set of equations are provided in the output folder.
The equations are stored in the csv format for cross-version compatibility.
Convert to pickle format that suits your Python/pickle version:
import pandas as pd
import numpy as np
import pickle
eqs_df = pd.read_csv("output/eqs.csv", index_col=0)
eqs_df.eqs = eqs_df.eqs.apply(lambda x: [np.array(i) for i in eval(x)])
eqs_df.sol = eqs_df.sol.apply(lambda x: eval(x))
with open("output/eqs.pkl", "wb") as f:
pickle.dump(eqs_df, f)