captainkirkby / Gears

Set of packages used to measure a mechanical clock.
1 stars 1 forks source link

Smoothing Adjustment #48

Open captainkirkby opened 9 years ago

captainkirkby commented 9 years ago

Now that averaging is implemented, the number of data points on the screen is variable and the smoothing checkbox should either give the user a slider to determine how much to smooth the data by, "smartly" decide on an optimal smoothing value, or both.

captainkirkby commented 8 years ago

"When looking at graphs over longer periods we’ve used the smoothing option which certainly makes trends clearer, but we were wondering exactly what the algorithm used was. At either end of the graphs you tend to get “funny” bits, presumably where the average is incorporating non-existent data. It would probably be better to truncate the display so that we can absolutely trust what we can see."

I think what's making them jumpy is when the data appears to change on the edges in real time.

screenshot screenshot

What is happening here is this: on the edges the amount of smoothing tapers to zero as less and less surrounding data points are available. As the amount of smoothing changes, the smoothed value changes.

They have suggested that we truncate the smoothed data so this doesn't happen. I think the main thing is that as the smoothed data marches along, it doesn't change and freak users out.

captainkirkby commented 8 years ago

Truncated Display implemented. Now any data point that doesn't have enough neighbors to do an average is not included in the "smoothed" graph.

screenshot