simpeg.directives.UpdateSensitivityWeights.validate#

UpdateSensitivityWeights.validate(directiveList)[source]#

Validate directive against directives list.

The UpdateSensitivityWeights directive impacts the regularization by applying cell weights. As a result, its place in the DirectivesList must be before any directives which update the preconditioner for the inverse problem (i.e. UpdatePreconditioner), and must be before any directives that estimate the starting trade-off parameter (i.e. EstimateBeta_ByEig and EstimateBetaMaxDerivative).

Returns:
bool

Returns True if validation passes. Otherwise, an error is thrown.