See arXiv 2310.05013
.ipynb
files are the Jupyter notebooks for the figures..py
in the root directory are the main functions and classes..py
in thescripts
folder stores the scripts for running the experiments and saving the result to theoutput
folder.- temporary outputs are stored in
pickle
format.
- 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)