invert4geom.plot_inversion_iteration_results#
- plot_inversion_iteration_results(grids, grav_results, updated_results, parameters, iterations, style, topo_cmap_perc=1, misfit_cmap_perc=1, corrections_cmap_perc=1, constraints_df=None, constraint_size=1)[source]#
plot the starting misfit, updated topography, and correction grids for a specified number of the iterations of an inversion
- Parameters:
grids (tuple[list[xarray.DataArray], list[xarray.DataArray],) β list[xarray.DataArray]] lists of misfit, topography, and correction grids
grav_results (pandas.DataFrame) β gravity dataframe resulting from the inversion
updated_results (pandas.DataFrame) β updated topography or density values resulting from the inversion
parameters (dict[str, Any]) β inversion parameters resulting from the inversion
iterations (list[int]) β list of all the iteration numbers which occurred in the inversion
style (str) β inversion style, either βgeometryβ or βdensityβ
topo_cmap_perc (float, optional) β value to multiply the max and min colorscale values by, by default 1
misfit_cmap_perc (float, optional) β value to multiply the max and min colorscale values by, by default 1
corrections_cmap_perc (float, optional) β value to multiply the max and min colorscale values by, by default 1
constraints_df (pandas.DataFrame, optional) β constraint points to include in the plots
constraint_size (float, optional) β size for constraint points, by default 1
- Return type: