edu.harvard.seas.iis.abilities.analysis
Class MovementAverage
java.lang.Object
edu.harvard.seas.iis.abilities.analysis.MovementAverage
public class MovementAverage
- extends Object
A set of tools that allow you to visualize properties of an "average"
movement
- Author:
- kgajos
MovementAverage
public MovementAverage()
computeAverages
public void computeAverages(Collection<Movement> movements,
int samplesPerMovement)
computeAveragesAndBounds
public void computeAveragesAndBounds(Collection<Movement> movements,
int samplesPerMovement)
classifyAndComputeAverages
public String classifyAndComputeAverages(Collection<Movement> movements,
MovementFilter filter,
int samplesPerMovement)
throws Exception
- Throws:
Exception
getAveragedSpeed
public double[] getAveragedSpeed()
getAveragedAcceleration
public double[] getAveragedAcceleration()
getAveragedJerk
public double[] getAveragedJerk()
test
public void test()
throws Exception
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object
getReport
public String getReport(String prefix)
getReportWithBounds
public String getReportWithBounds(String prefix)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception