simpeg.regularization.BaseSimilarityMeasure#
- class simpeg.regularization.BaseSimilarityMeasure(mesh, wire_map, **kwargs)[source]#
Bases:
BaseRegularization
Base regularization class for joint inversion.
The
BaseSimilarityMeasure
class defines properties and methods used by regularization classes for joint inversion. It is not directly used to constrain inversions.- Parameters:
- mesh
simpeg.regularization.RegularizationMesh
Mesh on which the regularization is discretized. This is not necessarily the same as the mesh on which the simulation is defined.
- wire_map
simpeg.maps.WireMap
Wire map connecting physical properties defined on active cells of the
RegularizationMesh
to the entire model.
- mesh
Attributes
Weighting matrix.
Active cells defined on the regularization mesh.
Deprecated property for 'volume' and user defined weights.
active_cells.indActive has been deprecated.
Mapping from the inversion model parameters to the regularization mesh.
The model parameters.
reference_model.mref has been deprecated.
Number of model parameters.
The parent objective function
Reference model.
regularization_mesh.regmesh has been deprecated.
Regularization mesh.
Units for the model parameters.
Return the keys for the existing cell weights
Mapping from model to physical properties defined on the regularization mesh.
Methods
__call__
(model)Not implemented for
BaseSimilarityMeasure
class.deriv
(model)Not implemented for
BaseSimilarityMeasure
class.deriv2
(model[, v])Not implemented for
BaseSimilarityMeasure
class.f_m
(m)Not implemented for
BaseRegularization
class.f_m_deriv
(m)Not implemented for
BaseRegularization
class.get_weights
(key)Cell weights for a given key.
map_class
alias of
IdentityMap
remove_weights
(key)Removes the weights for the key provided.
set_weights
(**weights)Adds (or updates) the specified weights to the regularization.
test
([x, num, random_seed])Run a convergence test on both the first and second derivatives.
Galleries and Tutorials using simpeg.regularization.BaseSimilarityMeasure
#
Cross-gradient Joint Inversion of Gravity and Magnetic Anomaly Data