simpeg.directives.SaveOutputEveryIteration.validate#
- SaveOutputEveryIteration.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_list
simpeg.directives.DirectiveList
List of directives used in the inversion.
- directive_list
- Returns:
- bool
Returns
True
if validated, otherwise an approriate error is returned.