SimPEG.regularization.SparseSmallness.get_lp_weights# SparseSmallness.get_lp_weights(f_m)[source]# Utility function to get the IRLS weights. By default, the weights are scaled by the gradient of the IRLS on the max of the l2-norm.