simpeg.directives.SaveOutputEveryIteration#
- class simpeg.directives.SaveOutputEveryIteration(on_disk=True, **kwargs)[source]#
- Bases: - SaveEveryIteration- Keeps track of the objective function values. - Parameters:
- on_diskbool, optional
- Whether this directive additionally stores the log to a text file. 
- directorypathlib.Path,optional
- The directory to store output information to if on_disk, defaults to current directory. 
- namestr,optional
- The root name of the file to save to, will append the inversion start time to this value. 
 
- on_diskbool, 
 - Attributes - Directory to save results in. - Data misfit associated with the directive. - The absolute path to the saved log 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. - SaveEveryIteration.save_txt has been deprecated. - 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. - load_results - plot_misfit_curves - plot_tikhonov_curves 
Galleries and Tutorials using simpeg.directives.SaveOutputEveryIteration#
 
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
 
     
 
