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[DataArray],list[DataArray],list[DataArray]]) β list[xarray.DataArray]] lists of misfit, topography, and correction gridsgrav_results (
DataFrame) β gravity dataframe resulting from the inversionupdated_results (
DataFrame) β updated topography or density values resulting from the inversionparameters (
dict[str,Any]) β inversion parameters resulting from the inversioniterations (
list[int]) β list of all the iteration numbers which occurred in the inversionstyle (
str) β inversion style, either βgeometryβ or βdensityβtopo_cmap_perc (
float) β value to multiply the max and min colorscale values by, by default 1misfit_cmap_perc (
float) β value to multiply the max and min colorscale values by, by default 1corrections_cmap_perc (
float) β value to multiply the max and min colorscale values by, by default 1constraints_df (
DataFrame|None) β constraint points to include in the plotsconstraint_size (
float) β size for constraint points, by default 1
- Return type: