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) array or sparse array

Jacobian matrix used to compute sensitivity weights. It must be a dense or sparse array.

data_weights(n_data, n_data) array or None, 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.

vminfloat or None, optional

Minimum value used for clipping.