simpeg.directives.SaveEveryIteration#
- class simpeg.directives.SaveEveryIteration(directory='.', name='InversionModel', **kwargs)[source]#
Bases:
InversionDirective
This directive saves an array at each iteration. The default directory is the current directory 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
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 inversion parameter(s) according to directive.
validate
([directiveList])Validate directive.
Galleries and Tutorials using simpeg.directives.SaveEveryIteration
#
PF: Gravity: Tiled Inversion Linear
Sparse Norm Inversion for Total Magnetic Intensity Data on a Tensor Mesh
Cross-gradient Joint Inversion of Gravity and Magnetic Anomaly Data
Sparse Norm Inversion of 2D Seismic Tomography Data
Sparse Inversion with Iteratively Re-Weighted Least-Squares
1D Inversion of Time-Domain Data for a Single Sounding
Least-Squares 1D Inversion of Sounding Data
Sparse 1D Inversion of Sounding Data
Parametric 1D Inversion of Sounding Data
2.5D DC Resistivity Least-Squares Inversion
2.5D DC Resistivity Inversion with Sparse Norms
3D Least-Squares Inversion of DC Resistivity Data
2.5D DC Resistivity and IP Least-Squares Inversion
3D Least-Squares Inversion of DC and IP Data
Least-Squares Inversion of Gravity Anomaly Data
Sparse Norm Inversion of Gravity Anomaly Data
1D Inversion of for a Single Sounding