Closed barakovic closed 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]
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]