simpeg.directives.MovingAndMultiTargetStopping.validate#

MovingAndMultiTargetStopping.validate(directiveList=None)[source]#

Validate directive.

The validate method returns True if the directive and its location within the directives list does not encounter conflicts. Otherwise, an appropriate error message is returned describing the conflict.

Parameters:
directive_listsimpeg.directives.DirectiveList

List of directives used in the inversion.

Returns:
bool

Returns True if validated, otherwise an approriate error is returned.