From 8fcaf57e0c1637decfb13cd259a28f4b7fa02aba Mon Sep 17 00:00:00 2001 From: rowanc1 Date: Mon, 3 Feb 2014 11:21:38 -0800 Subject: [PATCH] Removing unused methods from the inversion class. --- SimPEG/Inversion.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/SimPEG/Inversion.py b/SimPEG/Inversion.py index 5b2dfa4d..813d201b 100644 --- a/SimPEG/Inversion.py +++ b/SimPEG/Inversion.py @@ -1,6 +1,6 @@ import SimPEG from SimPEG import Utils, sp, np -from Optimization import Remember, IterationPrinters, StoppingCriteria +from Optimization import Remember, IterationPrinters class BaseInversion(object): @@ -13,7 +13,6 @@ class BaseInversion(object): debug = False #: Print debugging information - comment = '' #: Used by some functions to indicate what is going on in the algorithm counter = None #: Set this to a SimPEG.Utils.Counter() if you want to count things def __init__(self, objFunc, opt, **kwargs): @@ -39,6 +38,7 @@ class BaseInversion(object): opt.bfgsH0 = SimPEG.Solver(objFunc.reg.modelObj2Deriv()) + #TODO: Move this to the data class? @property def phi_d_target(self): """ @@ -69,11 +69,6 @@ class BaseInversion(object): return self.m - def stoppingCriteria(self): - if self.debug: print 'checking stoppingCriteria' - return Utils.checkStoppers(self, self.stoppers) - - @Utils.callHooks('finish') def finish(self): """finish()