Major Reorganization (Things are likely still broken...)

Added Parameter to Utils, which hints at where we are going with functions as parameters.
This commit is contained in:
rowanc1
2014-01-17 14:03:08 -08:00
parent ac898846d1
commit 67b067d938
17 changed files with 575 additions and 473 deletions
+2 -2
View File
@@ -193,7 +193,7 @@ if __name__ == '__main__':
p0 = [5, 10]
p1 = [15, 50]
condVals = [sig1, sig2]
mSynth = Utils.ModelBuilder.defineBlockConductivity(p0,p1,M.gridCC,condVals)
mSynth = Utils.ModelBuilder.defineBlockConductivity(M.gridCC,p0,p1,condVals)
plt.colorbar(M.plotImage(mSynth))
# plt.show()
@@ -217,7 +217,7 @@ if __name__ == '__main__':
u = prob.field(mSynth)
u = data.reshapeFields(u)
M.plotImage(u[:,10])
# plt.show()
plt.show()
# Now set up the prob to do some minimization
# prob.dobs = dobs
+1 -1
View File
@@ -1,4 +1,4 @@
from SimPEG import Mesh, Model, Problem, Data, Inverse, np
from SimPEG import Mesh, Model, Problem, Data, Inversion, np
import matplotlib.pyplot as plt