SimPEG.directives.PGI_AddMrefInSmooth.validate#
- PGI_AddMrefInSmooth.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.