io.github.mianalysis.mia.process.analysis.SpatialCalculator Maven / Gradle / Ivy
package io.github.mianalysis.mia.process.analysis;
import java.util.TreeMap;
import io.github.mianalysis.mia.object.coordinates.tracks.Track;
/**
* Created by sc13967 on 20/01/2018.
*/
public interface SpatialCalculator {
public default TreeMap calculate(Track track) {
return calculate(track.getX(),track.getY(),track.getZ(),track.getF());
}
public TreeMap calculate(double[] x, double[] y, double[] z, int[] f);
}