Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Commit 912209c

Browse files
author
Antonio Ulloa
committed
updated Resting State and Task based parameters to better match empirical data
1 parent 4163c8b commit 912209c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

analysis/compare_TVB_998_vs_Emp_FC.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@
244244

245245

246246
# now, convert back to from Z to R correlation coefficients
247-
empirical_fc_lowres = np.tanh(empirical_fc_lowres_Z)
248-
tvb_rs_fc_lowres = np.tanh(tvb_rs_fc_lowres_Z)
247+
empirical_fc_lowres = empirical_fc_lowres_Z
248+
tvb_rs_fc_lowres = tvb_rs_fc_lowres_Z
249249

250250
# save the simulated FCs to a file
251251
np.save(tvb_fc_file, tvb_rs_fc_lowres)

simulation/sim.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,11 +390,11 @@ def run(self):
390390
timesteps_to_time_constant = 5.0
391391

392392
# define white matter transmission speed in mm/ms for TVB simulation
393-
TVB_speed = 4.0
393+
TVB_speed = 1.0 # was 4.0 in original tvb sims
394394

395395
# define global coupling strength as in Sanz-Leon et al (2015), figure 17,
396396
# 3rd column, 3rd row
397-
TVB_global_coupling_strength = 0.0042
397+
TVB_global_coupling_strength = 0.0542 # was 0.0042 in original tvb sims
398398

399399
# declare a variable that describes number of nodes in TVB connectome
400400
TVB_number_of_nodes = 998

simulation/sim_without_LSNM.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# This program makes use of The Virtual Brain library toolbox, downloaded
4343
# from the TVB GitHub page.
4444
#
45-
# Author: Antonio Ulloa. Last updated by Antonio Ulloa on December 6 2016
45+
# Author: Antonio Ulloa. Last updated by Antonio Ulloa on March 16 2017
4646
# **************************************************************************/
4747
#
4848
# sim_without_LSNM.py
@@ -138,7 +138,7 @@ def dfun(self, state_variables, coupling, local_coupling=0.0):
138138
# define global coupling strength as in Sanz-Leon (2015) Neuroimage paper
139139
# figure 17 3rd column 3rd row
140140
#global_coupling_strength = 0.0042
141-
global_coupling_strength = 0.0042
141+
global_coupling_strength = 0.0542
142142

143143
# Define connectivity to be used (998 ROI matrix from TVB demo set)
144144
white_matter = connectivity.Connectivity.from_file("connectivity_998.zip")

0 commit comments

Comments
 (0)