simpeg.regularization.Sparse.gradient_type#
- property Sparse.gradient_type#
Gradient measure used to update IRLS weights for sparse smoothness.
This property specifies whether the IRLS weights for sparse smoothness regularization(s) terms are updated using the total gradient (“total”) or using the partial gradients along their smoothing orientations (“components”). To see how the IRLS weights are computed, visit the documentation for
update_weights()
.- Returns:
str
in
{“total”, “components”}Whether to re-weight using the total gradient or partial gradients along smoothing orientations.