Commit Graph
31 Commits
Author SHA1 Message Date
rowanc1 9e26543931 fixes to the meta classes including soft linking inside the database. These are reflected in the loaded outputs which return the same object. 2013-12-06 14:19:37 -08:00
rowanc1 5e0fb8642d MeatClasses to make every SimPEG object saveable to an hdf5 file.
cleaned up imports in a lot of places.
Made solver not copy matrices around for GS preconditioning.
2013-12-06 11:23:01 -08:00
rowanc1 e25afacd1b refactor and generalize where things are being saved 2013-12-04 17:55:09 -08:00
rowanc1 ccb4d4052d Change callHooks structure. 2013-12-04 15:31:11 -08:00
rowanc1 a6e2686f09 Added doStartIteration to the code, set beta0 to None, and generate it in the evalFunction when fields are available. 2013-11-26 17:30:43 -08:00
Rowan Cockett 82f5a5660f Documentation on how I am picking the initial beta. 2013-11-22 14:06:22 -08:00
Rowan Cockett aae725ff05 TimeSteppingInversion and Estimate Initial Beta based on eigenvalues comparison. 2013-11-22 13:39:26 -08:00
Rowan Cockett 6216ae977e Added hook method to utils so that we can hook new methods dynamically into the classes. 2013-11-22 10:51:01 -08:00
Rowan Cockett dbaea1fda9 callHooks generalizes some of the hook calling code in Optimize and Inversion 2013-11-21 16:56:01 -08:00
Rowan Cockett 82edbf7a60 Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into richards
Conflicts:
	SimPEG/inverse/Optimize.py
	SimPEG/regularization/Regularization.py
2013-11-21 11:56:12 -08:00
Rowan Cockett 2782a6fcfb Simple profiling through decorator functions. (counting and timing of functions decorated with @count and @timeIt that have a SimPEG.utils.Counter)
e.g. output:
‘’’
Counters:
  InexactGaussNewton.doEndIteration       :        6
  InexactGaussNewton.printIter            :        7
  InexactGaussNewton.scaleSearchDirection :        6

Times:                                        mean      sum
  InexactGaussNewton.findSearchDirection  : 1.55e-02, 9.29e-02,    6x
  InexactGaussNewton.minimize             : 1.10e-01, 1.10e-01,    1x
  InexactGaussNewton.modifySearchDirection: 2.89e-04, 1.73e-03,    6x
  InexactGaussNewton.projection           : 3.69e-06, 1.11e-04,   30x
  InexactGaussNewton.stoppingCriteria     : 1.16e-04, 1.51e-03,   13x
  Inversion.dataObj                       : 6.60e-05, 8.58e-04,   13x
  Inversion.dataObj2Deriv                 : 1.03e-04, 6.20e-03,   60x
  Inversion.dataObjDeriv                  : 5.06e-05, 3.54e-04,    7x
  Inversion.evalFunction                  : 7.75e-04, 1.01e-02,   13x
  Inversion.run                           : 1.10e-01, 1.10e-01,    1x
  Regularization.modelObj                 : 3.56e-04, 4.63e-03,   13x
  Regularization.modelObj2Deriv           : 1.29e-03, 7.76e-02,   60x
  Regularization.modelObjDeriv            : 5.01e-04, 3.51e-03,    7x
‘’’
2013-11-20 21:59:53 -08:00
Rowan Cockett 1c895f397d Set Mref in inversion. 2013-11-20 19:37:09 -08:00
Rowan Cockett 0afe42aa34 Bug fix in timeStep (must return something, not an error.) Minor updates to Optimize and Inversion. 2013-11-19 17:49:18 -08:00
Rowan Cockett 278eec94ec Ensure that (1/dt) gives a float not an int. Use (1.0/dt). Added fullJ calculation. Tested Sensitivity. 2013-11-15 13:59:41 -08:00
Rowan Cockett 19f79b3275 updates to Inversion. Bug Fixes. 2013-11-07 17:42:24 -08:00
Rowan Cockett bc71b184aa Brought inversion into line with optimize changes. 2013-11-07 16:27:12 -08:00
Rowan Cockett 54d2f302b5 Refactored and moved duplicate code to utils. 2013-11-07 15:28:03 -08:00
Rowan Cockett 1ef70ba15c Moved projectedGradient to the optimize file. Added video to IPNB. 2013-11-07 14:56:54 -08:00
Rowan Cockett ded738b077 Changes to evalFunction. and more extensible calls in startup and endIteration 2013-11-07 12:27:07 -08:00
Rowan Cockett 318ca555c8 Stopping Criteria and Printers generalized in Optimize. 2013-11-07 01:20:03 -08:00
Rowan Cockett 6f141ecaf2 Updates to DCProblem and testing. 2013-11-04 15:11:10 -08:00
Rowan Cockett 56bacc4a27 Issue #15 Approximate Hessians. By default these are not implemented, and are the same as J and Jt 2013-11-04 09:53:38 -08:00
Rowan Cockett 581f1b15f1 renamed misfit to dataResidual in Problem class. fixed betaSchedule bug. Printing in the inversion. 2013-11-01 15:02:37 -07:00
Rowan Cockett dbd24b71c1 Added kwargs to the inversion. can use these to initiate your inversion object. 2013-10-26 14:16:50 -07:00
Rowan Cockett 3bbe258eab beta schedualing 2013-10-25 11:14:21 -07:00
Rowan Cockett fc4294eb4d Added A sample Linear problem that runs! 2013-10-24 15:11:48 -07:00
Rowan Cockett f4c63d47a3 took for loop out of inversion framework. This has to be dealt with in the specific code, and is more flexible. 2013-10-24 14:12:37 -07:00
Rowan Cockett d94d3f7f37 fixes to inversion framework. DC problem is kinda working…?! 2013-10-23 18:35:37 -07:00
Rowan Cockett 548ba9aa0a bug fixes to framework. 2013-10-23 18:19:33 -07:00
Rowan Cockett 2bb20280bf to get working.. 2013-10-22 20:11:30 -07:00
Rowan Cockett 2a8f43aa10 Inversion Framework - a start.. 2013-10-22 19:42:38 -07:00