SimPEG.regularization.SmoothnessSecondOrder#

class SimPEG.regularization.SmoothnessSecondOrder(mesh, orientation='x', reference_model_in_smooth=False, **kwargs)[source]#

Bases: SimPEG.regularization.base.SmoothnessFirstOrder

This base class regularizes on the second spatial derivative, optionally normalized by the base cell size.

Optional Inputs

Parameters
  • mesh (discretize.base.BaseMesh) – SimPEG mesh

  • nP (int) – number of parameters

  • mapping (IdentityMap) – regularization mapping, takes the model from model space to the space you want to regularize in

  • reference_model (numpy.ndarray) – reference model

  • active_cells (numpy.ndarray) – active cell indices for reducing the size of differential operators in the definition of a regularization mesh

  • weights (numpy.ndarray) – cell weights

  • reference_model_in_smooth (bool) – include the reference model in the smoothness computation? (eg. look at Deriv of m (False) or Deriv of (m-reference_model) (True))

  • weights – vector of cell weights (applied in all terms)

Attributes

W

Weighting matrix

Methods

f_m(m)

Second model derivative

f_m_deriv(m)

Derivative of the second model residual