invert4geom.plot_inversion_grav_results#
- plot_inversion_grav_results(grav_results, region, constraints_df=None, fig_height=12, constraint_style='x.3c', epsg=None, coast=False)[source]#
plot the initial and final misfit grids from the inversion and their difference
- Parameters:
grav_results (pandas.DataFrame) ā resulting dataframe of gravity data from the inversion
region (tuple[float, float, float, float]) ā region to use for gridding in format (xmin, xmax, ymin, ymax)
iterations (list[int]) ā list of all the iteration numbers
constraints_df (pandas.DataFrame, optional) ā constraint points to include in the plots
fig_height (float, optional) ā height of the figure, by default 12
constraint_style (str, optional) ā pygmt style string for for constraint points, by default āx.3cā
epsg (str | None, optional) ā EPSG code of the data if wanting to plot coastlines, by default None
coast (bool, optional) ā add coastline to plots, by default False
- Return type: