inversion_ideas.create_tikhonov_regularization#
- inversion_ideas.create_tikhonov_regularization(mesh, *, active_cells=None, cell_weights=None, reference_model=None, alpha_s=None, alpha_x=None, alpha_y=None, alpha_z=None, reference_model_in_flatness=False)#
Create a linear combination of Tikhonov (L2) regularization terms.
Define a
inversion_ideas.base.Combowith L2 smallness and flatness regularization terms.- Parameters:
- mesh
discretize.base.BaseMesh Mesh to use in the regularization.
- active_cells(
n_cells)arrayorNone, optional Array full of bools that indicate the active cells in the mesh. It must have the same amount of elements as cells in the mesh.
- cell_weights(
n_params)arrayordictof(n_params)arraysorNone, optional Array with cell weights. For multiple cell weights, pass a dictionary where keys are strings and values are the different weights arrays. If None, no cell weights are going to be used.
- reference_model(
n_params)arrayorNone, optional Array with values for the reference model.
- alpha_s
floatorNone, optional Multiplier for the smallness term.
- alpha_x, alpha_y, alpha_z
floatorNone, optional Multipliers for the flatness terms.
- mesh
- Returns:
inversion_ideas.base.ComboCombo of L2 regularization terms.
Notes
TODO