Made suggested improvements to the Operations tutorial
"cell_type": "markdown",
"metadata": {},
"source": [
- "Since operations take a HoloViews object as input and return another HoloViews object we can very easily chain multiple operations. Here we will compute the gradient of the ``Image`` and then compute a histogram of the gradient. In this way we can transform our data using incremental, an atomic operations very easily.\n",
+ "Since operations take a HoloViews object as input and return another HoloViews object we can very easily chain and combine multiple operations to perform complex analyses quickly and easily, while instantly visualizing the output.\n",
"\n",
"In this example we'll work with a timeseries, so we'll define a small function to generate a random, noisy timeseries:"
]
"cell_type": "markdown",
"metadata": {},
"source": [
- "This view is already useful since we can compare the various parameter values. However since we can also chain operations we can also easily compute the residual and view the two together. To do so we simply overlay the ``HoloMap`` of smoothed curves on top of the original curve and again pass it to our new ``residual`` function. Then we again combine the the smoothed view overlaying the different window sizes with the residual."
+ "This view is already useful since we can compare the various parameter values. However since we can also chain operations we can also easily compute the residual and view the two together. To do so we simply overlay the ``HoloMap`` of smoothed curves on top of the original curve and again pass it to our new ``residual`` function. Then we again combine the the smoothed view with the original and see how the smoothing and residual vary with the operation parameters:"
]
},
{
"outputs": [],
"source": [
"%%opts Curve [width=600] Overlay [legend_position='top_left']\n",
- "(curve(style=dict(color='black')) * rolled.overlay('Window') + residual(curve * rolled)).cols(1)"
+ "(curve(style=dict(color='black')) * rolled + residual(curve * rolled)).cols(1)"
]
},
{
