- class SimPEG.regularization.SmoothnessFirstOrder(mesh, orientation='x', reference_model_in_smooth=False, **kwargs)#
Smooth Regularization. This base class regularizes on the first spatial derivative, optionally normalized by the base cell size.
mesh (discretize.base.BaseMesh) – SimPEG mesh
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)
Weighting matrix that takes the volumes, free weights, fixed weights and length scales of the difference operator (normalized optional).
Cell gradient operator
Use the reference model in the model gradient penalties.
Derivative of the model gradient