daducci / COMMIT

Linear framework to combine tractography and tissue micro-structure estimation with diffusion MRI
Other
45 stars 33 forks source link

Save x preconditioned and x in results.pickle #8

Closed barakovic closed 8 years ago

barakovic commented 8 years ago

Save in the file results.pickle the x of the preconditioned problem and the x of the original problem, instead of the x used to generate the maps IC EC and ISO.

Code to load the x:

import scipy.io as sio import pickle

file = open("results.pickle",'rb') object_file = pickle.load(file)

x_precon = object_file[1] x = object_file[2]