simpeg.directives.SaveEveryIteration#
- class simpeg.directives.SaveEveryIteration(directory='.', name='InversionModel', on_disk=True, **kwargs)[source]#
Bases:
InversionDirectiveThis directive saves information at each iteration.
- Parameters:
- directory
pathlib.Pathorstr,optional The directory to store output information to, defaults to current directory.
- name
str,optional Root of the filename to be saved, commonly this will get iteration specific details appended to it.
- on_diskbool,
optional Whether this directive will save a log file to disk.
- directory
Attributes
Directory to save results in.
Data misfit associated with the directive.
The absolute path to the saved output file.
Inverse problem associated with the directive.
Inversion object associated with the directive.
Root of the filename to be saved.
Whether this object stores information to file_abs_path.
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
Galleries and Tutorials using simpeg.directives.SaveEveryIteration#
Sparse Inversion with Iteratively Re-Weighted Least-Squares
2.5D DC Resistivity and IP Least-Squares Inversion
1D Inversion of Time-Domain Data for a Single Sounding
Sparse Norm Inversion of 2D Seismic Tomography Data
Cross-gradient Joint Inversion of Gravity and Magnetic Anomaly Data