SimPEG.directives.SaveOutputDictEveryIteration#

class SimPEG.directives.SaveOutputDictEveryIteration(saveOnDisk=False, **kwargs)[source]#

Bases: SaveEveryIteration

Saves inversion parameters at every iteration.

Attributes

debug

verbose.debug has been deprecated.

directory

Directory to save results in.

dmisfit

Data misfit associated with the directive.

invProb

Inverse problem associated with the directive.

inversion

Inversion object associated with the directive.

name

Root of the filename to be saved.

opt

Optimization algorithm associated with the directive.

reg

Regularization associated with the directive.

saveOnDisk

Whether to save the output dict to disk.

simulation

Return simulation for all data misfits.

survey

Return survey for all data misfits

verbose

Whether or not to print debugging information.

fileName

Methods

endIter()

Update inversion parameter(s) according to directive at end of iteration.

finish()

Update inversion parameter(s) according to directive at end of inversion.

initialize()

Initialize inversion parameter(s) according to directive.

validate([directiveList])

Validate directive.