Skip to content

Commit

Permalink
updates of scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Alerovere committed Dec 27, 2019
1 parent e0af238 commit 4aedf01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"source": [
"# Orthogonal Distance Regression for RSL data\n",
"\n",
"This scripts calculates the residual vertical land movement starting from Common Era RSL data, once post-industrial RSL rise and GIA are taken into account. The results are then plotted on a stacked gaussian plot to show how these corrections affect the final results.\n",
"\n"
"This scripts calculates the residual vertical land movement starting from Common Era RSL data, once post-industrial RSL rise and GIA are taken into account. The results are then plotted together with an orthogonal distance regression that represents the crustal movement since the RSL index points were formed."
]
},
{
Expand All @@ -29,25 +28,6 @@
"RSL=pd.read_excel('Common_era.xlsx', header=0)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Before present is AD 1950. \n",
"For the GIA correction this has been taken into account adding (ToS-1950)=68 years to the calendar age.\n",
"\n",
"\n",
"Error calculation\n",
"We have measured a displacement of x = 5.1+-0.4 m during a time of t = 0.4+-0.1 s. What is the average velocity and the error in the average velocity?\n",
"\n",
"v = x / t = 5.1 m / 0.4 s = 12.75 m/s\n",
"and the uncertainty in the velocity is:\n",
"\n",
"dv = |v| · [ (dx/x)2 + (dt/t)2 ]1/2 = 12.75 m/s · [(0.4/5.1)2 + (0.1/0.4)2]1/2 = 3.34 m/s\n",
"\n",
"Checked in Excel!!!!\n"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"source": [
"# Orthogonal Distance Regression for RSL data\n",
"\n",
"This scripts calculates the residual vertical land movement starting from Common Era RSL data, once post-industrial RSL rise and GIA are taken into account. The results are then plotted together with an orthogonal distance regression tha\n",
"\n"
"This scripts calculates the residual vertical land movement starting from Common Era RSL data, once post-industrial RSL rise and GIA are taken into account. The results are then plotted together with an orthogonal distance regression that represents the crustal movement since the RSL index points were formed."
]
},
{
Expand All @@ -29,25 +28,6 @@
"RSL=pd.read_excel('Common_era.xlsx', header=0)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Before present is AD 1950. \n",
"For the GIA correction this has been taken into account adding (ToS-1950)=68 years to the calendar age.\n",
"\n",
"\n",
"Error calculation\n",
"We have measured a displacement of x = 5.1+-0.4 m during a time of t = 0.4+-0.1 s. What is the average velocity and the error in the average velocity?\n",
"\n",
"v = x / t = 5.1 m / 0.4 s = 12.75 m/s\n",
"and the uncertainty in the velocity is:\n",
"\n",
"dv = |v| · [ (dx/x)2 + (dt/t)2 ]1/2 = 12.75 m/s · [(0.4/5.1)2 + (0.1/0.4)2]1/2 = 3.34 m/s\n",
"\n",
"Checked in Excel!!!!\n"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand Down

0 comments on commit 4aedf01

Please sign in to comment.