property SparseSmoothness.gradient_type: str#

Gradient measure used to update IRLS weights for sparse smoothness.

This property specifies whether the IRLS weights for sparse smoothness regularization are updated using the total gradient (“total”) or using the partial gradient along the smoothing orientation (“components”). To see how the IRLS weights are computed, visit the documentation for update_weights().

str in {“total”, “components”}

Whether to re-weight using the total gradient or partial gradients along smoothing orientations.