I would like to understand if it is possible to use a matrix with different velocities instead of just a scalar value for the white matter speed. I am passing it as below, is it correct?
white_matter = connectivity.Connectivity.from_file(path_to_input_data+'sub-01_Connectome.zip') # zip file with connectome weights and tract lengths
white_matter.speed = numpy.loadtxt(path_to_input_data+'sub-01_conduction_velocities.txt', dtype=float) #this uses the map of conduction velocity
white_matter.speed[white_matter.speed==0]=0.0000000001 # for elements with speed =0 replaces with 10^-10 to avoid possible issues
white_matter.configure()