simpeg.directives.SaveModelEveryIteration#
- class simpeg.directives.SaveModelEveryIteration(directory='.', name='InversionModel', **kwargs)[source]#
Bases:
SaveEveryIteration
This directive saves the model as a numpy array at each iteration. The default directory is the current directoy and the models are saved as
InversionModel-YYYY-MM-DD-HH-MM-iter.npy
Attributes
verbose.debug has been deprecated.
Directory to save results in.
Data misfit associated with the directive.
Inverse problem associated with the directive.
Inversion object associated with the directive.
Root of the filename to be saved.
Optimization algorithm associated with the directive.
Regularization associated with the directive.
Return simulation for all data misfits.
Return survey for all data misfits
Whether or not to print debugging information.
fileName
Methods