You can install the SAGD package locally in "editable" mode. This allows you to use the library while making changes to the source code without needing to re-install.
git clone https://github.com/msarrias/SAGD.git
cd SAGD
pip install -e .
import numpy as np
from SAGD import SAGD
# Load your adjacency/weight matrices
W1 = np.random.rand(100, 100)
W2 = np.random.rand(100, 100)
# Calculate distance
distance = SAGD(W1, W2, laplacian_type="unnormalized", norm_type="norm_wrt_avg_ctd")
print(f"SAGD: {distance}")