Skip to content

Commit

Permalink
removed Dmat_ndt as param set in timeIntegration file (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
lenasal committed May 2, 2023
1 parent 555967e commit e37fb9a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion neurolib/models/fhn/timeIntegration.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def timeIntegration(params):
# no self-feedback delay
Dmat[np.eye(len(Dmat)) == 1] = np.zeros(len(Dmat))
Dmat_ndt = np.around(Dmat / dt).astype(int) # delay matrix in multiples of dt
params["Dmat_ndt"] = Dmat_ndt

# Additive or diffusive coupling scheme
coupling = params["coupling"]
Expand Down
1 change: 0 additions & 1 deletion neurolib/models/hopf/timeIntegration.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def timeIntegration(params):
Dmat = dp.computeDelayMatrix(lengthMat, signalV)
Dmat[np.eye(len(Dmat)) == 1] = np.zeros(len(Dmat))
Dmat_ndt = np.around(Dmat / dt).astype(int) # delay matrix in multiples of dt
params["Dmat_ndt"] = Dmat_ndt
# ------------------------------------------------------------------------

# Initialization
Expand Down
1 change: 0 additions & 1 deletion neurolib/models/wc/timeIntegration.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ def timeIntegration(params):
Dmat = dp.computeDelayMatrix(lengthMat, signalV)
Dmat[np.eye(len(Dmat)) == 1] = np.zeros(len(Dmat))
Dmat_ndt = np.around(Dmat / dt).astype(int) # delay matrix in multiples of dt
params["Dmat_ndt"] = Dmat_ndt
# ------------------------------------------------------------------------
# Initialization
# Floating point issue in np.arange() workaraound: use integers in np.arange()
Expand Down
1 change: 0 additions & 1 deletion neurolib/models/ww/timeIntegration.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def timeIntegration(params):
# no self-feedback delay
Dmat[np.eye(len(Dmat)) == 1] = np.zeros(len(Dmat))
Dmat_ndt = np.around(Dmat / dt).astype(int) # delay matrix in multiples of dt
params["Dmat_ndt"] = Dmat_ndt

# # Additive or diffusive coupling scheme
# version = params["version"]
Expand Down

0 comments on commit e37fb9a

Please sign in to comment.