simpeg.regularization.PGIsmallness.set_weights#

PGIsmallness.set_weights(**weights)[source]#

Adds (or updates) the specified weights.

Parameters:
**weightskey, numpy.ndarray

Each keyword argument is added to the weights used the regularization object. They can be accessed with their keyword argument.