Skip to content
Snippets Groups Projects
Commit 7945eb21 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Output `n_dates` and `n_max`

parent 95993420
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,9 @@ Nanti = sio.loadmat("Nanti.mat", squeeze_me = True)["Nanti"]
Ncyclo = sio.loadmat("Ncyclo.mat", squeeze_me = True)["Ncyclo"]
date_num = sio.loadmat("date_num.mat", squeeze_me = True)["date_num"]
n_dates = Nanti.size
print("n_dates =", n_dates)
n_max = id_child_anti.shape[0]
print("n_max =", n_max)
with open("edgelist.csv", "w", newline = '') as edgelist:
writer = csv.writer(edgelist, delimiter = ' ', lineterminator = "\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment