From a74dbeeff70660fe26c9b21f638abed18a266fb2 Mon Sep 17 00:00:00 2001 From: mdtanker Date: Wed, 1 May 2024 15:36:47 +0200 Subject: [PATCH] docs: update notebooks --- docs/gallery/bishop_basement_model.ipynb | 7 +++++++ docs/user_guide/combining_it_all.ipynb | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/gallery/bishop_basement_model.ipynb b/docs/gallery/bishop_basement_model.ipynb index f91178ff..bdad3a4f 100644 --- a/docs/gallery/bishop_basement_model.ipynb +++ b/docs/gallery/bishop_basement_model.ipynb @@ -1,5 +1,12 @@ { "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Bishop Basement Model" + ] + }, { "cell_type": "markdown", "metadata": {}, diff --git a/docs/user_guide/combining_it_all.ipynb b/docs/user_guide/combining_it_all.ipynb index e5be832d..079f016b 100644 --- a/docs/user_guide/combining_it_all.ipynb +++ b/docs/user_guide/combining_it_all.ipynb @@ -261,7 +261,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "### Forward gravity of prism layer" + "### Forward gravity of true prism layer" ] }, { @@ -947,8 +947,8 @@ "# set regional misfit to 0\n", "grav_df[\"reg\"] = 0\n", "\n", - "# set the residual misfit to the full misfit\n", - "grav_df[\"res\"] = grav_df.misfit\n", + "# remove the regional from the misfit to get the residual\n", + "grav_df[\"res\"] = grav_df.misfit - grav_df.reg\n", "\n", "grav_df" ]