maltcms.commands.fragments2d.preprocessing.default2dVarLoader
Class ModulationTimeEstimatorTask
java.lang.Object
maltcms.commands.fragments2d.preprocessing.default2dVarLoader.ModulationTimeEstimatorTask
- All Implemented Interfaces:
- Serializable, Callable<Double>
public class ModulationTimeEstimatorTask
- extends Object
- implements Callable<Double>, Serializable
- Author:
- Nils.Hoffmann@cebitec.uni-bielefeld.de
- See Also:
- Serialized Form
Method Summary |
double |
calcEstimatedAutoCorrelation(Array a,
double mean,
double variance,
int lag)
|
Double |
call()
|
cross.datastructures.tuple.Tuple2D<ArrayDouble.D1,ArrayInt.D1> |
findMaxima(Array a,
ArrayList<Integer> maximaIndices)
Find maxima in array a, returning an array containing all maxima, with
the same shape as a, and an array maximaDiff, which contains all
differences between maxima, of size (#of maxima - 1). |
boolean |
isCandidate(double prev,
double current,
double next)
|
ModulationTimeEstimatorTask
public ModulationTimeEstimatorTask()
call
public Double call()
- Specified by:
call
in interface Callable<Double>
findMaxima
public cross.datastructures.tuple.Tuple2D<ArrayDouble.D1,ArrayInt.D1> findMaxima(Array a,
ArrayList<Integer> maximaIndices)
- Find maxima in array a, returning an array containing all maxima, with
the same shape as a, and an array maximaDiff, which contains all
differences between maxima, of size (#of maxima - 1).
- Parameters:
a
- maximaIndices
-
- Returns:
isCandidate
public boolean isCandidate(double prev,
double current,
double next)
calcEstimatedAutoCorrelation
public double calcEstimatedAutoCorrelation(Array a,
double mean,
double variance,
int lag)
Copyright © 2007-2012. All Rights Reserved.