simpeg.directives.SimilarityMeasureSaveOutputEveryIteration#

class simpeg.directives.SimilarityMeasureSaveOutputEveryIteration(directory='.', name='InversionModel', **kwargs)[source]#

Bases: SaveEveryIteration

SaveOutputEveryIteration for Joint Inversions. Saves information on the tradeoff parameters, data misfits, regularizations, coupling term, number of CG iterations, and value of cost function.

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.

simulation

Return simulation for all data misfits.

survey

Return survey for all data misfits

verbose

Whether or not to print debugging information.

betas

fileName

header

phi

phi_d

phi_m

phi_sim

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.

load_results

Galleries and Tutorials using simpeg.directives.SimilarityMeasureSaveOutputEveryIteration#

Cross-gradient Joint Inversion of Gravity and Magnetic Anomaly Data

Cross-gradient Joint Inversion of Gravity and Magnetic Anomaly Data