public class LinearTimeCorrectionKernel extends Object implements TimeCorrectionKernel
Constructor and Description |
---|
LinearTimeCorrectionKernel() |
Modifier and Type | Method and Description |
---|---|
void |
fit(double[] realTime,
double[] value)
This function should calculate f(t), interpolating between data points.
|
double |
interpolate(double t)
This calculates a linear interpolation of $[t,v]_i$ for all $i$.
|
public void fit(double[] realTime, double[] value)
TimeCorrectionKernel
fit
in interface TimeCorrectionKernel
realTime
- in nspublic double interpolate(double t)
interpolate
in interface TimeCorrectionKernel
t
- in nsCopyright © 2019. All rights reserved.