inversion_ideas.utils.get_sensitivity_weights#
- inversion_ideas.utils.get_sensitivity_weights(jacobian, *, data_weights=None, volumes=None, vmin=1e-12)#
Compute sensitivity weights.
- Parameters:
- jacobian(
n_data,n_params)arrayorsparsearray Jacobian matrix used to compute sensitivity weights. It must be a dense or sparse array.
- data_weights(
n_data,n_data)arrayorNone, optional Data weights matrix used to compute the sensitivity weights.
- volumes(
n_params)array Array with the volumes of the active cells. Sensitivity weights are divided by the volumes to account for sensitivity changes due to cell sizes.
- vmin
floatorNone, optional Minimum value used for clipping.
- jacobian(