Wrote better docstring for inversion explaining how to use the solvers and regularizers
Finished changing inverse solvers to factory functions. Adapted epicenter to new model.
Iterative recipe for epicenter. Fix bug in gradient solvers: updating the parameter vect using p+= changes the value of p, so all iterations spit out the same reference. in the end, a list of p per estimate would have all the same values
Fixed doctest for epicenter
Finished Levemberg-Marquardt solver. Put it in epicenter recipe for show.
Adapted srtomo to use new solver factories
Added minimum distance regularizer to epicenter + cookbook recipe.
Unfinished steepest descent (stopeed at line search part
Finished Steepest Descent with recipe for epicenter
Goal function mapping in seismic.epicenter + fix to verbose. Better doc for steepest with theory on line search + fix bug: starting with m=1 made it slow, can start with m=0 for better convergence
Messed around with lev-marq parameter determination but didnt get better results. needs more review
Made Armijo rule and using the Hessian diagonal optional in steepest and levmar, respectively. Need better example of regularization in epicenter_regularized. Damping and MinDist are not very good.
Finished linear over det solver. Docstring example using this solver in srtomo and cookbook recipe
Using itertools and reduce to build the Hessian in gradient methods is as fast as looping over datamodules
Removed legacy pgrav3d.py module
Groundwork for using sparse matrices. use_sparse functions in linear and gradient. DampingSparse in regularizers. SrTomo with sparse option and cookbook recipe
Verbose for linear.overdet. SrTomo returns slowness instead of velocity
Changed sparse srtomo example back to logo
Cleaning legacy code from seismic
Implemented get_misfit in DataModule and removed it from epicenter and srtomo data modules