AkimaSplineSmootherDy
public class AkimaSplineSmoother
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
protected double |
d2dfac |
|
protected double |
d2fac |
|
protected double |
d3dfac |
|
protected double |
d3fac |
|
protected double[][] |
dy12 |
|
protected double[] |
ey |
|
protected double[] |
lx |
|
protected double[] |
ly |
|
protected double[] |
m |
|
protected int[][] |
nAccepted |
|
protected int[][] |
nAttempt |
|
protected int |
nTrial |
|
protected double[] |
oy |
|
protected double[][] |
pac |
|
protected IRandom |
random |
|
protected double[][] |
ss |
|
protected double |
sumSqD2 |
|
protected double |
sumSqD2D |
|
protected double |
sumSqD3 |
|
protected double |
sumSqD3D |
|
protected double |
sumSqDy |
|
protected double[] |
t |
|
protected double |
totSqErr |
|
protected double[] |
trialP |
|
protected double[] |
x |
|
protected double[] |
y |
|
protected double[] |
y0 |
Constructor | Description |
---|---|
AkimaSplineSmoother(IRandom random) |
Modifier and Type | Method | Description |
---|---|---|
protected double |
calcErr(int idataMin,
int idataMax) |
|
boolean |
doInterpolateHole() |
|
boolean |
doInterpolateHole2() |
|
boolean |
doRandStep() |
|
void |
doStep() |
|
double |
getD2dfac() |
|
double |
getD2fac() |
|
double |
getD3dfac() |
sets weight given to minimizing discontinuities in the 3nd derivative
(at data points)
|
double |
getD3fac() |
|
double[][] |
getDy12(int nSubPoints) |
|
void |
setD2dfac(double d2dfac) |
sets weight given to minimizing discontinuities in the 2nd derivative
(at data points)
|
void |
setD2fac(double d2fac) |
sets weight given to minimizing the 2nd derivative
|
void |
setD3dfac(double d3dfac) |
|
void |
setD3fac(double d3fac) |
sets weight given to minimizing the 3nd derivative
|
void |
setInputData(double[] originalX,
double[] originalY,
double[] ey) |
|
void |
setSmoothedY(double[] smoothedY) |
protected double[] x
protected double[] y0
protected double[] ey
protected double[] m
protected double[] t
protected double[] y
protected double[] lx
protected double[] ly
protected double[][] ss
protected double[][] pac
protected double[][] dy12
protected double totSqErr
protected double sumSqDy
protected double sumSqD2
protected double sumSqD2D
protected double sumSqD3
protected double sumSqD3D
protected double d2fac
protected double d2dfac
protected double d3fac
protected double d3dfac
protected double[] trialP
protected IRandom random
protected int nTrial
protected int[][] nAttempt
protected int[][] nAccepted
protected double[] oy
public AkimaSplineSmoother(IRandom random)
public boolean doRandStep()
public boolean doInterpolateHole()
public boolean doInterpolateHole2()
public void doStep()
protected double calcErr(int idataMin, int idataMax)
public void setSmoothedY(double[] smoothedY)
public double[][] getDy12(int nSubPoints)
public void setInputData(double[] originalX, double[] originalY, double[] ey)
public double getD2fac()
public void setD2fac(double d2fac)
public double getD2dfac()
public void setD2dfac(double d2dfac)
public double getD3fac()
public void setD3fac(double d3fac)
public double getD3dfac()
public void setD3dfac(double d3dfac)