- class SimPEG.objective_function.BaseObjectiveFunction(nP=None, **kwargs)#
Base Objective Function
Inherit this to build your own objective function. If building a regularization, have a look at
SimPEG.regularization.BaseRegularizationas there are additional methods and properties tailored to regularization of a model. Similarly, for building a data misfit, see
A SimPEG.Maps instance
Number of model parameters expected.
Call self as a function.
First derivative of the objective function with respect to the model
Second derivative of the objective function with respect to the model
Base class of expected maps
test([x, num, plotIt])
Run a convergence test on both the first and second derivatives - they should be second order!