Dave Marchant
f5e3a4171d
Raise an exception if name is not provided when hooking a lambda function.
2013-11-22 16:11:43 -08:00
Rowan Cockett
aae725ff05
TimeSteppingInversion and Estimate Initial Beta based on eigenvalues comparison.
2013-11-22 13:39:26 -08:00
Rowan Cockett
c41b9f12e9
Documentation updates to optimize. Updated the hook method.
2013-11-22 11:58:31 -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
rowanc1
f87899465d
Merged in boundaryConditions (pull request #25 )
...
Cell Gradient and Boundary Conditions
2013-11-21 10:42:43 -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
b6ec17a4d3
Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into boundaryConditions
...
Conflicts:
SimPEG/__init__.py
2013-11-18 12:33:09 -08:00
Dave Marchant
72e844c87d
Added a sub-module to utils to put analytics and source functions.
2013-11-14 11:53:14 -08:00
Rowan Cockett
358411792d
Cleaned up averaging. Put it in an AveExtrap function.
2013-11-13 19:37:14 -08:00
Rowan Cockett
5248ac81ce
Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into seismicExample
...
Conflicts:
docs/api_TestResults.rst
2013-11-12 13:43:06 -08:00
Rowan Cockett
1f13a74bb9
Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into BoundConstraint
...
Conflicts:
.gitignore
SimPEG/utils/__init__.py
2013-11-12 11:24:40 -08:00
Rowan Cockett
d3f38047e4
Multiple RHSs on solvers in Fortran. ~2x speed up on matlab implementation for a single RHS. for multiple RHS there are still some problems.
...
Someone with some knowledge of how fortran works should look at this code.
Added a setup.py script that complies things. f2py should work on most computers, because it is included in the numpy distribution.
2013-11-12 10:36:20 -08:00
Rowan Cockett
19f79b3275
updates to Inversion. Bug Fixes.
2013-11-07 17:42:24 -08:00
Rowan Cockett
0dc3b02c45
Combined stopping criteria and printers into a class, for easy reuse.
2013-11-07 16:02:22 -08:00
Rowan Cockett
54d2f302b5
Refactored and moved duplicate code to utils.
2013-11-07 15:28:03 -08:00
Rowan Cockett
1427fe5cec
Able to add movies to the python notebook. using utils.animate(fig,animate,init)
2013-11-07 12:27:59 -08:00
Rowan Cockett
5f75ac9d69
Issue #29 moved ave and ddx to utils.
2013-11-06 10:58:48 -08:00
Rowan Cockett
d063c2ccb8
Merge branch 'master' of https://bitbucket.org/rcockett/simpeg into Interpolation_TensorMesh
2013-11-04 16:26:18 -08:00
Dave Marchant
06cd641db3
Initial implementation of interpolation matrix generation for TensorMesh (3D ONLY)
2013-11-04 14:07:16 -08:00
Rowan Cockett
f44a857669
Moved solver to utilities. But it is still available as SimPEG.Solver (as defined in the main __init__.py file)
2013-11-01 15:00:17 -07:00
Rowan Cockett
65f129e7a8
Documented utilities.
2013-10-03 15:31:08 -07:00
Rowan Cockett
b66c63759d
Moved modelBuilder into utils added some documentation
2013-08-30 22:17:05 -07:00
Lars Ruthotto
3e21ba86a7
fixed typo in util's __init__.py
2013-08-12 17:04:15 -07:00
Rowan Cockett
b0760f577f
Put utils in their own folder. Increases organization, and everything will be available under SimPEG.utils
...
NOTE: if you add a new function (or file), you must register it in __init__.py for it to be available under:
e.g.
...
from utils import mkvc, …
...
from MYNEWFILE import MYNEWFUNCTION
2013-08-09 17:30:57 -07:00