simpeg.regularization.PGIsmallness.__call__#
- PGIsmallness.__call__(m, external_weights=True)[source]#
Evaluate the regularization function for the model provided.
- Parameters:
- m(
n_param
, )numpy.ndarray
The model for which the function is evaluated.
- external_weightsbool
Include custom cell weighting when evaluating the regularization function.
- m(
- Returns:
float
The regularization function evaluated for the model provided.