simpeg.directives.SimilarityMeasureSaveOutputEveryIteration#

class simpeg.directives.SimilarityMeasureSaveOutputEveryIteration(on_disk=True, **kwargs)[source]#

Bases: SaveOutputEveryIteration

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

directory

Directory to save results in.

dmisfit

Data misfit associated with the directive.

file_abs_path

The absolute path to the saved log file.

invProb

Inverse problem associated with the directive.

inversion

Inversion object associated with the directive.

name

Root of the filename to be saved.

on_disk

Whether this object stores information to file_abs_path.

opt

Optimization algorithm associated with the directive.

reg

Regularization associated with the directive.

save_txt

SaveEveryIteration.save_txt has been deprecated.

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.

load_results

plot_misfit_curves

plot_tikhonov_curves

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