14 mat = scipy.io.loadmat(filename)
19 file = open(outfile,
'w')
20 for i
in range(0,len(var)):
21 for j
in range(0,len(var)):
22 file.write(str(var[i][j] * fudge_factor) +
'\n')
27 file = open(outfile,
'w')
28 for i
in range(0,len(var)):
29 for j
in range(0,len(var)):
30 for k
in range(0,len(var)):
31 file.write(str(var[k][j] * fudge_factor) +
'\n')
35 file = open(outfile,
'w')
36 for i
in range(0,res*res*res):
37 file.write(str(0) +
'\n')