Go to the source code of this file.
Function Documentation
Add noise to maps and stuff them into dTilde in the output model. Setup the output files with the parameter steps. Record parameter values in model and inversion data structure.
- Parameters:
-
[in,out] | inversionData | Pointer to InversionData structure, which contains all input data, temporary data, parameters and result data. |
Complete forward calculation by writing d~ matrix.
- Parameters:
-
[in] | inversionData | Pointer to data: K 4D-matrix containing Kernel data in wavespace. b 4D-matrix containing model data, b, in wavespace. d~ 4D-matrix containing estimate of travel-time map, in wavespace. baseDir BaseDirectory structure which manages the output filenames. debug Boolean flag: true if writing intermediate matrix values during inversion. |
Free memory after forward calculation is complete.
- Parameters:
-
Fill InversionData structure with data from input file. Read kernels, model, and noise level parameter
- Parameters:
-
[in] | inputParms | InputParms structure filled with filenames, directories and parameters extracted from input file. |
[in] | commandLineOutputDir | character string with new output directory specified on command line. |
[in] | debug | Boolean flag for writing intermediate matrix values. |
- Returns:
- InversionData structure filled with input data.