InvProblem

class SimPEG.inverse_problem.BaseInvProblem(dmisfit, reg, opt)[source]

Bases: SimPEG.props.BaseSimPEG

Optional Properties:

  • model (Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*) or (*, *)

beta = 1.0

Trade-off parameter

debug = False

Print debugging information

counter = None

Set this to a SimPEG.utils.Counter() if you want to count things

deleteTheseOnModelUpdate = []

List of strings, e.g. [‘_MeSigma’, ‘_MeSigmaI’]

property model

model (Model): Inversion model., a numpy array of <class ‘float’>, <class ‘int’> with shape (*) or (*, *)

dmisfit = None

DataMisfit

reg = None

Regularization

opt = None

Optimization program

startup(m0)[source]

Called when inversion is first starting.

If you have things that also need to run in the method startup, you can create a method:

def _startup*(self, ... ):
    pass

Where the * can be any string. If present, _startup* will be called at the start of the default startup call. You may also completely overwrite this function.

property warmstart
getFields(m, store=False, deleteWarmstart=True)[source]
get_dpred(m, f)[source]
evalFunction(m, return_g=True, return_H=True)[source]

Inversion

class SimPEG.inversion.BaseInversion(invProb, directiveList=None, **kwargs)[source]

Bases: object

Inversion Class

name = 'BaseInversion'
debug = False

Print debugging information

counter = None

Set this to a SimPEG.utils.Counter() if you want to count things

property directiveList
run(m0)[source]

Runs the inversion!

Directives