diff options
| author | Keith Packard <keithp@keithp.com> | 2017-10-02 19:33:37 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2017-10-02 19:33:37 -0700 |
| commit | 98dc29a7a964f8d653b73989c6751695d168844c (patch) | |
| tree | 415e274078746fe853aad554aae1a2e5d1a57ca5 /altosuilib/AltosUITimeSeries.java | |
| parent | d75e8b9046295051c91696461e8d5f59c8260ccc (diff) | |
altoslib: Add user-selectable filter width for data smoothing
Also switch smoothing window to Kaiser and change default accel filter
width to 1 second instead of 4 seconds.
Now users can play with the filter and see what it does.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosUITimeSeries.java')
| -rw-r--r-- | altosuilib/AltosUITimeSeries.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/altosuilib/AltosUITimeSeries.java b/altosuilib/AltosUITimeSeries.java index 08f95ca7..71166064 100644 --- a/altosuilib/AltosUITimeSeries.java +++ b/altosuilib/AltosUITimeSeries.java @@ -89,7 +89,7 @@ public class AltosUITimeSeries extends AltosTimeSeries implements AltosUIGrapher public void fireSeriesChanged() { } - void set_data() { + public void set_data() { if (marker) { if (markers != null) { for (ValueMarker marker : markers) @@ -124,6 +124,7 @@ public class AltosUITimeSeries extends AltosTimeSeries implements AltosUIGrapher } xy_series.setNotify(true); } + clear_changed(); } public void set_units() { |
