straightness compute a straightness index between 0 and 1 by making the
L / l where
L is the cumulated distance between
brokenstick points and and where
l the cumulated distance between
y data points.
1 2 3
The x data (time).
The y data (depth).
The number of points to use. 2 is the minimum (from the start
to the end of data). Each new point adds a step (using the
straightness returns a number between 0 (maximum sinuosity)
to 1 (maximum straightness).
sinuosity is equivalent to
1 / straightness.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.