org.epics.pvmanager.extra
Interface Interpolation
public interface Interpolation
Defines a way to interpolate some scattered points to an equally distanced
grid.
- Author:
- carcassi
Method Summary |
double[] |
interpolate(double[] x,
double[] y,
int nSamples)
Returns a set of interpolated y, equally spaced. |
interpolate
double[] interpolate(double[] x,
double[] y,
int nSamples)
- Returns a set of interpolated y, equally spaced.
- Parameters:
x
- an array of position value, assumed to be monotonically increasingy
- an array of values, assumed to be the same length of xnSamples
- the number of samples to be returned
- Returns:
- a new array with nSamples interpolated values