simpeg.inverse_problem.BaseInvProblem.startup#

BaseInvProblem.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.