simpeg.directives.SaveOutputDictEveryIteration#
- class simpeg.directives.SaveOutputDictEveryIteration(on_disk=False, **kwargs)[source]#
- Bases: - SaveEveryIteration- Saves inversion parameters to a dictionary at every iteration. - At the end of every iteration, information about the current iteration is saved to the outDict property of this object. - Parameters:
- on_diskbool, optional
- Whether to also save the parameters to an npz file at the end of each iteration. 
- directorypathlib.Pathorstr,optional
- Directory to save inversion parameters to if on_disk, defaults to current directory. 
- namestr,optional
- Root name of the output file. The inversion start time and the iteration are appended to this. 
 
- on_diskbool, 
 - 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. - SaveEveryIteration.saveOnDisk has been deprecated. - Return simulation for all data misfits. - Return survey for all data misfits - Whether or not to print debugging information. - fileName - Methods 
