diff options
| author | Keith Packard <keithp@keithp.com> | 2017-05-25 17:24:14 -0700 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2017-05-25 17:24:14 -0700 | 
| commit | f26cfe417c6977cf1e7e75a4f050e25f64d41859 (patch) | |
| tree | 2f19ca9c93c3246b3eeadafee250f9dd3ee222d6 /altoslib/AltosTimeValue.java | |
| parent | 7600116a191b3ac252a0f716d200d0e0b3500987 (diff) | |
altoslib: Do data analysis on raw values rather than AltosState
Use AltosFlightSeries instead of a sequence of AltosState records when
processing saved data. This provides a better way of doing filtering
and plotting.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altoslib/AltosTimeValue.java')
| -rw-r--r-- | altoslib/AltosTimeValue.java | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/altoslib/AltosTimeValue.java b/altoslib/AltosTimeValue.java index 50212361..489050f2 100644 --- a/altoslib/AltosTimeValue.java +++ b/altoslib/AltosTimeValue.java @@ -18,10 +18,11 @@  package org.altusmetrum.altoslib_11;  public class AltosTimeValue { -	public double	x, y; +	public double	time; +	public double	value; -	public AltosTimeValue(double x, double y) { -		this.x = x; -		this.y = y; +	public AltosTimeValue(double time, double value) { +		this.time = time; +		this.value = value;  	}  } | 
