Merge pull request #203 from yaxn/minor

01-g-h-filter.ipynb: minor fix
This commit is contained in:
Roger Labbe 2018-01-24 07:24:53 -08:00 committed by GitHub
commit a8b7efd5ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3680,7 +3680,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Now write code that uses `gen_data` and `g_h_filter` to filter 100 data points that starts at 5, has a derivative of 2, a noise scaling factor of 10, and uses g=0.2 and h=0.02. Set you initial guess for x to be 100."
"Now write code that uses `gen_data` and `g_h_filter` to filter 100 data points that starts at 5, has a derivative of 2, a noise scaling factor of 10, and uses g=0.2 and h=0.01. Set you initial guess for x to be 100."
]
},
{
@ -3780,7 +3780,7 @@
],
"source": [
"zs = gen_data(x0=5., dx=2., count=100, noise_factor=100)\n",
"data = g_h_filter(data=zs, x0=5., dx=2., g=0.2, h=0.02)\n",
"data = g_h_filter(data=zs, x0=5., dx=2., g=0.2, h=0.01)\n",
"plot_g_h_results(measurements=zs, filtered_data=data)"
]
},